Comments (3)
Hello,
I'm not sure I fully get your question.
The message format sent by the gateway are formatted as described in the PROTOCOL.txt file you can found in the lora-net/packet_forwarder root directory.
Typically there are few octets (4 to 12) describing the protocol version, the message type etc...
Then, after those few octets, you have the JSON string which contains the actual packet data.
SO the server has to parse the few bytes as a binary header, and then any JSON parser car handle the JSON string.
Regards
from packet_forwarder.
Hello,
Thank you for the quick response. This answers my question.
from packet_forwarder.
Hello,
One more thing. I receive the uplink messages, but it seems I do NOT
receive the PULL DOWN ack message on the server side. When I uncomment the
the line in the source of the beacon "//MSG("WARNING: [down] recv returned
%s\n", strerror(errno)); /* too verbose */" it is
shown continuously although I am sending messages down the UDP to the
Gateway on a 5 sec basis.
When I start the util_sync I see that the packets are received but still
the beacon program is not aware of them.
Any suggestions?
Regards.
On Mon, Apr 25, 2016 at 2:21 PM, Michael Coracin [email protected]
wrote:
Hello,
I'm not sure I fully get your question.
The message format sent by the gateway are formatted as described in the
PROTOCOL.txt file you can found in the lora-net/packet_forwarder root
directory.Typically there are few octets (4 to 12) describing the protocol version,
the message type etc...
Then, after those few octets, you have the JSON string which contains the
actual packet data.SO the server has to parse the few bytes as a binary header, and then any
JSON parser car handle the JSON string.Regards
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#7 (comment)
from packet_forwarder.
Related Issues (20)
- Don't send gateway status data HOT 2
- Building with exported HAL library HOT 2
- Class A downlinks not being transmitted HOT 1
- Configure Packet Forwarder for LG01-N for Azure IoT Hub HOT 2
- Build Error on Alpine linux: undefined reference to `qsort_r' HOT 2
- GPS read() returned value 0 HOT 2
- For 865MHz, what changes are required in global_conf.json HOT 2
- Whitelist from gateway to repeater HOT 2
- time field empty when no GPS present HOT 2
- does class c supports otaaa HOT 1
- Downlink Packets rejected from gateway due to (jit error=5) HOT 2
- SF falls back to SF12 HOT 2
- Error message !? HOT 2
- Timestamp accuracy HOT 1
- DevAddr for experiments HOT 1
- JIT error = 5, How to resolve it? HOT 4
- Building issue jit_sort_queue HOT 2
- error: too few arguments to function โlgw_startโ HOT 1
- LoRaWAN gateway receives data from another gateway HOT 2
- time/tmms discrepancy in rxpk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packet_forwarder.