Skip to content Skip to sidebar Skip to footer

Reading Data From A Bluetooth Device Low Energy Rfcomm Python3

Faced a problem. There is a bluetooth device with low power consumption. BLE. The goal is to send a command to the device and get the data back. For example: command - 0x** 0x** 0x

Solution 1:

RFCOMM is a protocol of Bluetooth Classic, BLE does not support it. It is impossible to use RFCOMM for communicating with a BLE device.

You should read an introduction to BLE, it will give you a basic understanding of BLE. Anything further will be guessing, it depends on how the BLE device is configured.

If you are using your own device that you can configure, one possibility is to create a characteristic that supports Write and Indicate. You can indicate (to be notified when the characteristic value changes and what is the new value) and write the command. The response will be received via an indication.

Post a Comment for "Reading Data From A Bluetooth Device Low Energy Rfcomm Python3"