[XBee] Added low-level access macro
This commit is contained in:
parent
aac11097b2
commit
01f1122823
1 changed files with 8 additions and 3 deletions
|
@ -81,7 +81,7 @@ class XBeeSerial: public ISerial {
|
||||||
*/
|
*/
|
||||||
int16_t setPanId(const char* panId);
|
int16_t setPanId(const char* panId);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
bool enterCmdMode();
|
bool enterCmdMode();
|
||||||
|
@ -172,10 +172,15 @@ class XBee {
|
||||||
*/
|
*/
|
||||||
int16_t setPanId(uint8_t* panId);
|
int16_t setPanId(uint8_t* panId);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
|
||||||
private:
|
protected:
|
||||||
#endif
|
#endif
|
||||||
Module* _mod;
|
Module* _mod;
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
|
protected:
|
||||||
|
#endif
|
||||||
|
|
||||||
uint8_t _frameID = 0x01;
|
uint8_t _frameID = 0x01;
|
||||||
size_t _frameLength = 0;
|
size_t _frameLength = 0;
|
||||||
bool _frameHeaderProcessed = false;
|
bool _frameHeaderProcessed = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue