lora-network-server v0.0.5

Home Forums Conduit: mLinux Model lora-network-server v0.0.5

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8710
    Sean Godinez
    Participant

    Hello Multi-Technicians,

    I can not join the latest version of the LoRa Network Server (v0.0.5). In the log below I tested out versions 0.0.3 to 0.0.5. You can observe v0.0.5 does not allow my mote to join. I even tried deleting the LoRa Network Server database, in case there was a migration issue. Is there any new mote software I should be running, or new config settings?

    Thanks,
    Sean

    root@mtcdt:~# tail -f /var/log/lora-network-server.log
    2:8:50:532|INFO| LoRa Network Server started, version 0.0.3
    2:8:50:538|INFO| DB loading…
    2:8:50:555|INFO| Database version: 2
    2:8:50:556|INFO| Latest version: 2
    2:8:56:337|INFO| Parsing 2 rx packets
    2:8:56:344|INFO| Received join request
    2:8:56:344|INFO| Queue join response 17 bytes
    2:8:56:357|INFO| Send Join Accept – EUI: 00:80:00:00:00:00:9a:a8 ADDR: 00000001
    2:8:56:358|INFO| Schedule TX Time on air: 100 ms
    2:8:56:360|WARNING| Tossing join request with duplicate nonce
    2:8:57:246|INFO| Frame transmitted to 00:00:00:01 via GW (00:80:00:00:00:00:9a:3c Chan LC4 127.0.0.1:34803) Seq# 1
    2:8:57:251|INFO| Transmit message 184 bytes
    2:9:16:976|INFO| Shutdown signal received 15
    2:9:17:6|INFO| DB backup 16 / 16 complete
    2:9:48:0|INFO| LoRa Network Server started, version 0.0.4
    2:9:48:9|WARNING| Setting for beacon interval not found. Beacon is disabled.
    2:9:48:11|INFO| Network Server Config ———————
    {
    “addressRange” : {
    “end” : “FF:FF:FF:FE”,
    “start” : “00:00:00:01”
    },
    “backupInterval” : 21600,
    “db” : “/var/config/lora/lora-network-server.db”,
    “log” : {
    “console” : false,
    “level” : 30,
    “path” : “/var/log/lora-network-server.log”,
    “syslog” : false
    },
    “lora” : {
    “beaconDelay” : 0,
    “beaconInterval” : 0,
    “beaconPower” : 27,
    “eui” : “00:80:00:00:00:00:9A:3C”,
    “frequencyBand” : “915”,
    “frequencyEU” : 867500000,
    “frequencySubBand” : 7,
    “maxTxPower” : 14,
    “netID” : “000000”,
    “nodeLostTime” : 600,
    “nodeQueueSize” : 16,
    “nodeResetTime” : 10,
    “timeToPktFwd” : 100
    },
    “mqtt” : {
    “enabled” : true,
    “host” : “127.0.0.1”,
    “port” : 1883
    },
    “network” : {
    “eui” : “de6e731acafa3d2c”,
    “key” : “1141dac81e696830fe4f96d0b3319783”,
    “leasetime” : 1440,
    “name” : “LemmaLogic”,
    “passphrase” : “all.your.base.are.belong.to.us”,
    “public” : false
    },
    “udp” : {
    “appPort” : 1784,
    “downstreamPort” : 1782,
    “upstreamPort” : 1780
    }
    }

    2:9:48:12|INFO| ——————————————-
    2:9:48:17|INFO| DB loading…
    2:9:48:35|INFO| Database version: 2
    2:9:48:35|INFO| Latest version: 3
    2:9:48:35|WARNING| Upgrading schema to version 3
    2:9:48:111|INFO| Beacon is disabled
    2:9:59:770|INFO| Parsing 2 rx packets
    2:9:59:771|INFO| Received join request
    2:9:59:774|INFO| Device found in DB, assigning address: 1
    2:9:59:777|INFO| Queue join response 17 bytes
    2:9:59:790|INFO| Send Join Accept – EUI: 00:80:00:00:00:00:9a:a8 ADDR: 00000001
    2:9:59:790|INFO| Schedule TX Time on air: 100 ms
    2:9:59:791|INFO| Received join request
    2:9:59:792|WARNING| Tossing join request with duplicate nonce
    2:10:0:698|INFO| Frame transmitted to 00:00:00:01 via GW (00:80:00:00:00:00:9a:3c Chan LC4 127.0.0.1:43778) Seq# 2
    2:10:0:706|INFO| Transmit message 185 bytes
    2:10:8:691|INFO| Parsing 1 rx packets
    2:10:8:691|WARNING| Recv’d frame failed CRC check
    2:10:14:885|INFO| Shutdown signal received 15
    2:10:14:920|INFO| DB backup 16 / 16 complete
    2:10:37:211|INFO| LoRa Network Server started, version 0.0.5
    2:10:37:219|WARNING| Setting for beacon interval not found. Beacon is disabled.
    2:10:37:223|INFO| Network Server Config ———————
    {
    “addressRange” : {
    “end” : “FF:FF:FF:FE”,
    “start” : “00:00:00:01”
    },
    “backupInterval” : 21600,
    “db” : “/var/config/lora/lora-network-server.db”,
    “log” : {
    “console” : false,
    “level” : 30,
    “path” : “/var/log/lora-network-server.log”,
    “syslog” : false
    },
    “lora” : {
    “beaconDelay” : 0,
    “beaconInterval” : 0,
    “beaconPower” : 27,
    “eui” : “00:80:00:00:00:00:9A:3C”,
    “frequencyBand” : “915”,
    “frequencyEU” : 867500000,
    “frequencySubBand” : 7,
    “joinByteOrder” : “LSB”,
    “maxTxPower” : 14,
    “netID” : “000000”,
    “nodeLostTime” : 600,
    “nodeQueueSize” : 16,
    “nodeResetTime” : 10,
    “rx1DatarateOffset” : 0,
    “rx2Datarate” : 12,
    “timeToPktFwd” : 100
    },
    “mqtt” : {
    “enabled” : true,
    “host” : “127.0.0.1”,
    “port” : 1883
    },
    “network” : {
    “eui” : “de6e731acafa3d2c”,
    “key” : “1141dac81e696830fe4f96d0b3319783”,
    “leasetime” : 1440,
    “name” : “LemmaLogic”,
    “passphrase” : “all.your.base.are.belong.to.us”,
    “public” : false
    },
    “udp” : {
    “appPort” : 1784,
    “appPortDown” : 1784,
    “appPortUp” : 1786,
    “downstreamPort” : 1782,
    “upstreamPort” : 1780
    }
    }

    2:10:37:223|INFO| ——————————————-
    2:10:37:228|INFO| DB loading…
    2:10:37:246|INFO| Database version: 3
    2:10:37:247|INFO| Latest version: 4
    2:10:37:247|WARNING| Upgrading schema to version 4
    2:10:37:247|ERROR| SQL error: [table network already exists] on first call
    2:10:37:248|ERROR| SQL Query failed to update schema to version 4
    2:10:37:319|INFO| Beacon is disabled
    2:10:46:369|INFO| Parsing 2 rx packets
    2:10:46:370|INFO| Received join request
    2:10:46:371|WARNING| Tossing join request, invalid NET EUI
    2:10:46:372|INFO| Received join request
    2:10:46:373|WARNING| Tossing join request with duplicate nonce
    2:10:55:898|INFO| Parsing 2 rx packets
    2:10:55:898|INFO| Received join request
    2:10:55:899|WARNING| Tossing join request, invalid NET EUI
    2:10:55:900|INFO| Received join request
    2:10:55:901|WARNING| Tossing join request with duplicate nonce
    2:11:1:70|INFO| Parsing 2 rx packets
    2:11:1:71|INFO| Received join request
    2:11:1:72|WARNING| Tossing join request, invalid NET EUI
    2:11:1:73|INFO| Received join request
    2:11:1:73|WARNING| Tossing join request with duplicate nonce
    2:13:30:167|INFO| Parsing 1 rx packets
    2:13:30:168|WARNING| Recv’d frame failed CRC check
    2:17:36:104|INFO| Parsing 1 rx packets
    2:17:36:104|WARNING| Recv’d frame failed CRC check
    2:18:17:635|INFO| Parsing 1 rx packets
    2:18:17:635|WARNING| Recv’d frame failed CRC check
    2:21:22:348|INFO| Shutdown signal received 15
    2:21:22:383|INFO| DB backup 16 / 16 complete

    *** DELETED LoRa Network Server Database: ***

    2:21:51:819|INFO| LoRa Network Server started, version 0.0.5
    2:21:51:828|WARNING| Setting for beacon interval not found. Beacon is disabled.
    2:21:51:831|INFO| Network Server Config ———————
    {
    “addressRange” : {
    “end” : “FF:FF:FF:FE”,
    “start” : “00:00:00:01”
    },
    “backupInterval” : 21600,
    “db” : “/var/config/lora/lora-network-server.db”,
    “log” : {
    “console” : false,
    “level” : 30,
    “path” : “/var/log/lora-network-server.log”,
    “syslog” : false
    },
    “lora” : {
    “beaconDelay” : 0,
    “beaconInterval” : 0,
    “beaconPower” : 27,
    “eui” : “00:80:00:00:00:00:9A:3C”,
    “frequencyBand” : “915”,
    “frequencyEU” : 867500000,
    “frequencySubBand” : 7,
    “joinByteOrder” : “LSB”,
    “maxTxPower” : 14,
    “netID” : “000000”,
    “nodeLostTime” : 600,
    “nodeQueueSize” : 16,
    “nodeResetTime” : 10,
    “rx1DatarateOffset” : 0,
    “rx2Datarate” : 12,
    “timeToPktFwd” : 100
    },
    “mqtt” : {
    “enabled” : true,
    “host” : “127.0.0.1”,
    “port” : 1883
    },
    “network” : {
    “eui” : “de6e731acafa3d2c”,
    “key” : “1141dac81e696830fe4f96d0b3319783”,
    “leasetime” : 1440,
    “name” : “LemmaLogic”,
    “passphrase” : “all.your.base.are.belong.to.us”,
    “public” : false
    },
    “udp” : {
    “appPort” : 1784,
    “appPortDown” : 1784,
    “appPortUp” : 1786,
    “downstreamPort” : 1782,
    “upstreamPort” : 1780
    }
    }

    2:21:51:831|INFO| ——————————————-
    2:21:51:832|INFO| Failed to open database [/var/config/lora/lora-network-server.db].
    2:21:51:837|INFO| DB loading…
    2:21:51:845|ERROR| SQL error: [no such table: schema] on first call
    2:21:51:845|INFO| Database version: 0
    2:21:51:845|INFO| Latest version: 4
    2:21:51:846|WARNING| Creating database
    2:21:51:901|INFO| Network settings not found in database, setting to current settings
    2:21:51:969|INFO| Beacon is disabled
    2:22:2:490|INFO| Parsing 2 rx packets
    2:22:2:491|INFO| Received join request
    2:22:2:492|WARNING| Tossing join request, invalid NET EUI
    2:22:2:493|INFO| Received join request
    2:22:2:493|WARNING| Tossing join request with duplicate nonce
    2:22:6:915|INFO| Parsing 1 rx packets
    2:22:6:916|INFO| Received join request
    2:22:6:916|WARNING| Tossing join request, invalid NET EUI

    #8713
    Brandon Bayer
    Blocked

    Hey Sean,

    Are you using the the latest version of libmDot?
    –> https://developer.mbed.org/teams/MultiTech/code/libmDot/rev/390fc83d588d

    -Brandon

    #8761
    Sean Godinez
    Participant

    Hi Brandon,

    For some reason I expected mbed’s Revision view to show my current revision and the latest on the remote master branch, or tell me how many commits ahead/behind from the remote. Sorry for the trouble.

    Thanks!
    Sean

    #8768
    Sean Godinez
    Participant

    Not a LoRa Network thing, but in regards to the last two posts.

    Two things:

    1) Whenever I update my project (right click on project in mbed online IDE, and select update all), the entire directory empties and I have to delete the folder and checkout the project again. This may be more of an mbed issue than a Multi-Tech issue. I’m using Chrome Version 44.0.2403.107 m.

    2) In the latest mDot_AT_firmware:

    Command.h line 70: const bool queryable();

    Creates a stack of similar warnings:

    Warning: Type qualifier on return type is meaningless in “CommandTerminal/Command.h”, Line: 70, Col: 10

    If the function is not changing any member variables of the Command class, and creating a copy of the returned boolean is desired, the prototype should probably be:

    bool queryable() const;

    If the function is not changing any member variables of the Command class, but it’s returning a member variable, and not copying the member variable on the return is desired, the prototype should probably be:

    const bool& queryable() const

    Either way, the stack of warnings concerning this line will disappear.

    Cheers!
    Sean

    #8769
    Sean Godinez
    Participant

    Disregard item 1 on last post. This happened when I created a new project off of another project vs importing from another project. I hadn’t committed anything, so I guess ‘update all’ took me to the head of my branch which was empty.

    Regards,
    Sean

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.