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@23:5bb76b7c35da, 2015-03-26 (annotated)
- Committer:
- Thierry19
- Date:
- Thu Mar 26 15:40:56 2015 +0000
- Revision:
- 23:5bb76b7c35da
- Parent:
- 22:cccb77300fd5
- Child:
- 24:1a16e7eabb0c
Prepare envoie Xbee Communication;
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 | 9:b8503f5ad3bd | 11 | Mail<message,32> Mailbox; |
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 | }; |