Sorry for the newb question, but how do I decode the example payload data.
I am using the example code, LoraWan_BH1750, which is successfully sending data to TTN. The payload on TTN is: 0FE4
unsigned char *puc; puc = (unsigned char *)(&lux); AppDataSize = 6;//AppDataSize max value is 64 AppData = puc; AppData = puc; AppData = puc; AppData = puc; AppData = (uint8_t)(BatteryVoltage>>8); AppData = (uint8_t)BatteryVoltage;
Can anyone give some advice on what kind of encoding this is or how I would decode the data?