

In any case it needs to know which device to connect, the simple and most reliable way to specify this is by device address/id: $ ble_serial -h usage: _main_.py [-a Restrict transfer direction on bluetooth: read only (ro), read+write (rw), write only (wo) (default: rw) Some other chips split it up, for example (this time on macOS with device ID): This module handles both directions through the same characteristic. Same procedure with the read characteristic, here you have to actually look for notify or indicate, that is how the receiving side is informed about new data in BLE. We are searching for a characteristic that allows writing = sending to the device, the only candidate in here is 0000ffe1-0000-1000-8000-00805f9b34fb (spoiler: a HM-11 module again).

The ones belows the first service starting with 00002 are not relevant in this case, because they are standard values (for example the device name), if you want to know more look at this list.Īfter the UUID, handle and type the permissions are listed in.

Now the interesting parts are the characteristics, grouped into services.
