Piia

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: clear donwlink queue #26172
    Piia
    Participant

    Hi!

    Related to previous question, here some more info:

    root@mtcdt:# lora-query -x packet queue delete 3741500d00450044
    {“data”:null,”status”:”success”}

    root@mtcdt:/var/iot-gw-backend-storage# mosquitto_sub -v -t “#”| grep 45-00-44
    lora/37-41-50-0d-00-45-00-44/down {“data”:”QQU=”,”ack”:true}
    lora/37-41-50-0d-00-45-00-44/down_dropped {“ack”:true,”data”:”QQU=”,”data_size”:4,”deveui”:”3741500d00450044″}
    lora/37-41-50-0d-00-45-00-44/queue_full (null)

    Why the queue of device 37-41-50-0d-00-45-00-44 is full after clearing?

    -Piia

    in reply to: clear donwlink queue #26073
    Piia
    Participant

    Hi!

    Still one question related to this queue clearing. I have set deviceQueueSize to 2 in config. When I send some commands to device (more that 2) I receive queue_full message, and our app clears the queue. If I use this command to check situation: lora-query -x packet queue, the queue is empty. If I then try to send again downlink to device, I receive the queue_full message again, even the queue seems to be empty so I can’t send any messages to device. Why?

    -Piia

    in reply to: Whitelist vs Node-list vs Session list #26038
    Piia
    Participant

    Hi!

    We have still problems with lora network server 2.0.19.

    First we aren’t able to clear lora device queue with mqtt: ‘/lora/<deviceid>/clear’. This doesn’t work. We have to use lora-query -x .. utility.

    Second lora network server crashes sometimes. E.g. yesterday it crashed and the last lines from lora network server log:

    21:12:11:420|WARNING| Device queue is full
    21:12:11:424|WARNING| Device queue is full
    21:12:11:434|WARNING| Device queue is full
    21:12:12:711|WARNING| Device queue is full
    21:12:12:873|WARNING| Device queue is full
    21:12:12:907|WARNING| Device queue is full
    21:12:12:914|WARNING| Device queue is full
    21:12:12:948|WARNING| Device queue is full
    21:12:12:952|WARNING| Device queue is full
    21:12:13:168|WARNING| Device queue is full

    Problem seems to be that already whitelisted devices won’t join properly after lora network server crashes and is restarted. Devices send join request but lora network server won’t send join accept.

    “Problems still exists… if device is whitelisted, lora-network-server does not send join-accepted message… we have 50 devices, 20 did not get join-accepted.”

    How we can fix this?

    Regards Piia

    in reply to: clear donwlink queue #26037
    Piia
    Participant

    Thanks, it works!

    in reply to: clear donwlink queue #25991
    Piia
    Participant

    Hi!

    We have also some problems with lora network server queue.
    nodeQueueSize is set to 1 in lora-network-server.conf, but it seems that it’s not working properly. If multiple downlinks are sent to device, I can see them all in queue (lora-query -x packet queue). Sometimes we receive queue_full message from network server and we can clear device queue, but not always.

    We are using mlinux 3.3.24 & lora network server 2.0.19

    • This reply was modified 5 years, 8 months ago by Piia.
Viewing 5 posts - 1 through 5 (of 5 total)