rfsingh81,
The question needs some clarification.. would you please?
did you try to connect to a physical Bluetooth device, if yes what happened, and if not then I think it would be difficult to discuss theoretical problems, you may need to try the example first and then report any problem you find.
best regards.