Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error about correct license - but license provided... #138

Open
michapr opened this issue Apr 18, 2024 · 3 comments
Open

Error about correct license - but license provided... #138

michapr opened this issue Apr 18, 2024 · 3 comments

Comments

@michapr
Copy link

michapr commented Apr 18, 2024

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?

@hoka83
Copy link

hoka83 commented Apr 29, 2024

hello, can you explain please how you solved the problem using "AT" , i have the same issue as well

@michapr
Copy link
Author

michapr commented Apr 29, 2024

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

@HotNoob
Copy link

HotNoob commented Jul 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants