For getting RSSI value from xbee

Dependents:   XBeeGetRSSISampleProgram Xbee_s2_RX_versao2

XBeeGetRssi.h

Committer:
ATKINZ117
Date:
2013-08-25
Revision:
7:588a7745cc0e
Parent:
6:2e725705db90
Child:
9:eb8838ce9d65

File content as of revision 7:588a7745cc0e:

#ifndef XBEEGETRSSI20130718
#define XBEEGETRSSI20130718

#include "mbed.h"

class XBeeGetRssi{
    public:
        XBeeGetRssi(PinName tx,PinName rx); //select the oneshot mode or repeat mode.
        char getRssi(int n); //method for getting rssi.
        
    private:
        PinName _tx;
        PinName _rx;
        char _rssi[256]; //arrangement for containing the rssi value.
};

#endif