• Lorawan antenna cable only

    LoPy lopy lorawan antenna
    3
    0 Votes
    3 Posts
    392 Views
    W
    @HenroRitchie Thank You
  • Change LoPy devEUI and LoRaWAN

    LoPy lopy lorawan otaa
    3
    0 Votes
    3 Posts
    466 Views
    B
    @eric73 Thank you for your answer, I think it replies my question: It is possible however it depends on the network server allowed behavior.
  • How to send/receive LORAWAN MAC Commands?

    LoPy lorawan lopy mac time rtc
    3
    1 Votes
    3 Posts
    800 Views
    O
    @paul-thornton said in How to send/receive LORAWAN MAC Commands?: https://docs.pycom.io/firmwareapi/pycom/network/lora.html#lorastats I'm not sure whether lora.stats() rx_timestamp is of use, it does not seem to represent a time value, but if it does, how do I convert it? [LORA ] 2019/02/21 04:51:55 (rx_timestamp=0, rssi=0, snr=0.0, sfrx=0, sftx=0, tx_trials=0, tx_power=14, tx_time_on_air=0, tx_counter=0, tx_frequency=0) [LORA ] 2019/02/21 04:52:04 (rx_timestamp=30539834, rssi=-45, snr=7.0, sfrx=3, sftx=5, tx_trials=1, tx_power=0, tx_time_on_air=57, tx_counter=0, tx_frequency=0) [LORA ] 2019/02/21 04:52:11 (rx_timestamp=38155453, rssi=-38, snr=8.0, sfrx=3, sftx=5, tx_trials=1, tx_power=0, tx_time_on_air=47, tx_counter=1, tx_frequency=0) [LORA ] 2019/02/21 09:04:47 (rx_timestamp=45778581, rssi=-43, snr=8.0, sfrx=3, sftx=5, tx_trials=1, tx_power=0, tx_time_on_air=47, tx_counter=2, tx_frequency=0) [LORA ] 2019/02/21 09:15:32 (rx_timestamp=690412324, rssi=-47, snr=6.0, sfrx=5, sftx=5, tx_trials=2, tx_power=0, tx_time_on_air=57, tx_counter=4, tx_frequency=0) [LORA ] 2019/02/21 09:15:38 (rx_timestamp=696682500, rssi=-48, snr=6.0, sfrx=5, sftx=5, tx_trials=1, tx_power=0, tx_time_on_air=57, tx_counter=5, tx_frequency=0) [LORA ] 2019/02/21 09:15:44 (rx_timestamp=702935506, rssi=-47, snr=6.0, sfrx=5, sftx=5, tx_trials=1, tx_power=0, tx_time_on_air=57, tx_counter=6, tx_frequency=0)
  • Error correction for lora

    Discussion error fec lora lorawan
    1
    0 Votes
    1 Posts
    274 Views
    No one has replied
  • Lorawan speed up

    LoPy lorawan
    5
    0 Votes
    5 Posts
    504 Views
    bmarkusB
    @robert-hh said in Lorawan speed up: If two nodes send at the same time, one or even both tansmissions are lost. It's like two people talking to you at the same time. It is not true. If the two nodes are using different Data Rate (GW) gateway will recive them expecting a real GW with an SX1301 or SX1308 chip. More precisely, SX1301/SX1308 can receive signal on 8 channels paralel, 6 per channels with different DR. in EU868/433 it means max. 48 uplinks at the same time.
  • 0 Votes
    9 Posts
    1k Views
    J
    @weingami Hi, I deployed hotfix and tested wifi, sigfox and lora connections. I correctly received the data. We need to test more things and there are a few more bugs, that we know and we're about to fix now.
  • 4 Votes
    5 Posts
    1k Views
    B
    Great news @Paul-Thornton! Congratulations I looked at the lora-alliance website put couldn't find the certification reports -- have you made them available? Obviously we would like to use your certification but need: the certification reports the git hashes or release number of the code which was actually certified Also are you planning on getting AU-915 certified, as it's a supported region in your software? The fixes to the stack and radio drivers that you mention sound great! I had an issue with the LBT in the radio (lack of filtering so that all channels could look busy) and am interested if that was addressed. Looking forward to the certificates and associated code! Regards, Brian
  • LoPy - Raw Lora mode for connecting TTN

    LoPy lora lorawan lora class node lopy
    4
    0 Votes
    4 Posts
    727 Views
    J
    @aniket_yeole you can change some of the parameters (including SF) using setsockopt. To change the frequency you’ll need to remove all channels and re-add channels with your chosen frequency. But beware, the network can change those settings via MAC commands.
  • Demo - Pymesh using LoPy4

    Pylife pymesh lopy4 messaging lora lorawan
    5
    2 Votes
    5 Posts
    1k Views
    B
    Pycom is a global Internet of Things technology company with a vision to give all connected ideas an opportunity to succeed. We've pioneered an innovative and highly scalable IoT platform that brings developers from idea to manufacture in months.
  • Demo - LoRa Mesh Messaging Between Two PyGos

    Pylife lora mesh pygo pylife lorawan
    1
    1 Votes
    1 Posts
    614 Views
    No one has replied
  • 0 Votes
    2 Posts
    428 Views
    J
    @suad_m5 As a LoPy (and hence a nano gateway) can only listen on one channel at a time, it is not LoRaWAN compliant, and only devices that are configured to use that single channel will be supported. It is not a generic gateway, it's just a tool to make quick tests without a real gateway around. This does not mean only LoPys can be used. If you can configure your device to only use the channel you configured on your nano gateway, it should work. This is however not possible on many devices.
  • AS923 Class C not working?

    LoPy lora lopy lorawan asia class c
    9
    0 Votes
    9 Posts
    2k Views
    H
    @oligauc Can you tell what is wrong with this code then: from network import LoRa import socket import binascii import settings import sys import time import pycom LORA_FREQUENCY = 923000000 LORA_FREQ_ADD = 20000 LORA_GW_DR = "SF10BW125" LORA_NODE_DR = 2 # initialize LoRa in LORAWAN mode. # Please pick the region that matches where you are using the device: # Asia = LoRa.AS923 # Australia = LoRa.AU915 # Europe = LoRa.EU868 # United States = LoRa.US915 lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AS923, device_class=LoRa.CLASS_C) # create an OTA authentication params dev_eui = binascii.unhexlify('70b3d5499da97f9c') app_eui = binascii.unhexlify('ADA4DAE3AC12676B') app_key = binascii.unhexlify('11B0282A189B75B0B4D2D8C7FA38548B') # set the 3 default channels to the same frequency (must be before sending the OTAA join request) print('Adding channels') lora.add_channel(0, frequency=923200000, dr_min=0, dr_max=5) #join a network using OTAA print('Joining...') lora.join(activation=LoRa.OTAA, auth=(dev_eui, app_eui, app_key), timeout=0, dr=LORA_NODE_DR) #lora.join(activation=LoRa.OTAA, auth=(dev_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 joined yet...') print('Joined') # remove all the non-default channels print('Removing other channels') for i in range(1, 16): lora.remove_channel(i) # 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, LORA_NODE_DR) #test set unconfirmed. s.setsockopt(socket.SOL_LORA, socket.SO_CONFIRMED, 0) # make the socket blocking s.setblocking(False) time.sleep(5.0) pkt = b'PKT #' + bytes([i]) print('Sending:', pkt) s.send(pkt) time.sleep(4) print('Listening...') while True: rx, port = s.recvfrom(256) if rx: print('Received: {}, on port: {}'.format(rx, port)) time.sleep(1)
  • How can I send MAC Commands and receive the MAC answer?

    LoPy lorawan
    6
    1 Votes
    6 Posts
    915 Views
    E
    @goldfishalpha LinkADRReq is only send by a lorawan base station/gateway . Pycom device as only a device stack not a gateway one. So a pycom device can only process received LinkADRReq if you have the correct setting in lora constructor from documentation, set adr to true and the gateway will send you Linkadrreq IF needed by link quality transmission lora.init(mode, * ,region=LoRa.EU868, frequency=868000000, tx_power=14, bandwidth=LoRa.BW_125KHZ, sf=7, preamble=8, coding_rate=LoRa.CODING_4_5, power_mode=LoRa.ALWAYS_ON, tx_iq=False, rx_iq=False, adr=True, public=True, tx_retries=1, device_class=LoRa.CLASS_A)
  • Downlink to Lopy

    LoPy lopy4 otaa downlink lorawan lorawan otaa
    2
    0 Votes
    2 Posts
    589 Views
    bmarkusB
    @harish-kumar Is it a 'Class-A' device? RX window timing can be an issue.
  • 0 Votes
    3 Posts
    807 Views
    H
    @robert-hh Thank you so much for your time. I made some changes and now my program works fine.
  • 0 Votes
    6 Posts
    865 Views
    H
    @robert-hh Thank you so much ! I got the output.
  • Bluetooth to LORA

    Discussion bluetooth lorawan
    4
    0 Votes
    4 Posts
    776 Views
    E
    @cbourne Hello, my application currently running on a LoPy4 is to collect Temperature,hygrometer,battery level value from several bluetooth BLE sensor (xiaomi) and to send all value via Sigfox, so basically, if your sensor is BLE i can confirm it's work (Sigfox or LoraWan using same radio component in different way). BUT please note that according to pycom documentation "Currently, only basic BLE functionality is available", if your sensor is not low energy this will not work in your case. If you need to connect to your sensor to do some GATT request/service my answer is no more affirmative as i dont do that.
  • 0 Votes
    1 Posts
    474 Views
    No one has replied
  • Nano-gateway and Node

    LoPy lorawan lora lopy nano gateway otaa
    9
    0 Votes
    9 Posts
    2k Views
    robert-hhR
    @robert-hh To be more precise, it is in branch nanogateway at the URL: https://github.com/robert-hh/pycom-libraries/blob/master/examples/lorawan-nano-gateway/nanogateway.py