C++ Wrapper around the IBM LMiC LoRaWAN implementation
OTAA/OTAANode.h@3:63ac55b3514a, 2016-06-30 (annotated)
- Committer:
- sillevl
- Date:
- Thu Jun 30 19:39:40 2016 +0000
- Revision:
- 3:63ac55b3514a
add ABP Node class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 3:63ac55b3514a | 1 | /* The MIT License (MIT) |
sillevl | 3:63ac55b3514a | 2 | * |
sillevl | 3:63ac55b3514a | 3 | * Copyright (c) 2016 Sille Van Landschoot |
sillevl | 3:63ac55b3514a | 4 | * |
sillevl | 3:63ac55b3514a | 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
sillevl | 3:63ac55b3514a | 6 | * of this software and associated documentation files (the "Software"), to deal |
sillevl | 3:63ac55b3514a | 7 | * in the Software without restriction, including without limitation the rights |
sillevl | 3:63ac55b3514a | 8 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
sillevl | 3:63ac55b3514a | 9 | * copies of the Software, and to permit persons to whom the Software is |
sillevl | 3:63ac55b3514a | 10 | * furnished to do so, subject to the following conditions: |
sillevl | 3:63ac55b3514a | 11 | * |
sillevl | 3:63ac55b3514a | 12 | * The above copyright notice and this permission notice shall be included in all |
sillevl | 3:63ac55b3514a | 13 | * copies or substantial portions of the Software. |
sillevl | 3:63ac55b3514a | 14 | * |
sillevl | 3:63ac55b3514a | 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
sillevl | 3:63ac55b3514a | 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
sillevl | 3:63ac55b3514a | 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
sillevl | 3:63ac55b3514a | 18 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
sillevl | 3:63ac55b3514a | 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
sillevl | 3:63ac55b3514a | 20 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
sillevl | 3:63ac55b3514a | 21 | * SOFTWARE. |
sillevl | 3:63ac55b3514a | 22 | */ |
sillevl | 3:63ac55b3514a | 23 | |
sillevl | 3:63ac55b3514a | 24 | #ifndef SIMPLE_LORAWAN_OTAA_NODE_H_ |
sillevl | 3:63ac55b3514a | 25 | #define SIMPLE_LORAWAN_OTAA_NODE_H_ |
sillevl | 3:63ac55b3514a | 26 | |
sillevl | 3:63ac55b3514a | 27 | #include "Node.h" |
sillevl | 3:63ac55b3514a | 28 | |
sillevl | 3:63ac55b3514a | 29 | namespace SimpleLoRaWAN |
sillevl | 3:63ac55b3514a | 30 | { |
sillevl | 3:63ac55b3514a | 31 | namespace OTAA |
sillevl | 3:63ac55b3514a | 32 | { |
sillevl | 3:63ac55b3514a | 33 | |
sillevl | 3:63ac55b3514a | 34 | class Node : public SimpleLoRaWAN::Node |
sillevl | 3:63ac55b3514a | 35 | { |
sillevl | 3:63ac55b3514a | 36 | public: |
sillevl | 3:63ac55b3514a | 37 | Node(uint8_t _app_eui[], uint8_t _dev_eui[], uint8_t _app_key[]); |
sillevl | 3:63ac55b3514a | 38 | virtual ~Node(); |
sillevl | 3:63ac55b3514a | 39 | }; |
sillevl | 3:63ac55b3514a | 40 | |
sillevl | 3:63ac55b3514a | 41 | } |
sillevl | 3:63ac55b3514a | 42 | |
sillevl | 3:63ac55b3514a | 43 | } /* namespace SimpleLoRaWAN */ |
sillevl | 3:63ac55b3514a | 44 | |
sillevl | 3:63ac55b3514a | 45 | |
sillevl | 3:63ac55b3514a | 46 | #endif /* SIMPLE_LORAWAN_OTAA_NODE_H_ */ |