Jason Reiss

Forum Replies Created

Viewing 30 posts - 901 through 930 (of 1,403 total)
  • Author
    Posts
  • in reply to: MQTT message and "datr" JSON item #21103
    Jason Reiss
    Keymaster

    mLinux configuration info

    Conduit mLinux: Advanced LoRa Configuration

    AEP see Setup > Lora page

    The test setting disableRxWindow1 maybe useful to force the network server to always use Rx2.

    in reply to: MQTT message and "datr" JSON item #21101
    Jason Reiss
    Keymaster

    In EU the Rx2 downlink channel 869.525 can use a higher power (27 dBm EIRP) than the 14 dBm EIRP limit of the rest of the 863-870 band.

    The Rx2 Datarate is configurable in Conduit. The Join response will be sent in Rx2 at the LoRaWAN default.

    The Rx2 window is a specific frequency and datarate and must be configured on the device, the datarate is sent to the device in OTA join response.

    Rx2 settings are not configurable for a single device or downlink.

    The best resources are the LoRaWAN specification directly from the lora-alliance or the Semtech reference implementation https://github.com/Lora-net/LoRaMac-node.

    in reply to: MQTT message and "datr" JSON item #21096
    Jason Reiss
    Keymaster

    There is no fragmentation.
    A packet that is too big will have to wait until an time it can fit in the downlink.

    Downlink payloads of 51 bytes for EU and 66 bytes for US can be sent at any datarate.

    The Rx2 Datarate can be set to ensure a specific datarate.
    Although there is then a trade-off of larger size for maximum range.

    in reply to: MQTT message and "datr" JSON item #21094
    Jason Reiss
    Keymaster

    There is no need to specify a datr field to a message sent to the network server. This field is provided by the network server on uplink packets received and downlink packets sent. The datarate used is determined by the LoRaWAN protocol and configuration of Rx1 and Rx2 settings.

    in reply to: ABP Join by Just Using DevAddr NwkSKey and AppSKey #21087
    Jason Reiss
    Keymaster

    Any AppEUI/DevEUI can be used for ABP.
    The DevEUI must be unique per device.

    in reply to: LoRa messages not received by Node-red #21051
    Jason Reiss
    Keymaster

    Unfortunately, I don’t see this issue getting resources in the near term.

    in reply to: Uplink frame counter : 16 bits support #21050
    Jason Reiss
    Keymaster

    The end-device should initiate a join once the 16-bit counter reaches 0xFFFF. Rolling the counter back to 0 would be reuse of counter values with same session keys.

    Also in 4.3.1.5

    The end-device shall not reuse the same FCntUp value, except for retransmission, with the same application and network session keys.

    in reply to: LoRa messages not received by Node-red #21043
    Jason Reiss
    Keymaster

    It appears that the lora-in node is lacking any “connectionlost” handling code.

    The MQTT in/out nodes appear to be more robust in handling reconnects.

    in reply to: Cannot reset to factory default #21008
    Jason Reiss
    Keymaster

    You can also attach a USB cable to the device port on the back to get a terminal.

    Use minicom, teraterm or putty to connect with the serial interface.
    http://www.multitech.net/developer/products/multiconnect-conduit-platform/conduit/connecting-to-the-debug-interface/
    There is also a port behind the Multitech logo on the front, remove the screw slide the plate off.

    in reply to: Recieve info – LoRaWAN channel #20995
    Jason Reiss
    Keymaster
    in reply to: Send data to IOT Hub Azure #20984
    Jason Reiss
    Keymaster

    Did you follow this guide?

    See Using the MQTT protocol directly

    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support

    in reply to: Change gateway_ID on AEP model #20966
    Jason Reiss
    Keymaster

    The system will use the id programmed into the MTAC_LORA card. To override the behavior the init script must be modified.

    Edit /etc/init.d/lora-network-server
    Replace line 132 with either of the following curl lines.
    We will consider implementing the second option for future AEP release.

    
    # Remove the replacement out-right
    curl -m 5 -s "127.0.0.1/api/loraNetwork/lora/packetForwarderConfig" | jsparser -p /result > /var/run/lora/1/global_conf.json
    

    OR

    
    # Replace only if a placeholder is found with angled brackets in gateway_ID field. Added <.*> between quotes \")[^\"
    curl -m 5 -s "127.0.0.1/api/loraNetwork/lora/packetForwarderConfig" | jsparser -p /result | sed "s/\(.*gateway_ID\"\s*\:\s*\"\)<.*>[^\"]*\(.*\)/\1${lora_eui_raw}\2/g" > /var/run/lora/1/global_conf.json
    
    in reply to: udp client command, node list #20959
    Jason Reiss
    Keymaster

    Not yet. It is on todo list.

    in reply to: remove queued by mistake LoRa message #20931
    Jason Reiss
    Keymaster

    Looks like some of my message was filtered as HTML.

    That is correct, each device queue must be cleared.

    in reply to: remove queued by mistake LoRa message #20921
    Jason Reiss
    Keymaster

    The lora-in and lora-out nodes are just wrappers around MQTT.

    There are other message end-points available for control of the network server.

    MQTT Messages

    Send MQTT empty message to “lora/<DEV-EUI>/clear” to remove all queued packets. There is currently no command to remove or replace a single item.

    There is also a UDP command port 6677 interface available

    LoRa Network Server

    • This reply was modified 7 years, 7 months ago by Jason Reiss.
    in reply to: xdot skipping one frame in class C #20914
    Jason Reiss
    Keymaster

    Use the Rx2 Datarate setting.

    This setting will be sent to the dot in OTA join response.

    in reply to: xdot skipping one frame in class C #20906
    Jason Reiss
    Keymaster

    Your latest example does not show a step of 2.
    What is the AT+RSSI of received packet?
    Perhaps a packet was missed.
    You could test with RX2 datarate to 5 or 6, FSK is not as robust as LoRa.

    in reply to: Conduit port configs with IPv6 #20899
    Jason Reiss
    Keymaster

    The lora-out node communicates to end-devices through network server over lora rf. The port field is application specific.

    Ipv6 would be used to communicate with outside world via ethernet. An application (node-red) in conduit should be used to setup the external connection and forward packets to and fro.

    No changes to lora config should be necessary as lora communication to application is local.

    in reply to: xdot skipping one frame in class C #20896
    Jason Reiss
    Keymaster

    The latest version seems to be OK, no missed frames.

    admin@mtcdt:/var/log# /opt/lora/lora-network-server –version
    MTS Network Server – Version 1.0.37

    Have a look at the DOT logs too it will show all received frame counters.
    [INFO] Packet Received : Port: 1 FCnt: 00000002 Size: 1 ACK: 0 DUP: 0

    in reply to: xdot skipping one frame in class C #20895
    Jason Reiss
    Keymaster

    What versions are you running for xdot and lora-network-server?

    Do you see the missing frame counter being sent in Conduit logs?

    The counter will be sent from the network server, the dot will just display what was received.

    in reply to: Saving LoRa Query settings over reboot #20845
    Jason Reiss
    Keymaster

    LoRa Network Server

    In lora-network-server v1.0.32 the “database backup” command to the network server can be used to write the node database to flash. This database holds the node key information.

    This backup will automatically happen hourly and on a soft reboot (shutdown -r now).

    in reply to: How to change the Dotbox frequency to AU band #20839
    Jason Reiss
    Keymaster

    We are still working on a 3.x DOT BOX release.

    The 2.0.x DOT BOX firmware would need the unit reconfigured.

    Contact support.multitech.com to get the unit reconfigured for AU.

    in reply to: AT-Firmware: mDot not receiving data when in class C #20821
    Jason Reiss
    Keymaster

    Received packets will not appear on command port unless in serial data mode.
    A custom application on mDot may be needed to handle Class C received packets depending on your use-case.

    The following are commands to be used to see that Class C packets are received.

    Enable logging to see packet being received in debug output
    AT+LOG=6

    To show last packet received
    AT+RECV

    To show counter of last packet received
    AT+DLC

    To enter serial data mode
    AT+SD

    To exit issue +++

    in reply to: How to create custom applications #20795
    Jason Reiss
    Keymaster

    UDP or MQTT can be used to receive and send lora messages through the network server.

    MQTT Messages

    A sample app using node.js is available here:

    Conduit mLinux: LoRa Communication

    in reply to: Question about xDOT #20647
    Jason Reiss
    Keymaster

    Serial data mode in at firmware might meet your requirements.

    AT Command Getting Started Guide

    in reply to: lora_pkt_fwd #20612
    Jason Reiss
    Keymaster
    in reply to: lora_pkt_fwd #20610
    Jason Reiss
    Keymaster

    $ mts-io-sysfs show lora/product-id
    MTAC-LORA-868
    $ mts-io-sysfs show lora/hw-version
    MTAC-LORA-1.0

    This card is a USB card and must use the /opt/lora/basic_pkt_fwd or gps_pkt_fwd binaries.

    v3.x packet forwarder with V2 protocol is not available for USB cards.
    V1 protocol is used in basic/gps pkt_fwds

    in reply to: Only single Network Key? #20588
    Jason Reiss
    Keymaster

    The unique encryption keys referred to are the Session keys used after the join.

    Best practice for overall security is unique AppKeys per device as you are trying to configure.

    lora-query is the current way to configure unique appkeys per dev-eui.
    Be sure that the app-eui configured with the dev-eui does NOT match the NetworkID assigned to the Conduit. Otherwise it will validate the join against the Network Key.

    If you need more help with lora-query please provide more detail of what you have tried and what is not working for you.

    in reply to: ABP mDot downlink issues? #20583
    Jason Reiss
    Keymaster

    At+MAC=CMD

    Send a mac command from server or inject mac command to change sessio n rx param per lorawan.

    in reply to: Backing up session key DB – GW swap out #20580
    Jason Reiss
    Keymaster

    Do save of configuration on original Conduit.
    Administration > Save/Restore
    Restore on new Conduit.
    Or be sure the NetworkName/EUI and NetworkKey/Passphrase match on old and new boxes

    On old conduit do
    # /etc/init.d/lora-network-server stop
    Then copy /var/config/lora/lora-network-server.db off the box

    On new conduit do
    # /etc/init.d/lora-network-server stop
    Then copy saved db file to /var/config/lora/lora-network-server.db
    # /etc/init.d/lora-network server start

Viewing 30 posts - 901 through 930 (of 1,403 total)