0 Replies Latest reply on Nov 18, 2019 2:45 AM by AyT_4488271

    sdptool command doesnot search Serial Port profile in some android device


      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.