Library to easily communicate with XBee modules.
Fork of XBeeLib by
Diff: RemoteXBee/RemoteXBee.h
- Revision:
- 6:06522f3a6642
- Parent:
- 4:629712865107
--- a/RemoteXBee/RemoteXBee.h Thu Mar 31 11:39:30 2016 +0200 +++ b/RemoteXBee/RemoteXBee.h Thu Jul 28 10:17:20 2016 +0200 @@ -154,6 +154,29 @@ } }; +/** Class for DigiMesh Remote XBee modules */ +class RemoteXBeeDM : public RemoteXBee +{ + public: + + /** Default Class constructor for a DigiMesh remote device (connected wirelessly). No address set. + */ + RemoteXBeeDM(); + + /** Class constructor for a DigiMesh remote device (connected wirelessly) using 64bit addressing + * @param remote64 the 64-bit address (ATSH and ATSL parameters) of the remote XBee module + */ + RemoteXBeeDM(uint64_t remote64); + + /** Class destructor */ + ~RemoteXBeeDM(); + + inline bool is_valid(void) + { + return is_valid_addr64b(); + } +}; + } /* namespace XBeeLib */ #endif /* defined(__XBEE_REMOTE_H_) */