Closed gadLinux closed 2 years ago
Comment: I was unable to join to the network. Finally I did a ABP registration.
I also tested uplink by uncommenting the line:
Serial.println(F("OP_TXRXPEND,sending ..."));
static uint8_t mydata[] = "Hello, world!";
// printVariables();
// LMIC_setTxData2(1, lpp.getBuffer(), lpp.getSize(), 0);
// Prepare upstream data transmission at the next possible time.
LMIC_setTxData2(1, mydata, sizeof(mydata) - 1, 0);
That works. And with Javascript I can get the message
Because the GPS is disabled in my branch I had to disable also Cayenne writting of GPS data, otherwise data is not readable, I don't know why since they are bytes... But if I disable the GPS reporting stuff data is decoded...
The information that's sent to the TTN network cannot be parsed...
One of the payloads in BASE64 is: A4g7VUAAAAAA4rAFZAgA4wAEcR8HGaFBggeGAHf/dv7KCAIBng== That in hex is: 03 88 3b 55 40 00 00 00 00 e2 b0 05 64 08 00 e3 00 04 71 1f 07 19 a1 41 82 07 86 00 77 ff 76 fe ca 08 02 01 9e
TTN says is invalid output
Do I miss something?