Heltec_ESP32
Heltec_ESP32 copied to clipboard
Error about correct license - but license provided...
I have to "reactivate" a WSLV3 board (have erased flash while looking for an other issue) - but the serial activation does not work.
Using the LoRaWan.ino sample code and get still the following:
21:03:16.335 -> Please provide a correct license! For more information:
21:03:16.383 -> http://www.heltec.cn/search/
21:03:16.383 -> ESP32ChipID=A42482FA12F4
My code:
#include "LoRaWan_APP.h"
uint32_t license[4] = {0xC2XXXXCC, 0x1BXXXX8F, 0x52XXXXD5, 0x0FXXXXAD };
/* OTAA para*/
uint8_t devEui[] = { 0x........ };
...
The license contain the right numbers - instead of the "XXXX" are the valid numbers ;)
What is wrong?
Thanks for any help!
EDIT: I have solved this for myself - using the "AT" command. But anyway the requested solution should work, right?
hello, can you explain please how you solved the problem using "AT" , i have the same issue as well
https://docs.heltec.org/general/how_to_use_license.html
Insert in Arduino serial monitor window the Line
AT+CDKEY=xxx
-> the key without any "0x" or "," - only the numbers/letters
and send it to device, while it show you that correct license will be needed
sent AT+CDKEY=Xxx when it complains about no license. that was a pain.
mcu.setlicense is broken in code so this appears to be the only way to activate.