• 0 Votes
    6 Posts
    571 Views
    D
    @jcaron any news?
  • 0 Votes
    7 Posts
    1k Views
    A
    @rskoniec Hi, Only one of my Gateways out of two accepted join request, but still on the terminal I got the message as not yet joined. I saw the device eui displayes in Gateway join request message is APP eui which was false. I included device eui also in my code(Also I cant be very sure if it is what got my device to join but it worked for me). By the way I used sample code available on pycom docs for LoRaWAN OTAA. # create an OTAA authentication parameters device_eui = binascii.unhexlify('FFFFFFFFFFFFFFFFF') app_eui = binascii.unhexlify('FFFFFFFFFFFFFFFFF') app_key = binascii.unhexlify('FFFFFFFFFFFFFFFFF') # join a network using OTAA (Over the Air Activation) lora.join(activation=LoRa.OTAA, auth=(device_eui, app_eui, app_key), timeout=0) # wait until the module has joined the network while not lora.has_joined(): time.sleep(2.5) print('Not yet joined...') # create a LoRa socket s = socket.socket(socket.AF_LORA, socket.SOCK_RAW) # set the LoRaWAN data rate s.setsockopt(socket.SOL_LORA, socket.SO_DR, 5) # make the socket blocking # (waits for the data to be sent and for the 2 receive windows to expire) s.setblocking(True)
  • 0 Votes
    5 Posts
    968 Views
    A
    @jmarcelino Oh. Yes I was using machine.deepsleep(). Now it works. Thank you for your help.
  • LoPy Super Twin Pack not working

    LoPy lopy nano gateway not working
    9
    0 Votes
    9 Posts
    3k Views
    G
    @stef Hi Stef, This is working. Thanks