URGENT:How to connect HTIT-WB32LAF to HT-M7603?

Hi
I have set gatway for send packet to https://id.thethingsnetwork.org/
It connect to server and i see log:

On PlatformIO I use this configuration:

[env:heltec_wifi_lora_32_V3]
platform = espressif32
board = heltec_wifi_lora_32_V3
framework = arduino
lib_deps = heltecautomation/ESP32_LoRaWAN@^2.1.1
monitor_speed = 115200

After read my ID I put it in this example: OTAA.ino
but receive 3 error:
LoRaWAN_DEBUG_LEVEL
ACTIVE_REGION
DIO1

They are not defined.

How I must correct the code?
Why Example NOT WORK!!!

Thanks

The combination of “URGENT” in the title, the inaccuracies, the lack of details, formatting and the final set of capitals screams running before you can walk. The volunteers here can’t help those in this much hurry because we’ve tried before and it has never worked out.

So if you can slow down, there’s some things to clarify:

  1. Does the gateway show the frequent status updates in the TTN gateway console?
  2. What is the URL that you got the configuration information to setup PIO?
  3. What is the URL of the example OTAA.ino? There are many of these around, being specific would help.
  4. Where do these errors appear and what sort of errors are they - compile or runtime serial output, etc?

Four questions, to help you fastest, four answers please.

Finally, what device are you creating for LoRaWAN? A summary of what information you are collecting will allow us to point you to the best resources.

1 Like

1: yes I see log in server console (…It connect to server and i see log)
2: what is PIO? If you means Gateway I connect to it in Access Point and after i go to 192.168.8.1
3. The OOTA.INO example come together library heltecautomation/ESP32_LoRaWAN@^2.1.1
4. The error are showed when I open example. It cannot
recognize this variable:
LoRaWAN_DEBUG_LEVEL
ACTIVE_REGION
DIO1

My application should send accelerometer data from htit-wb32laf to gateway HT M7603

Thanks

PlatformIO

–> Where did you find the information to set this up??

Do you have the URL for this or was it just part of the PIO instructions you found?

When you say open - do you mean when you load the code in to the editor?

Which accelerometer device are you using?

2:
In platformIO there is a wizard for create new projects. When this procedure end you will found this summary in Platformio.ino
[env:heltec_wifi_lora_32_V3]
platform = espressif32
board = heltec_wifi_lora_32_V3
framework = arduino
lib_deps = heltecautomation/ESP32_LoRaWAN@^2.1.1
monitor_speed = 115200
3.
Like Arduino, when you use library (heltecautomation/ESP32_LoRaWAN@^2.1.1) you have access to several example. OOTA.ino is one of them

  1. When you load example, the Ide automatically report with red underline what not “understand”.
    This are the variable:
    LoRaWAN_DEBUG_LEVEL
    ACTIVE_REGION
    DIO1

For last accelerometer has not been again choose but for me is ok see transmitted aslo “hello word” string

Where are the instructions you followed to choose to add the ESP32_LoRaWAN library and then open the OTTA.ino file?

I’m trying to see what you were hoping for, even though this will never work, so I can recommend something that will work.

Sorry, my bad, I’m just a volunteer without enough experience or telepathic abilities that doesn’t have the time to setup PIO to replicate your issue exactly because I don’t know where you got the instructions from.

I think that your ego is bigger than you.

I have waste my time replicating the same things 3 time only for discovery that you dont have understand nothing…

Mah

Who told you to create your platformio.ini file like that? Where did you get the information from? Do you have a link to the original file that you presumably copied?

It was send me by platform support forum

It appears that you figured it out by yourself: https://community.platformio.org/t/cannot-create-new-project-lora-32-v3/48567?u=descartes

But it also appears you don’t want to make much effort - you could have provided that link at the start to give us some context and the several times that I asked you for where you got your instructions.

Although we still don’t know why you choose to use the ESP32_LoRaWAN library that clearly states its not compatible with the Heltec ESP32 BSP since Sept 2022.

The challenge now is whether to provide you with the information you need which could lead to more frustration on both sides, or to leave you to find people with more expertise than us for what you ask.

I have no idea what this is trying to communicate.

They told you how to setup a WiFi v3 project, you added the ESP32_LoRaWAN.