Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Repo_Noeud_Mobile by
Communication/Xbee.h@36:e587950c288c, 2015-04-06 (annotated)
- Committer:
- pete1801
- Date:
- Mon Apr 06 19:15:45 2015 +0000
- Revision:
- 36:e587950c288c
- Parent:
- 24:1a16e7eabb0c
- Child:
- 38:0196baea1d35
Clarification d'une MailBox dans le Xbee.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pete1801 | 9:b8503f5ad3bd | 1 | #include "mbed.h" |
pete1801 | 9:b8503f5ad3bd | 2 | #include "rtos.h" |
llarose | 20:96280625532c | 3 | #include "Structure.h" |
pete1801 | 9:b8503f5ad3bd | 4 | |
pete1801 | 9:b8503f5ad3bd | 5 | class Xbee |
pete1801 | 9:b8503f5ad3bd | 6 | { |
pete1801 | 9:b8503f5ad3bd | 7 | public : |
pete1801 | 9:b8503f5ad3bd | 8 | Xbee(); |
pete1801 | 9:b8503f5ad3bd | 9 | Xbee(short panId, PinName pinTx, PinName pinRx); |
pete1801 | 9:b8503f5ad3bd | 10 | ~Xbee(); |
pete1801 | 36:e587950c288c | 11 | Mail<message_vers_mobile,32> MailboxReception; |
Thierry19 | 19:19adf49351b0 | 12 | void EnvoyerDonnees(char data[], int messageSize); |
pete1801 | 9:b8503f5ad3bd | 13 | void Envoyer(char array[], int size); |
pete1801 | 9:b8503f5ad3bd | 14 | void Recevoir(); |
Thierry19 | 23:5bb76b7c35da | 15 | void EnvoyerStructure(Mobile_Vers_Fixe mvf); |
pete1801 | 9:b8503f5ad3bd | 16 | private: |
pete1801 | 9:b8503f5ad3bd | 17 | Serial* XbeePin; |
pete1801 | 9:b8503f5ad3bd | 18 | short PanId; |
pete1801 | 9:b8503f5ad3bd | 19 | void SetPanId(short panId); |
pete1801 | 9:b8503f5ad3bd | 20 | }; |