A LoRa packet forwarder running on the host of a LoRa Picocell Gateway that forwards RF packets receive by the concentrator to a server through a IP/UDP link, and emits RF packets that are sent by the server.

Committer:
dgabino
Date:
Wed Apr 11 14:47:16 2018 +0000
Revision:
0:9002b89157da
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dgabino 0:9002b89157da 1 / _____) _ | |
dgabino 0:9002b89157da 2 ( (____ _____ ____ _| |_ _____ ____| |__
dgabino 0:9002b89157da 3 \____ \| ___ | (_ _) ___ |/ ___) _ \
dgabino 0:9002b89157da 4 _____) ) ____| | | || |_| ____( (___| | | |
dgabino 0:9002b89157da 5 (______/|_____)_|_|_| \__)_____)\____)_| |_|
dgabino 0:9002b89157da 6 (C)2013 Semtech-Cycleo
dgabino 0:9002b89157da 7
dgabino 0:9002b89157da 8 Utility: packet acknowledger
dgabino 0:9002b89157da 9 =============================
dgabino 0:9002b89157da 10
dgabino 0:9002b89157da 11 1. Introduction
dgabino 0:9002b89157da 12 ----------------
dgabino 0:9002b89157da 13
dgabino 0:9002b89157da 14 The packet acknowledger is a simple helper program listening on a single UDP
dgabino 0:9002b89157da 15 port and responding to PUSH_DATA datagrams with PUSH_ACK, and to PULL_DATA
dgabino 0:9002b89157da 16 datagrams with PULL_ACK.
dgabino 0:9002b89157da 17
dgabino 0:9002b89157da 18 Informations about the datagrams received and the answers send are display on
dgabino 0:9002b89157da 19 screen to help communication debugging.
dgabino 0:9002b89157da 20
dgabino 0:9002b89157da 21 Packets not following the protocol detailed in the PROTOCOL.TXT document in the
dgabino 0:9002b89157da 22 basic_pkt_fwt directory are ignored.
dgabino 0:9002b89157da 23
dgabino 0:9002b89157da 24 2. Dependencies
dgabino 0:9002b89157da 25 ----------------
dgabino 0:9002b89157da 26
dgabino 0:9002b89157da 27 This program follows the v1.1 version of the gateway-to-server protocol.
dgabino 0:9002b89157da 28
dgabino 0:9002b89157da 29 3. Usage
dgabino 0:9002b89157da 30 ---------
dgabino 0:9002b89157da 31
dgabino 0:9002b89157da 32 Start the program with the port number as first and only argument.
dgabino 0:9002b89157da 33
dgabino 0:9002b89157da 34 To stop the application, press Ctrl+C.
dgabino 0:9002b89157da 35
dgabino 0:9002b89157da 36 4. License
dgabino 0:9002b89157da 37 -----------
dgabino 0:9002b89157da 38
dgabino 0:9002b89157da 39 Copyright (C) 2013, SEMTECH S.A.
dgabino 0:9002b89157da 40 All rights reserved.
dgabino 0:9002b89157da 41
dgabino 0:9002b89157da 42 Redistribution and use in source and binary forms, with or without
dgabino 0:9002b89157da 43 modification, are permitted provided that the following conditions are met:
dgabino 0:9002b89157da 44
dgabino 0:9002b89157da 45 * Redistributions of source code must retain the above copyright
dgabino 0:9002b89157da 46 notice, this list of conditions and the following disclaimer.
dgabino 0:9002b89157da 47 * Redistributions in binary form must reproduce the above copyright
dgabino 0:9002b89157da 48 notice, this list of conditions and the following disclaimer in the
dgabino 0:9002b89157da 49 documentation and/or other materials provided with the distribution.
dgabino 0:9002b89157da 50 * Neither the name of the Semtech corporation nor the
dgabino 0:9002b89157da 51 names of its contributors may be used to endorse or promote products
dgabino 0:9002b89157da 52 derived from this software without specific prior written permission.
dgabino 0:9002b89157da 53
dgabino 0:9002b89157da 54 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
dgabino 0:9002b89157da 55 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
dgabino 0:9002b89157da 56 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
dgabino 0:9002b89157da 57 DISCLAIMED. IN NO EVENT SHALL SEMTECH S.A. BE LIABLE FOR ANY
dgabino 0:9002b89157da 58 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
dgabino 0:9002b89157da 59 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
dgabino 0:9002b89157da 60 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
dgabino 0:9002b89157da 61 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
dgabino 0:9002b89157da 62 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
dgabino 0:9002b89157da 63 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
dgabino 0:9002b89157da 64
dgabino 0:9002b89157da 65 *EOF*