I recently bought a Heltec Wireless Stick and now spent two days in getting the thing up and running using Arduino Environment and the OTAA_OLED example. I exactly followed the instructions on the Heltec Site to set up the environment and i even tried different methods (directly from Arduino and GIT) to install the library. I even tried a on a second PC (which never had Arduino installed before) but failed equally.
The example doesn’t even compile, as this already fails at the statement" uint8_t debugLevel = LoRaWAN_DEBUG_LEVEL with : ‘LoRaWAN_DEBUG_LEVEL’ was not declared in this scope;"
I tried setting this parameter directly in the example but then compiling fails at the next parameter (uint8_t debugLevel = LoRaWAN_DEBUG_LEVEL;).
The tutorial describes how to set the region editing the file
LoRaMac-definitions.h, however this file does not exist any longer in the current library. So how am I supposed to configure the region (and other parameters that may need to be set)?
I found another tutoral where it shows a screenshot with an Arduiono drop down menu that allowed to select the region. However I don’t get this menu in my Arduino environment.
The module itself basically works, I can compile the Facory Test and was also able to read the Serial (MAC) so I could request the license from the Heltec website.
I’m about to return my Wireless-Stick to the dealer I bought it from as I feel that at least simple examples should run out of the box (which would of course require accurate testing before publishing them), but wanted to give it a last chance with this forum.
If anyone can help me to get a simple example at least to compile (I don’t expect that it WORKS right away but I need at least to get to the point where I need to fix or integrate functional issues), this prson would be more than welcome.