Jason Reiss

Forum Replies Created

Viewing 30 posts - 1,351 through 1,380 (of 1,403 total)
  • Author
    Posts
  • in reply to: Lora network-server received messages : timestamps #10750
    Jason Reiss
    Keymaster

    The “tmst” value is a timestamp internal to the packet-forwarder processes. The network server uses this value to schedule the downlink packets.

    The “timestamp” value is added by the network server when it receives the UDP packet from the forwarder.

    We could include the ms in the timestamp but the would not accurately represent the exact received time of the frame at the radio.

    The “tmst” value is a clock from the start of packet-forwarder, you could reference the process start time. But this time is in second resolution so not accurate to ms.

    > ps -eo pid,comm,lstart

    in reply to: RF Modulation used by Lora (?) #10513
    Jason Reiss
    Keymaster

    Look for Semtech LoRa modulation.

    in reply to: Connection refused after auto-flash #10425
    Jason Reiss
    Keymaster

    You can try to access the device through the USB Device port on the back of the unit. Connect with a terminal emulator at 115200. Login with the same creds as ssh.

    in reply to: Running openVPN client on Conduit? #10207
    Jason Reiss
    Keymaster

    If you have an internet connection and run
    > opkg update
    > opkg install openvpn

    It will install that package for you to try.
    I don’t know if anyone has.

    in reply to: Join Lora network via OTAA #10191
    Jason Reiss
    Keymaster

    Tom,

    Could you open a support case on support.multitech.com regarding the lora server crash and share your mote configuration to try to reproduce the error.
    Network Address and keys used for ABP and commands used to enter mote into database?

    Thanks,

    Jason

    in reply to: How to upload mbed firmware to mDot #10097
    Jason Reiss
    Keymaster

    Did you remove power from the UDK?

    in reply to: mDot EVB Docs? #10092
    Jason Reiss
    Keymaster

    Jose,

    For RF level testing you may need to make custom firmware using SxRadio libraries.

    Through AT commands and the mDot library only LoRaWAN supported functionality will be available.

    Here are some examples and libraries.

    https://developer.mbed.org/users/dudmuck/

    Also checkout the datasheets at Semtech.com for radio information.
    http://www.semtech.com/apps/product.php?pn=SX1272

    in reply to: mdot #10083
    Jason Reiss
    Keymaster

    Are you trying to communicate with a LoRaWAN gateway? The AT-Command firmware and libmDot library are setup to use the LoRaWAN 1.0 communcation protocol which uses only LoRa and FSK modulations. The bandwidth is determined by datarate which must match the receiving entity.

    If you want to use the Sx1272 radio on the mDot for communcations other than defined in LoRaWAN it will be better suited for you to use mbed and a SxRadio driver. All SxRadio drivers I have used employ settings for only LoRa and FSK modulations. GMSK would have to be added into them.

    The following link has examples of an SxRadio tx and rx for mDot.
    https://developer.mbed.org/users/dudmuck/

    in reply to: mDot Wake up timing #10079
    Jason Reiss
    Keymaster

    You could issue AT until OK is received.

    in reply to: mDot with public networks #10052
    Jason Reiss
    Keymaster

    What frequencies are used by the gateway.

    Try AT+FSB=1 to use only the first 8 channels of US915

    With AT+FSB=0 the mDot will use 64 channels and choose randomly between them.

    The AT+RXDR command is not needed. The lora mac layer will choose the correct datarate depending on AT+TXDR setting and Rx window.

    in reply to: AT commands? #10033
    Jason Reiss
    Keymaster

    Just swap the pins.

    Serial debug(XBEE_DOUT, XBEE_DIN);
    mts::MTSSerial serial(USBTX, USBRX, 512, 512);

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #10000
    Jason Reiss
    Keymaster

    lora-query will be run on the command line. It will open UDP session and issue command and give result. It makes it easier than using the “nc -u localhost 6677”.

    # lora-query -t 5000 -s -n

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9997
    Jason Reiss
    Keymaster

    Also lora-query

    Usage: lora-query [-t timeout] [-s] [-n]
    Simple UDP client utility to pull info from LoRa Network server
    –timeout (t) : UDP recv timeout, default: 100 (msecs)
    –stats (s) : get LoRa Network server statistics
    –stats-reset (r) : reset LoRa Network server statistics
    –node-list (n) : get Node List
    –json (j) : data in json format
    –help (?) : returns this message
    –version (v) : print version

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9996
    Jason Reiss
    Keymaster

    node list

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9994
    Jason Reiss
    Keymaster

    I found the issue with the config.
    Backup interval must be a number, not a string.

    “backupInterval”: 21600,

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9991
    Jason Reiss
    Keymaster

    OK, things are running?

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9990
    Jason Reiss
    Keymaster

    When I copy and paste from the above post there are some bad quote characters. Are these in the file on the Conduit?

    Here they are replaced with ‘?’ characters:

    {                                                   
        "db": "/var/config/lora/lora-network-server.db",
        "backupInterval": "21600?,                      
        "lora": {                                     
            "netID": "010203?,                        
            "frequencyBand": "915?,                   
            "frequencySubBand": 7,                    
            "rx1DatarateOffset": 0,                   
            "rx2Datarate": 12,                        
            "maxTxPower": 14,                         
            "frequencyEU": 867500000                  
        },                                            
        "udp": {                                      
            "appPortUp": 1784,                        
            "appPortDown": 1786                       
        },                                            
        "addressRange": {                             
            "start": "00:00:00:01?,                   
            "end": "FF:FF:FF:FE"                      
        },                                            
        "network": {                                  
            "public": true,              
            "leasetime": 1440,           
            "name": "BGLORANETWORK",     
            "passphrase": "BGLORANETWORK"
        },                               
        "mqtt": {                                     
            "enabled": true,                          
            "host": "127.0.0.1?,                      
            "port": 1883                              
        },                                            
        "log": {                                      
            "console": true,                          
            "syslog": false,                          
            "level": 30,                              
            "path": "/var/log/lora-network-server.log"
        }                                             
    }
    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9981
    Jason Reiss
    Keymaster

    Another thing to do is check that the lora-network-server.conf file is in proper form. You can copy and paste the contents to jsonlint.com to verify it is still in json format. Fix any errors and copy/paste the file back.

    • This reply was modified 9 years, 5 months ago by Jason Reiss.
    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9978
    Jason Reiss
    Keymaster

    Did you change passphrase?

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9977
    Jason Reiss
    Keymaster

    Try stop and then start instead of restart.

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9975
    Jason Reiss
    Keymaster

    What does the log show?

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9973
    Jason Reiss
    Keymaster

    You can check /var/log/lora-network-server.log.

    It will mention the short name and passphrase.

    Have you modified lmic for 8 channel operation?

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9969
    Jason Reiss
    Keymaster

    Network name and passphrase need to be at least 8 characters.

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9968
    Jason Reiss
    Keymaster

    Check
    # ps -A | grep lora

    Make sure lora-network-server is running.

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9966
    Jason Reiss
    Keymaster

    Command should be
    nc -u localhost 6677

    in reply to: Conduit Manual Join to SX1276 MBED (Third party device) #9964
    Jason Reiss
    Keymaster

    Can you post an example of the node add command you issued?

    Also post the command you use to connect to command port.

    in reply to: failed to join the network #9939
    Jason Reiss
    Keymaster

    What settings do you have on conduit?

    in reply to: No AT Connection mDot -> Conduit #9856
    Jason Reiss
    Keymaster

    You could also try to create a simple mbed program that just echos the serial input and try each interface in the program to trouble shoot without the AT firmware.

    Serial Port pins: XBEE_DOUT, XBEE_DIN
    USB Port pins: USBTX, USBRX

    
    #include "mbed.h"
    
    Serial pc(USBTX, USBRX); // tx, rx
    // Serial pc(XBEE_DOUT, XBEE_DIN); // tx, rx
    
    int main()
    {
        pc.baud(115200);
        
        pc.printf("hello\r\n");
        
        while(1) {
            if(pc.readable()) {
                pc.putc(pc.getc());
            }
        }
    }
    
    in reply to: No AT Connection mDot -> Conduit #9832
    Jason Reiss
    Keymaster

    At commands issued to the serial port.

    USB is debug output only.

    There is a bootloader on the USB that is accessible if you press enter key right after reset.

    in reply to: No AT Connection mDot -> Conduit #9829
    Jason Reiss
    Keymaster

    AT-Commands will be accessible on the serial port of a UDK board.

    On the usb port of the UDK board debug output can be seen if enabled.
    Use AT+LOG=6 for the highest level of output.

    Be sure flow control is off.

    I use minicom on mac. I did try CoolTerm and was able to access at command port.

    The light on the UDK will be red until firmware is flashed, that is OK.

Viewing 30 posts - 1,351 through 1,380 (of 1,403 total)