Library to easily communicate with XBee modules.
Fork of XBeeLib by
FrameHandlers/FrameHandler.cpp@4:629712865107, 2015-06-01 (annotated)
- Committer:
- spastor
- Date:
- Mon Jun 01 18:59:43 2015 +0200
- Revision:
- 4:629712865107
- Parent:
- 3:8662ebe83570
Automatic upload
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 | #include "FrameHandler.h" |
spastor | 0:fcaad0dfa051 | 14 | |
spastor | 0:fcaad0dfa051 | 15 | FrameHandler::FrameHandler(ApiFrame::ApiFrameType t) : _type(t) |
spastor | 0:fcaad0dfa051 | 16 | { |
spastor | 0:fcaad0dfa051 | 17 | } |
spastor | 0:fcaad0dfa051 | 18 | |
spastor | 0:fcaad0dfa051 | 19 | FrameHandler::~FrameHandler() |
spastor | 0:fcaad0dfa051 | 20 | { |
spastor | 0:fcaad0dfa051 | 21 | } |
spastor | 4:629712865107 | 22 | |
spastor | 0:fcaad0dfa051 | 23 | ApiFrame::ApiFrameType FrameHandler::get_type() const |
spastor | 0:fcaad0dfa051 | 24 | { |
spastor | 4:629712865107 | 25 | return _type; |
spastor | 0:fcaad0dfa051 | 26 | } |