project de marde si tu touch le no-homo s'applique pas
Fork of XBeeLib by
Revision 10:6621b0299d89, committed 2018-04-10
- Comitter:
- Spip2401
- Date:
- Tue Apr 10 17:46:50 2018 +0000
- Parent:
- 9:780db84ce891
- Commit message:
- project de marde pas touche
Changed in this revision
DigiLogger.lib | Show diff for this revision Revisions of this file |
XBee/XBee.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 780db84ce891 -r 6621b0299d89 DigiLogger.lib --- a/DigiLogger.lib Fri Jul 29 13:10:07 2016 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://developer.mbed.org/teams/Digi-International-Inc/code/DigiLogger/#
diff -r 780db84ce891 -r 6621b0299d89 XBee/XBee.cpp --- a/XBee/XBee.cpp Fri Jul 29 13:10:07 2016 +0200 +++ b/XBee/XBee.cpp Tue Apr 10 17:46:50 2018 +0000 @@ -36,6 +36,9 @@ #define MAX_FRAME_PAYLOAD_LEN_SYNCR (1 /* type */ + 1 /* id */ + 2 /* at cmd*/ + 1 /* status */ + 2 /* MY sender */ + \ 8 /* 64b sender */ + 20 /* max id */ + 1 /* null ter */ + 2 /* MY parent */ + 1 /* dev type */ + \ 1 /* source event */ + 2 /* prof. id */ + 2 /* man. id */) +#define FRAME_BUFFER_SIZE 4 +#define MAX_FRAME_PAYLOAD_LEN 128 +#define SYNC_OPS_TIMEOUT_MS 2000 FrameBuffer XBee::_framebuf_app(FRAME_BUFFER_SIZE, MAX_FRAME_PAYLOAD_LEN); FrameBuffer XBee::_framebuf_syncr(FRAME_BUFFER_SIZE_SYNCR, MAX_FRAME_PAYLOAD_LEN_SYNCR);