Closed DanielMbalyo closed 1 year ago
You're receiving the data in a notification and as far as I know a single notification will never exceed the the MTU and data received by notification will not be assembled automatically. (as opposed to doing a long read yourself)
Two things you can try:
requestMtu
after connecting)If all data you are receiving from the device through notifications is small (i.e. less than the maximum MTU both sides support) then increasing the MTU would be the best option.
I redused the length of the commands, seems it was a device limitation and it worked well with other devices
Describe the bug I am sending a command to the ble device and it returns responses in chunks and they are not complete. My log printouts are as follows:
To Reproduce Steps to reproduce the behavior:
Expected behavior I want to receive the complete command, if possible, or how can i improve receiving it. Below is an example of the command.
**DE_NA/UPTE_AI/64B96F27B94C4568F97C7884/FEF59/16904573/NOT_ACTIVATED/434322##
Smartphone / tablet
Peripheral device