trilu2000 / NewAskSin

working version of new AskSin framework, which should be more structured then the old one
28 stars 15 forks source link

Add new method AS::send_generic_event() #3

Closed gandy92 closed 9 years ago

gandy92 commented 9 years ago

Hi, I need to be able to send a generic event (i.e. an event type specific to my sensor which is not and will never be covered in class AS). For this I added a new method send_generic_event() to class AS.

Please check if I got the lenPL right, in sendSensor_event(), lenPL is set to 3 even though the AsksinNew_test example passes a pointer to a uint8_t[2] buffer as payload.