Library to easily communicate with XBee modules.
Fork of XBeeLib by
Diff: FrameHandlers/FH_RxPacketZB.h
- Revision:
- 4:629712865107
- Parent:
- 3:8662ebe83570
diff -r 8662ebe83570 -r 629712865107 FrameHandlers/FH_RxPacketZB.h --- a/FrameHandlers/FH_RxPacketZB.h Mon May 18 13:16:55 2015 +0200 +++ b/FrameHandlers/FH_RxPacketZB.h Mon Jun 01 18:59:43 2015 +0200 @@ -31,14 +31,14 @@ typedef void (*receive_zb_cb_t)(const RemoteXBeeZB& remote, bool broadcast, const uint8_t *const data, uint16_t len); /** * @} - */ + */ class FH_RxPacketZB : public FrameHandler { private: /** Callback function, invoked if registered */ receive_zb_cb_t receive_cb; - + public: /** Class constructor */ FH_RxPacketZB(); @@ -47,14 +47,12 @@ virtual ~FH_RxPacketZB(); /** Method called by the stack to process the modem status frame data - + \param frame pointer pointing to api frame that must be processed */ virtual void process_frame_data(const ApiFrame* const frame); - /** */ void register_receive_cb(receive_zb_cb_t function); - /** */ void unregister_receive_cb(); };