et4 - Recherche le 'ID' de la carte et du N° de licence.
Le logiciel gérant le protocole LoRaWAN est protégé, pour fonctionner il lui faut un numéro de licence. Ce numéro est calculé à partir du 'ChipID' de la carte .

CTRL+C pour copier, CTRL+V pour coller
1
uint64_t chipid ;
2
3
void setup() {
4
Serial.begin(115200); }
5
6
void loop(){
7
chipid=ESP.getEfuseMac(); //The chip ID is essentially its MAC address(length: 6 bytes).
8
Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32)); //print High 2 bytes
9
Serial.printf("%08X\n",(uint32_t)chipid); //print Low 4bytes.
10
delay(3000) ;}
11
uint64_t chipid ; void setup() { Serial.begin(115200); } void loop(){ chipid=ESP.getEfuseMac(); //The chip ID is essentially its MAC address(length: 6 bytes). Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32)); //print High 2 bytes Serial.printf("%08X\n",(uint32_t)chipid); //print Low 4bytes. delay(3000) ;}
Recherche du numéro de licence :
Aller sur le site -> https://resource.heltec.cn/search
entrer l'ID de la carte puis 'Confirm'
Copier / coller le n° de licence dans votre compte rendu.