Update README.md

This commit is contained in:
Verkehrsrot 2018-06-10 16:40:12 +02:00 committed by GitHub
parent aa008edfbe
commit 1b6b0377ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,19 +107,24 @@ Legend for RGB LED (LoPy/LoPy4/FiPy/Lolin32 only):
# Payload
LoRaWAN Port #1:
**LoRaWAN Port #1:**
Paxcounter data
byte 1-2: Number of unique pax, first seen on Wifi
byte 3-4: Number of unique pax, first seen on Bluetooth [0 if BT disabled]
GPS data (only, if GPS is present and has a fix)
bytes 5-8: GPS latitude
bytes 9-12: GPS longitude
bytes 13-14: GPS number of satellites
bytes 15-16: GPS HDOP
bytes 17-18: GPS altitude [meter]
LoRaWAN Port #2:
**LoRaWAN Port #2:**
see remote control
- see remote control -
If you're using [TheThingsNetwork](https://www.thethingsnetwork.org/) you may want to use a payload converter. Go to TTN Console - Application - Payload Formats and paste the code example below in tabs Decoder and Converter. Make sure that your application parses the fields `pax`, `ble` and `wifi`.