cancel
Showing results for 
Search instead for 
Did you mean: 

Studio Bluetooth

AyT_4488271
New Contributor

When I run sdptool search SP, the device(android smartphone) displayed available SP service and channel as 8. This device has bluetooth terminal app.

sdptool search SP

Inquiring ...

Searching for SP on mac_adddr ...

Service Name: Serial Port

Service Description: COM Port

....

Service RecHandle: 0x10000

Service Class ID List:

  "Serial Port" (0x1101)

Protocol Descriptor List:

  "L2CAP" (0x0100)

  "RFCOMM" (0x0003)

    Channel: 8

...

  "Serial Port" (0x1101)

    Version: 0x0100

But I was not able to get SP service of another android device(doesnot have bluetooth terminal app) by running same (sdptool search SP).

sdptool search SP

Inquiring ...

Searching for SP on mac_adddr ...

and it terminates.

When I tried sdptool browse mac_adddr ,the output resulted with no SP support.

When I run same commands to get service of ios device, I was able to fetch Serial Port (SP) and it's channel of iOS device.

Whether android device doesnot expose it's serial port and channel number? How can I get the channel number without bluetooth terminal application?Whether bluetooth terminal app creates SP channel for android device and it doesnot have it's own?

Thanking in advance.

0 Likes
1 Solution
SheetalJ
Moderator
Moderator

Hi @AyT_4488271 ,

Would you please let me know which Cypress chip and code example are you using? Also, the device programming platform is WICED Studio of ModusToolbox? Please provide details.

 

View solution in original post

0 Likes
1 Reply
SheetalJ
Moderator
Moderator

Hi @AyT_4488271 ,

Would you please let me know which Cypress chip and code example are you using? Also, the device programming platform is WICED Studio of ModusToolbox? Please provide details.

 

View solution in original post

0 Likes