Digi XBeeLib fixed for NonCopyable issue
Dependents: XBeeZB_Receive_Data
Fork of XBeeLib by
This lib fixes NonCopyable<T> issues of Digi XBeeLib. Also, lib has been reworked in order to make it RTOS-aware, overcoming several others issues due to stdio Mutex operations.
Frames/802_Frames.h@13:09e0b4f5a9e1, 2018-04-08 (annotated)
- Committer:
- Lorenzo Maiorfi
- Date:
- Sun Apr 08 08:01:55 2018 +0200
- Revision:
- 13:09e0b4f5a9e1
- Parent:
- 4:629712865107
Disabled reset procedure in XBee::init() method in order to overcome some "nasty" effects on S2C modules.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
spastor | 0:fcaad0dfa051 | 1 | /** |
spastor | 0:fcaad0dfa051 | 2 | * Copyright (c) 2015 Digi International Inc., |
spastor | 0:fcaad0dfa051 | 3 | * All rights not expressly granted are reserved. |
spastor | 0:fcaad0dfa051 | 4 | * |
spastor | 0:fcaad0dfa051 | 5 | * This Source Code Form is subject to the terms of the Mozilla Public |
spastor | 0:fcaad0dfa051 | 6 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
spastor | 0:fcaad0dfa051 | 7 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
spastor | 0:fcaad0dfa051 | 8 | * |
spastor | 0:fcaad0dfa051 | 9 | * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343 |
spastor | 0:fcaad0dfa051 | 10 | * ======================================================================= |
spastor | 0:fcaad0dfa051 | 11 | */ |
spastor | 0:fcaad0dfa051 | 12 | |
spastor | 0:fcaad0dfa051 | 13 | #if !defined(__802_FRAMES_H_) |
spastor | 0:fcaad0dfa051 | 14 | #define __802_FRAMES_H_ |
spastor | 0:fcaad0dfa051 | 15 | |
spastor | 0:fcaad0dfa051 | 16 | #include "ApiFrame.h" |
spastor | 0:fcaad0dfa051 | 17 | |
spastor | 4:629712865107 | 18 | class TxFrame802 : public ApiFrame |
spastor | 0:fcaad0dfa051 | 19 | { |
spastor | 0:fcaad0dfa051 | 20 | public: |
spastor | 0:fcaad0dfa051 | 21 | /** Class constructor */ |
spastor | 0:fcaad0dfa051 | 22 | TxFrame802(uint64_t addr, uint8_t tx_options, const uint8_t *const data, uint16_t len); |
spastor | 0:fcaad0dfa051 | 23 | TxFrame802(uint16_t addr16, uint8_t tx_options, const uint8_t *const data, uint16_t len); |
spastor | 0:fcaad0dfa051 | 24 | |
spastor | 0:fcaad0dfa051 | 25 | protected: |
spastor | 0:fcaad0dfa051 | 26 | }; |
spastor | 0:fcaad0dfa051 | 27 | |
spastor | 0:fcaad0dfa051 | 28 | #endif /* __802_FRAMES_H_ */ |