For getting RSSI value from xbee
Dependents: XBeeGetRSSISampleProgram Xbee_s2_RX_versao2
XBeeGetRssi.h
- Committer:
- ATKINZ117
- Date:
- 2013-09-03
- Revision:
- 12:7ec2a4147b44
- Parent:
- 9:eb8838ce9d65
File content as of revision 12:7ec2a4147b44:
#ifndef XBEEGETRSSI20130718 #define XBEEGETRSSI20130718 #include "mbed.h" class XBeeGetRssi{ public: XBeeGetRssi(PinName tx,PinName rx); //select the oneshot mode or repeat mode. int getRssi(/*int n*/); //method for getting rssi. private: PinName _tx; PinName _rx; char _rssi[256]; //arrangement for containing the rssi value. char* _rssi_address; //value before caluculate. char* _getRssi(); char* _returned_rssi; //return value after calculate //char _return_rssi_value[10]; //int _rssi_value; }; #endif