Closed meakash closed 4 years ago
My Mistake, The payload in the gateway’s Traffic page is the full LoRaWAN packet, which is your encrypted application payload plus some LoRaWAN housekeeping. More details can be found if you paste your physical payload from the gateway here: https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/
Hello,
void loop() { buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed. If it is, the buttonState is HIGH://
if (buttonState == LOW)// { // turn LED on:// digitalWrite(ledPin, HIGH);
byte payload[1]; payload[0] = (digitalRead(LED_BUILTIN) == HIGH) ? 1 : 0;
ttn.sendBytes(payload, sizeof(payload)); Serial.println("the data that transmits to TTN is: "); Serial.println(payload[0]); delay(1000); }// else { // turn LED off: digitalWrite(ledPin, LOW); } }
According to the above loop i am sending Just 1 byte of data, which i receive correctly on the Application console of TTN. But on the Gateway I receive a data packet payload of 14 bytes
What is the gateway payload?