I got an autonomo from the kickstarter and I bought a LoraBee from the webshop.
I uploaded the following sketch:
replacing the keys with the TTN ones and the device address with my own one (i also tried with the orginal ones)
and changing the sendReqAck with a send method
but when starting the InitABP() returns false, as in it fails to “Connect to the Network” (which deducing from another thread just means it failed to save the key/address in the lora module)
and the send() returns NoResponse
I’m about 5 meters away from a Lorank8 gateway
I’m unsure on how to continue, could this means the module is broken? does the usb port of my mac provides not enough juice for the module?
UPDATE: It turns out the the Lorabee is probably switched off, How can I turn it on?
I can see in the schematic that BEE_VCC enable is connected to PA28 but i can not find which pin it is in my program
I’m using the embitbee library, including Arduino.h and EmbitBee.h in the sketch. Commenting out the include of avr/wdt.h in embitbee.cpp gives no error, but the program hangs at the command “embitbee.init()”.
There is no call to wdt_reset in the program or the embitbee library.
It is a cross platform Watch Dog Timer library/interface that was written to be compatible with both our AVR and SAMD boards. Any library which is dependent on “avr/wdt.h” can be directed to include this library instead.