Commit 91763f14 authored by Frank Radzio 's avatar Frank Radzio

Bugfix Trackingnode_01 es wird nun nur noch ein Byte versendet

parent c6335255
......@@ -91,8 +91,8 @@ const lmic_pinmap lmic_pins = {
/*****************************************************
* ABP
*****************************************************/
static const PROGMEM u1_t NWKSKEY[16] = { ---- }; // LoRaWAN NwkSKey, network session key
static const u1_t PROGMEM APPSKEY[16] = { ----- }; // LoRaWAN AppSKey, application session key
static const PROGMEM u1_t NWKSKEY[16] = { }; // LoRaWAN NwkSKey, network session key
static const u1_t PROGMEM APPSKEY[16] = { }; // LoRaWAN AppSKey, application session key
static const u4_t DEVADDR = 0x000000 ; // LoRaWAN end-device address (DevAddr)
/****************************************************
* OTAA
......@@ -262,7 +262,7 @@ void do_send(osjob_t* j)
debugPrintLn(batvalue);
#endif
unsigned char mydata[6];
unsigned char mydata[1];
mydata[0] = batvalue;
LMIC_setTxData2(1, mydata, sizeof(mydata), 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment