Hi, I recently started using the nano 33 as a central device. I can connect to a custom board that uses the RN4870 BLE module, and I can subscribe to its transparent UART characteristics.
Since it is a UART service, it is challenging to define a value size to read. Does the function readValue() expect to receive the amount of data to fill the buffer passed? or can I define a 'big enough' buffer size that won't overflow?
I haven't fully tested the capabilities of the nano 33, but when testing my custom device under Linux using the gattool I found that indications are more reliable to avoid any data losses.
In the documentation for the subscribe() function, it doesn't specify if it's subscribing to the notification or indication. Are there any plans to add this functionality? or to add a notification callback functionality?
Thanks!