Library to easily communicate with XBee modules.
Fork of XBeeLib by
Diff: Frames/DigiMeshFrames.h
- Revision:
- 6:06522f3a6642
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Frames/DigiMeshFrames.h Thu Jul 28 10:17:20 2016 +0200 @@ -0,0 +1,31 @@ +/** + * Copyright (c) 2015 Digi International Inc., + * All rights not expressly granted are reserved. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. + * + * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343 + * ======================================================================= + */ + +#if !defined(__DIGIMESH_FRAME_H_) +#define __DIGIMESH_FRAME_H_ + +#include "ApiFrame.h" + +class TxFrameDM : public ApiFrame +{ + public: + /** Class constructor */ + TxFrameDM(uint64_t addr, uint16_t addr16, uint8_t broadcast_rad, + uint8_t tx_opt, const uint8_t *const data, uint16_t len); + + /** Class constructor */ + TxFrameDM(uint64_t addr, uint16_t addr16, uint8_t source_ep, uint8_t dest_ep, + uint16_t cluster_id, uint16_t profile_id, uint8_t broadcast_rad, + uint8_t tx_opt, const uint8_t *const data, uint16_t len); +}; + +#endif /* __DIGIMESH_FRAME_H_ */