Commit Graph

14 Commits

Author SHA1 Message Date
Mascaro Lucas b415f1d75e Implement sendToNearest 2018-12-13 15:39:03 +01:00
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 38cb706aff fix --' 2018-12-11 14:48:45 +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 90529c814f update 'lcd' to *inherit* LiquidCrystal_I2C, not to wrap it | tested and working 2018-12-09 15:21:15 +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 cbe48ceebc add 'lcd' library (LCDWrapper) that implements formatting + autoscroll | use rich formatting in entrypoints (.ino) | make well routine#0 to be non-blocking before each WAVE_TIMEOUT | add well routine#1 to receive and print messages 2018-12-04 09:43:11 +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 4410b3fd38 update main according to lib updates 2018-12-02 21:45:06 +01:00
Adrien Marquès e3a3562177 add 'node' code base | fix well 2018-12-01 18:38:00 +01:00