ElectronicCats / CayenneLPP

Library for Arduino compatible with Cayenne Low Power Payload
http://electroniccats.com/
MIT License
106 stars 48 forks source link

Add isEmpty() #37

Closed kallisti5 closed 1 year ago

kallisti5 commented 2 years ago

It would be really useful to introduce an isEmpty function to lpp. As an example, you may want to check a global lpp for an "empty" or "non-empty" state before sending a packet.

sabas1080 commented 1 year ago

Hi @kallisti5

getSize can return if empty