Commit Graph

11 Commits

Author SHA1 Message Date
Mascaro Lucas 20ea8e55af Fix buffer overflow errors
+remove dynamic memory allocation
+memset the rest of the data structure after read
2018-12-13 14:23:23 +01:00
Adrien Marquès d1ecf570db update protocol (add Node object) | update node.ino accordingly | fix packet (construct/destruct) + *.ino 2018-12-11 14:45:23 +01:00
Adrien Marquès 8b669af363 update protocol default MESSAGE_TTL | fix node.send_message() to send before printing | fix node.manage_message() to use same packet to re-send the received message packet 2018-12-11 13:33:51 +01:00
Adrien Marquès fb33a450e0 fix lcd | change to simplest protocol | fix packet 2018-12-11 12:42:34 +01:00
Adrien Marquès 9a7d7bb37c make node routine#0 to be non-blocking before each MESSAGE_TIMEOUT | add node routine#1 to print and propagate/ignore discover requests and messages data 2018-12-04 11:47:19 +01:00
Adrien Marquès 373ecc6b32 add protocol.message 'sender' field (at the end .......) | fix 'lcd' + use it to debug | create main algorithm for 'node' | fix XBeeWrapper.receive() 2018-12-03 15:29:56 +01:00
Adrien Marquès d73ccb187d update protocol add 'discover.sender' 2018-12-03 11:24:32 +01:00
Adrien Marquès 53ac51febd share libs with symlinks | fix + finish xbee_wrapper and packet | update mains 2018-12-03 10:54:53 +01:00
Adrien Marquès a6a2b53ca8 update protocol to add sizes 2018-12-02 21:43:59 +01:00
Adrien Marquès 2a7311e10f rename 'data' structure into 'message' 2018-12-01 18:36:02 +01:00
Adrien Marquès f917275cbc make the 'protocol.h' definition shared with symlinks 2018-12-01 18:32:36 +01:00