Projet_S5 / Mbed 2 deprecated Repo_Noeud_Mobile_refactor

Dependencies:   mbed-rtos mbed

Fork of Repo_Noeud_Mobile by Projet_S5

Communication/Xbee.h

Committer:
llarose
Date:
2015-03-22
Revision:
21:98232c148ed6
Parent:
19:19adf49351b0
Parent:
20:96280625532c
Child:
22:cccb77300fd5

File content as of revision 21:98232c148ed6:

#include "mbed.h"
#include "rtos.h"
#include "Structure.h"

class Xbee
{
    public :
        Xbee();
        Xbee(short panId, PinName pinTx, PinName pinRx);
        ~Xbee();
        Mail<message,32> Mailbox;
<<<<<<< local
    
        void EnvoyerDonnees(char data[], int messageSize);
=======
>>>>>>> other
        void Envoyer(char array[], int size);
        void Recevoir();
    private:
        Serial* XbeePin;
        short PanId;
        void SetPanId(short panId);
};