Hello, i would like to know if this is possible to send less than 20bytes per packets, by changing the parameters like BLE_GATT_ATT_MTU_DEFAULT or the max data len. My goal would be this thank you so much in advance. Have a great day.
lm said:What do you think?
The timeout you are referring to here is the supervision timeout? If so, yes, it could be that there is an issue (like a "crash") on the nRF. I suggest you debug to see what happens there. It could be that an APP_ERROR_CHECK has been hit, for instance.
In order to solve the issue you first need to figure out what is happening. And for that, there is no way around debugging. I suspect an error handler is hit, and you may find some good information in An introduction to error handling in nRF5 projects.
I debugged the program, my problem is that i think the time out has to be lower but when i put it lower i don't have what i want the error timeout persists. I didn't have the problem with larger packets but my goal is to have packet of 1 only not to lost any info what do you think? thank you