Library to easily communicate with XBee modules.
Fork of XBeeLib by
Frames/DigiMeshFrames.h@10:055802660f2e, 2018-03-26 (annotated)
- Committer:
- basvuyk
- Date:
- Mon Mar 26 13:45:24 2018 +0000
- Revision:
- 10:055802660f2e
- Parent:
- 6:06522f3a6642
xbee changes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hbujanda | 6:06522f3a6642 | 1 | /** |
hbujanda | 6:06522f3a6642 | 2 | * Copyright (c) 2015 Digi International Inc., |
hbujanda | 6:06522f3a6642 | 3 | * All rights not expressly granted are reserved. |
hbujanda | 6:06522f3a6642 | 4 | * |
hbujanda | 6:06522f3a6642 | 5 | * This Source Code Form is subject to the terms of the Mozilla Public |
hbujanda | 6:06522f3a6642 | 6 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
hbujanda | 6:06522f3a6642 | 7 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
hbujanda | 6:06522f3a6642 | 8 | * |
hbujanda | 6:06522f3a6642 | 9 | * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343 |
hbujanda | 6:06522f3a6642 | 10 | * ======================================================================= |
hbujanda | 6:06522f3a6642 | 11 | */ |
hbujanda | 6:06522f3a6642 | 12 | |
hbujanda | 6:06522f3a6642 | 13 | #if !defined(__DIGIMESH_FRAME_H_) |
hbujanda | 6:06522f3a6642 | 14 | #define __DIGIMESH_FRAME_H_ |
hbujanda | 6:06522f3a6642 | 15 | |
hbujanda | 6:06522f3a6642 | 16 | #include "ApiFrame.h" |
hbujanda | 6:06522f3a6642 | 17 | |
hbujanda | 6:06522f3a6642 | 18 | class TxFrameDM : public ApiFrame |
hbujanda | 6:06522f3a6642 | 19 | { |
hbujanda | 6:06522f3a6642 | 20 | public: |
hbujanda | 6:06522f3a6642 | 21 | /** Class constructor */ |
hbujanda | 6:06522f3a6642 | 22 | TxFrameDM(uint64_t addr, uint16_t addr16, uint8_t broadcast_rad, |
hbujanda | 6:06522f3a6642 | 23 | uint8_t tx_opt, const uint8_t *const data, uint16_t len); |
hbujanda | 6:06522f3a6642 | 24 | |
hbujanda | 6:06522f3a6642 | 25 | /** Class constructor */ |
hbujanda | 6:06522f3a6642 | 26 | TxFrameDM(uint64_t addr, uint16_t addr16, uint8_t source_ep, uint8_t dest_ep, |
hbujanda | 6:06522f3a6642 | 27 | uint16_t cluster_id, uint16_t profile_id, uint8_t broadcast_rad, |
hbujanda | 6:06522f3a6642 | 28 | uint8_t tx_opt, const uint8_t *const data, uint16_t len); |
hbujanda | 6:06522f3a6642 | 29 | }; |
hbujanda | 6:06522f3a6642 | 30 | |
hbujanda | 6:06522f3a6642 | 31 | #endif /* __DIGIMESH_FRAME_H_ */ |