Commit Graph

27 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 4af98262a1 fix random display at boot 2018-12-11 14:51:33 +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 3186928912 minfix 2018-12-11 13:34:28 +01:00
Adrien Marquès 555fcd17f2 fix well message printing 2018-12-11 13:34:17 +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 a4eef60636 extend lcd buffer size from 32 to 64 2018-12-11 13:08:17 +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 a2688fa19d git ignore test folders 2018-12-04 17:14:32 +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 7c65091230 fix readme 2018-12-02 21:57:31 +01:00
Adrien Marquès 4410b3fd38 update main according to lib updates 2018-12-02 21:45:06 +01:00
Adrien Marquès 120a1e56bf add xbee_wrapper that uses the 'packet' interface 2018-12-02 21:44:53 +01:00
Adrien Marquès 33f343caf6 create 'packet' interface and 'read' from raw uint8_t[] 2018-12-02 21:44:30 +01:00
Adrien Marquès a6a2b53ca8 update protocol to add sizes 2018-12-02 21:43:59 +01:00
Adrien Marquès 7d4a3b6e57 add libraries 2018-12-02 21:42:34 +01:00
Adrien Marquès e3a3562177 add 'node' code base | fix well 2018-12-01 18:38:00 +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
Adrien Marquès 8d18ba1ec4 init readme | init well codebase 2018-12-01 18:26:27 +01:00