Hi,
i am building a hardware to communicate with an android phone.
for my first prototype i used an AT-command Bluetooth-Module, and the module managed the connection.
it uses the default UUID for SPP-Profile, and everything works fine with my Android-App.
now i am changing the hardware to MSP430+PAN1326+Bluetopia.
works fine so far with my app too.
i open a connection with the right port to communicate to the App...
now the Question/Problem:
a) i would like to use a specific UUID for my application, to prevent misusage.
b) the other thing is, i did not specify any specific port in the app. i just tried a few ports for the connection, and found out, that port 5 and 6 work. no i am affraid, that it might not work on other phones, if the app gets another port from the OS!?
as i saw on my first prototype with the at-command-module, it seems not to be necessary to specify a port. it seems to work when they just use the same UUID!?
thanks for your help!