I want to read more than 20 bytes of data from bluetooth to raspberry pi 3b+.
I override DefaultDelegate
and handleNotification(cHandle, data)
, and get data from handleNotification(cHandle, data)
.
Then I convert type of data from byte to hex, and I can only get 20 bytes of data.
Here is my code:
dev = btle.Peripheral(address, 'random')
dev.setMTU(244)
My BLE peripheral device is "Nordic NRF52832". How can I get more than 20 bytes of data?