K
@jcaron I tried another lopy4 & got some metadata
it doesn't indicate if a join accept was sent but seems to show 3 gateways?
The really weird thing is I terminated the program
from network import LoRa
import time, binascii, pycom
pycom.heartbeat(False)
pycom.rgbled(0x7f0000) #red
app_eui = binascii.unhexlify('70B3D57ED00363A8')
app_key = binascii.unhexlify('757CC90FE2A05ACA33C6FE8376F8DBD2')
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AS923, public=1, adr=0, tx_retries=0)
lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=0)
while not lora.has_joined():
pycom.rgbled(0x7f7f00) #yellow
time.sleep(5)
print('Trying to join TTN Network!')
print('Network joined!')
pycom.rgbled(0x007f00) #green
or at least I thought I did (it was no longer printing 'Trying to join TTN Network!' but weirdly join requests kept appearing on the console every 37s. Code like that, beavering away in the background transmitting RF with no indication of what it is up to, terrifies me!