Hi,
I am trying to port an existing mobile application to android 2.0 platform.
In this application, we need to connect to remote device specify two
parameters: 1.) radio address of the remote devices, and 2.) a
port/channel number. (for microsoft c++ sdk, only radio address)
I found
You can't specify a port number using the Public API. Doing so is a
really bad idea, because it encourages developers to hardcode one of
the limited (30) set of RFCOMM port numbers.
Try reading the API documentation to see how a UUID is used to look up
a port number by SDP record.
If you are not
2 matches
Mail list logo