HelTecAutomation / ESP32_LoRaWAN

Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
344 stars 109 forks source link

Cannot provide license on latest environment for older Boards #94

Open HansLoehner opened 2 years ago

HansLoehner commented 2 years ago

With the latest environment 0.0.7 i cannot use older ESP32 V2 It says on booting:

Please provide a correct license! For more information:

http://www.heltec.cn/search/

ESP32ChipID=8CF0FE7EB994

But on the latest environment it is not possible provide the license anymore.

BETOXL commented 1 year ago

Use: / The true ESP32 chip ID is essentially its MAC address./

uint64_t chipId = 0;

void setup() { Serial.begin(115200); }

void loop() { chipId=ESP.getEfuseMac(); Serial.printf("ESP32 Chip model = %s Rev %d\n", ESP.getChipModel(), ESP.getChipRevision()); Serial.printf("This chip has %d cores\n", ESP.getChipCores()); Serial.printf("ESP32ChipID=%04X",(uint16_t)(chipId>>32));//print High 2bytes Serial.printf("%08X\r\n",(uint32_t)chipId);//print Low 4bytes. delay(3000); }