Added warning on software deveui override by HW one
This commit is contained in:
parent
b0d29b16b2
commit
39b0c4eefe
@ -23,10 +23,10 @@ Currently supported IoT boards:
|
|||||||
- TTGOv2 {1}
|
- TTGOv2 {1}
|
||||||
- Pycom LoPy {2}
|
- Pycom LoPy {2}
|
||||||
- Pycom LoPy4 {2}
|
- Pycom LoPy4 {2}
|
||||||
- LoLin32 with [LoraNode32 shield](https://github.com/hallard/LoLin32-Lora) {2}
|
- LoLin32 with [LoraNode32 shield](https://github.com/hallard/LoLin32-Lora) {2}{3}
|
||||||
- LoLin32 Lite with [LoraNode32-Lite shield](https://github.com/hallard/LoLin32-Lite-Lora) {2}
|
- LoLin32 Lite with [LoraNode32-Lite shield](https://github.com/hallard/LoLin32-Lite-Lora) {2}{3}
|
||||||
|
|
||||||
{1} on board OLED Display supported; {2} on board RGB LED supported
|
{1} on board OLED Display supported; {2} on board RGB LED supported; {3} on board Hardware unique DEVEUI supported
|
||||||
|
|
||||||
Target platform must be selected in [platformio.ini](https://github.com/cyberman54/ESP32-Paxcounter/blob/master/platformio.ini).<br>
|
Target platform must be selected in [platformio.ini](https://github.com/cyberman54/ESP32-Paxcounter/blob/master/platformio.ini).<br>
|
||||||
Hardware dependent settings (pinout etc.) are stored in board files in /hal directory.<br>
|
Hardware dependent settings (pinout etc.) are stored in board files in /hal directory.<br>
|
||||||
@ -52,6 +52,8 @@ Use <A HREF="https://platformio.org/">PlatformIO</A> with your preferred IDE for
|
|||||||
|
|
||||||
Before compiling the code, create file loraconf.h in the /src directory from the template [loraconf.sample.h](https://github.com/cyberman54/ESP32-Paxcounter/blob/master/src/loraconf.sample.h) and populate it with your personal APPEUI und APPKEY for the LoRaWAN network. Only OTAA join is supported, not ABP. The DEVEUI will be derived from the device's MAC adress during device startup and is shown as well on the device's display (if it has one) as on the serial console for copying it to your LoRaWAN network server settings. If you enter a DEVEUI in loraconf.h it will be used instead.
|
Before compiling the code, create file loraconf.h in the /src directory from the template [loraconf.sample.h](https://github.com/cyberman54/ESP32-Paxcounter/blob/master/src/loraconf.sample.h) and populate it with your personal APPEUI und APPKEY for the LoRaWAN network. Only OTAA join is supported, not ABP. The DEVEUI will be derived from the device's MAC adress during device startup and is shown as well on the device's display (if it has one) as on the serial console for copying it to your LoRaWAN network server settings. If you enter a DEVEUI in loraconf.h it will be used instead.
|
||||||
|
|
||||||
|
**If Using a board with Microchip 24AA02E64 Unique ID for deveui, it will override the one of loraconf.h**
|
||||||
|
|
||||||
# Uploading
|
# Uploading
|
||||||
|
|
||||||
To upload the code to your ESP32 board this needs to be switched from run to bootloader mode. Boards with USB bridge like Heltec and TTGO usually have an onboard logic which allows soft switching by the upload tool. In PlatformIO this happenes automatically.<p>
|
To upload the code to your ESP32 board this needs to be switched from run to bootloader mode. Boards with USB bridge like Heltec and TTGO usually have an onboard logic which allows soft switching by the upload tool. In PlatformIO this happenes automatically.<p>
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
// Set your DEVEUI here, if you have one. You can leave this untouched,
|
// Set your DEVEUI here, if you have one. You can leave this untouched,
|
||||||
// then the DEVEUI will be generated during runtime from device's MAC adress
|
// then the DEVEUI will be generated during runtime from device's MAC adress
|
||||||
// Note: Use same format as in TTN console (cut & paste, for your convenience)
|
// Note: Use same format as in TTN console (cut & paste, for your convenience)
|
||||||
|
// *** Take care : If Using a board with Microchip 24AA02E64 Uinique ID for deveui, **
|
||||||
|
// *** this DEVEUI will be overwriten by the one contained in the Microchip module ***
|
||||||
static const u1_t DEVEUI[8]={ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
static const u1_t DEVEUI[8]={ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||||
|
|
||||||
// Note: Use msb format for APPEUI as in TTN console (cut & paste, for your convenience)
|
// Note: Use msb format for APPEUI as in TTN console (cut & paste, for your convenience)
|
||||||
|
Loading…
Reference in New Issue
Block a user