I am currently implementing a Noble script on raspberry pi 3B where the incoming data is received by a subscription to a characteristic.
The incoming data is an array of size 20 with each index of the array one byte. When I try to increase the sent array size the for example, 21, the data received is still of size 20. When I reduce the sent array size to 19 or less the received data packet also reduces to that number.
I have attached an example of my code that works but the data received is capped at an array size of 20.
Is it possible to receive data packets greater than 20 bytes and how would you go about doing so?
Hi,
I am currently implementing a Noble script on raspberry pi 3B where the incoming data is received by a subscription to a characteristic.
The incoming data is an array of size 20 with each index of the array one byte. When I try to increase the sent array size the for example, 21, the data received is still of size 20. When I reduce the sent array size to 19 or less the received data packet also reduces to that number.
I have attached an example of my code that works but the data received is capped at an array size of 20.
Is it possible to receive data packets greater than 20 bytes and how would you go about doing so?
Thank you!![nodejstextstream](https://user-images.githubusercontent.com/40677560/42220317-1a1fed7a-7ebe-11e8-8a92-5836a1f1fe89.png)