PiSupply / RAK811-Arduino

Arduino Library for Pi Supply LoRa Node Shield
MIT License
7 stars 7 forks source link

Add a finishing zero to the compositionBuffer #13

Closed pedbry closed 1 year ago

pedbry commented 1 year ago

The compositionBuffer needs a last zero to indicate the end of the string to send.

Right now the string that is sent ends with a random number of extra characters. This makes it impossible for Cayenne to decode the payload and might perhaps crash the device.