From a8f55ed1b0e89f31557a5a4e750a04f3b88895d0 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 10 Jun 2018 01:07:37 +0200 Subject: [PATCH] readme.md --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 063d6ed4..1a8130df 100644 --- a/README.md +++ b/README.md @@ -102,17 +102,25 @@ Legend for RGB LED (LoPy/LoPy4/FiPy/Lolin32 only): # Payload -FPort1: +LoRaWAN Port #1: Counter data - byte 1: 16-bit WiFi counter, MSB - byte 2: 16-bit WiFi counter, LSB - byte 3: 16-bit BLE counter, MSB - byte 4: 16-bit BLE counter, LSB + byte 1: WiFi counter, MSB + byte 2: WiFi counter, LSB + byte 3: BLE counter, MSB + byte 4: BLE counter, LSB -FPort2: +LoRaWAN Port #2: Remote commands see remote command set +LoRaWAN Port #3: GPS data + + bytes 1-4: Latitude + bytes 4-8: Longitude + bytes 9-10: Satellites + bytes 11-12: HDOP + bytes 13-14: Altitude + 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`. Decoder: