How to find the UUID of serial port Bluetooth device?

后端 未结 7 1946
梦谈多话
梦谈多话 2020-12-05 10:33

I want to receive data from the serial port bluetooth device to android phone. But i don\'t know the UUID of that device how to find the UUID of that device?

7条回答
  •  天命终不由人
    2020-12-05 11:13

    If the device is using serial port profile, then yes, it is simply:

    0x1101
    

    For other pre-defined options, see the list of pre-defined UUIDs as listed in javax.bluetooth:

    UUID.

提交回复
热议问题