Jason Reiss

Forum Replies Created

Viewing 30 posts - 721 through 750 (of 1,403 total)
  • Author
    Posts
  • in reply to: Ticker/Timeout of mbed-os on mDot #22689
    Jason Reiss
    Keymaster
    in reply to: private network with 2 gw #22688
    Jason Reiss
    Keymaster

    Yes that is correct.

    in reply to: Create text file in on-board memory #22685
    Jason Reiss
    Keymaster

    The DETAILS.TXT file is in the flash of the programming module on the developer board. The mDot software does not have access to it.

    The boot loader can be used to send a file from the flash to a PC over serial. The file name will have ‘u_’ prepended to the name you have assigned through code.

    The bootloader is accessed through the debug port.
    https://os.mbed.com/teams/MultiTech/wiki/updating-firmware-using-MTS-bootloader

    Available commands:
    help: display this message
    boot: start user application
    upgrade : upgrade to new firmware transferred over serial
    transfer : transfer new firmware over serial, but don’t flash it
    recv simple : read file into the filesystem over serial
    recv ymodem [filename]: read file into the filesystem over serial
    send
    : send file from the filesystem over serial
    flash: flash new firmware that has already been transferred
    reset: perform a soft reset of the system
    delete
    : delete the specififed file from the filesystem
    erase: erase entire 2MB external flash – BE SURE YOU WANT TO DO THIS!

    in reply to: private network with 2 gw #22684
    Jason Reiss
    Keymaster

    You could implement a blacklist using an application

    In node-red use MQTT in and out nodes with a function node between.
    This code will clear the join accept packet out of the downlink queue.

    
    if (msg.topic.search("<BLACK-LISTED-EUI>")) {
        msg.topic = msg.topic.replace("joined", "clear");
        return msg;
    } else {
        return null;
    }
    
    in reply to: Node-RED failing to load #22681
    Jason Reiss
    Keymaster

    I suggest you go back to start.

    Download the aep upgrade file

    Downloads

    Go to Admin > Firmware Upgrade

    This will reset the file system.

    in reply to: private network with 2 gw #22676
    Jason Reiss
    Keymaster

    Do you use unique keys per device in the whitelist or the same key?
    Both Conduits are configured for same NetworkEUI/AppEUI and NetworkKey/AppKey?
    End-devices are configured same NetworkEUI/AppEUI and NetworkKey/AppKey?
    Can end-devices use different AppEUI or AppKey?

    in reply to: ABP issue/counters not resetting #22640
    Jason Reiss
    Keymaster

    When a duplicate is detected the FCNT value is not reporting correctly in this version of network server. It is an uninitialized value.

    In the next release of network server, the value is initialized to FFFFFFFF which may show in the FCNT if the packet cannot be authenticated.

    In the server update when a duplicate is received the FCNT will be set correctly.
    |CHECK-PKT|FCNT: 00000002 LAST-FCNT: 00000002 Duplicate: yes

    Although the enableStrictCounterValidation is set to false, the network server will still filter out duplicate messages from being reported to the application. So if the end-device is sending 0 repeatedly the payloads are not forwarded to the application.

    in reply to: GNSS module fix #22629
    Jason Reiss
    Keymaster

    Looks like that state is temporary.

    INFO: Disabling GPS mode for concentrator’s counter…
    INFO: host/sx1301 time offset=(1518963007s:43415µs) – drift=-622µs
    INFO: Enabling GPS mode for concentrator’s counter.

    in reply to: FCC Test Procedure #22626
    Jason Reiss
    Keymaster

    FCC regulation allows a hybrid mode for FHSS devices using DTS for 8 channel operation. It is discussed how FCC Part 15.247 includes this mode of operation in this manual.
    https://www.semtech.com/uploads/documents/an1200.26.pdf

    Below is an excerpt from the LoRaWAN Regional Parameters.

    — LoRaWAN Regional Parameters 1.0.2 Section 2.2.2
    Hybrid mode, which requires that the device transmit over multiple channels (this
    may be less than the 50 channels required for FHSS mode, but is recommended to
    be at least 4) while complying with the Power Spectral Density requirements of DTS
    mode and the 400 msec dwell time of FHSS mode. In practice this limits the
    measured conducted power of the end-device to 21 dBm.

    For the issue of Radiated Emission tests and Field Strength tests please open a ticket at support.multitech.com to discuss with our certifications team.

    in reply to: GNSS module fix #22621
    Jason Reiss
    Keymaster

    https://github.com/Lora-net/packet_forwarder

    If you are still having issues getting time from all gatways through ttn you may want to setup a UDP server to recieve directly from packet fowarders.

    in reply to: GNSS module fix #22613
    Jason Reiss
    Keymaster

    looks like you have it configured correctly and get gps data

    what sort of logging happens when you run manually, as described in the above 12:41 pm post.

    $ ./lora_pkt_fwd

    you can also forward the packets locally to “127.0.0.1” and listen with netcat

    $ nc -u -l -p 1700

    See what info is in packets going to TTN. After that it is up to TTN to handle the time info once it is forwarded.

    in reply to: GNSS module fix #22610
    Jason Reiss
    Keymaster

    Do you have a USB or SPI MTAC-LORA card?

    For USB the gps_pkt_fwd-usb must be used.

    $ cd /var/run/lora/1/
    $ ls -lah
    $ /etc/init.d/lora-network-server stop
    $ ./lora_pkt_fwd

    A work around could be to modify the /etc/init.d/lora-network-server script.
    Change basic_pkt_fwd-usb to gps_pkt_fwd-usb near line 56

    ln -sf /opt/lora/basic_pkt_fwd-usb $pkt_fwd
    to
    ln -sf /opt/lora/gps_pkt_fwd-usb $pkt_fwd

    in reply to: GNSS module fix #22607
    Jason Reiss
    Keymaster

    Without the packet forwarder running can you get data out of the /dev/ttyXRUSB2

    Try to read the GPS device
    > cat /dev/ttyXRUSB2

    Depending on the TTN packet forwarder installed you will have to reach out the maintainer of the code to get support for issues.

    Perhaps you are using this version?
    https://github.com/kersing/packet_forwarder

    in reply to: FCC Test Procedure #22559
    Jason Reiss
    Keymaster

    Disable ACK
    AT+ACK=0

    Disable waiting after Tx for Rx Windows
    AT+TXW=0

    This will allow sending faster than normal.

    To enable waiting for Rx windows
    AT+TXW=1

    Set on a single frequency, this setting will not be sticky when saved with AT&W and AT+NJM is not peer to peer, if the device is reset then AT+TXF will need to be issued again.
    AT+TXF=902300000

    Reset to frequency hopping
    AT+TXF=0

    AT+CHM can also be used to reduce channel usage by modifying the enabled channels mask.

    in reply to: One Appkey per end-device #22552
    Jason Reiss
    Keymaster
    in reply to: Create text file in on-board memory #22546
    Jason Reiss
    Keymaster

    When you upload either binary?

    in reply to: Create text file in on-board memory #22544
    Jason Reiss
    Keymaster

    Did you compile the example project as is or try to integrate with your own project?

    Can you get the example project to work without modifications?

    in reply to: Create text file in on-board memory #22542
    Jason Reiss
    Keymaster
    in reply to: OTAA – What if an xDot is compromised? #22530
    Jason Reiss
    Keymaster

    Yes that is the risk of using the same AppKey configured on end-devices.
    It allows convenience of configuration at the expense of some security.

    Our next AEP version will bring out the configuration of unique keys for end-devices to the UI.

    in reply to: readUserBackupRegister #22517
    Jason Reiss
    Keymaster

    Glad to help Pete.
    If you ever need more timely support, our support portal is also available to customers. support.multitech.com

    in reply to: readUserBackupRegister #22515
    Jason Reiss
    Keymaster

    Can you compile and try this example on your mDot?

    https://os.mbed.com/users/jreiss/code/BackupRegisterExample/

    in reply to: readUserBackupRegister #22512
    Jason Reiss
    Keymaster

    I think it is working although your check fails because it is expecting MDOT_OK to be returned.

    MDOT_OK is defined as 0 and is equivalent to false.
    The check is printing failed if 0 is NOT returned.
    In the success case true will be returned which is definitely not 0.

    From mDot.h the backup register functions are declared to return a true or false value
    https://os.mbed.com/teams/MultiTech/code/libmDot-mbed5/file/mDot.h/

    bool writeUserBackupRegister(uint32_t reg, uint32_t data);
    bool readUserBackupRegister(uint32_t reg, uint32_t& data);

    • This reply was modified 7 years, 4 months ago by Jason Reiss.
    in reply to: AT firmware: raw tx #22507
    Jason Reiss
    Keymaster
    in reply to: AT firmware: raw tx #22505
    Jason Reiss
    Keymaster

    Sorry, there is not a command to send raw LoRa packets in the AT firmware or libmDot libraries.

    Closest thing would be to set in MANUAL mode
    AT+NJM=0

    The ADDR can be set with
    AT+NA=00112233

    Uplink counter can be adjusted with
    AT+ULC=1

    And disable encryption of the payload
    AT+ENC=0

    The header and MIC will still be in the packet

    in reply to: Set lora and ethernet settings from application #22499
    Jason Reiss
    Keymaster

    Here are the end-points for the REST API

    Conduit mPower API

    Here are some curl examples, these are easier to show than a node-red flow. Should not be too much work to port node-red.

    # curl 127.0.0.1/api/ni/nis/0 -X PUT --data &#039;{"MAC":"00:08:00:4A:1E:AF","available":true,"bridge":"--","ipv4":{"dns1":"172.16.0.20","dns2":"", "gateway":"172.16.0.1", "ip":"172.16.0.182","mask":"255.255.255.0","mode":"STATIC"}, "name":"eth0","nitype":"ETHER","type":"LAN"}&#039; -H "Content-Type: application/json"

    # curl 127.0.0.1/api/loraNetwork -X PUT --data &#039;{"network":{"name":"NEW-NAME"}}&#039; -H "Content-Type: application/json"

    # curl 127.0.0.1/api/command/save_restart -X POST --data &#039;&#039; -H "Content-Type: application/json"

    • This reply was modified 7 years, 4 months ago by Jason Reiss.
    in reply to: readUserBackupRegister #22492
    Jason Reiss
    Keymaster

    What is not working?

    sleeptime != sleep_time

    in reply to: Automatic recognition of class C nodes #22490
    Jason Reiss
    Keymaster

    There is no message in the protocol for an end-device to send to the network server to change class.

    This will need to be an application level message.

    An application can listen for Joined messages and change new devices to class C as the records are created.

    in reply to: Non-blocking join #22463
    Jason Reiss
    Keymaster

    We have no plans in the near term. This would be a lower level change that we can look into for a future release.

    Thanks for the feedback.

    Jason Reiss
    Keymaster

    There is a setting in the packet forwarder that can be enabled to quit the packet forwarder if the network server cannot be reached after a series of “keepalive_interval” checks.

    Add this setting to the “gateway_conf” section to enable the autoquit
    “autoquit_threshold”: 30

    On AEP the angel process will restart the packet forwarder after it quits.

    We are updating our examples to include this setting.

    in reply to: APPEUI location in mLinux Conduit #22453
    Jason Reiss
    Keymaster

    When a network name is provided, the AppEUI is created by preforming crc64 to get a 64-bit EUI.

    Otherwise the 64-bit value can be used directly in mDot and Conduit as AppEUI.

Viewing 30 posts - 721 through 750 (of 1,403 total)