How to disable message ack?

Home Forums Conduit: mLinux Model How to disable message ack?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18206
    Miro Jelicic
    Participant

    Hi,

    Im seeing that on every uplink message there is ack sent downstream.
    Is there a way to disable that?

    node from lora-query -n:
    00:00:00:cb ca-dd-1e-37-00-3c-00-42 A 2017-04-06T22:27:36Z 81 30 30 28 2 0 -81 -45 -64 5.5 13.2 9.5

    from log file:

    20:58:50:689|DEBUG| Start
    20:58:50:690|INFO| Frame transmitted to 00:00:00:f3 via GW (00:80:00:00:00:00:9b:d6 Chan LC6 127.0.0.1:60612) Seq# 7
    20:58:50:690|TRACE| SQL query = UPDATE nodes SET lastdownmsgseqno = 7 WHERE address = “000000f3”;
    20:58:50:693|TRACE| Link controller active
    20:58:50:693|DEBUG| App Data Queue: 0 front size: 512 available: 239
    20:58:50:694|DEBUG| Transmitted Frame data
    ================================
    000 60 f3 00 00 00 03 06 00
    008 02 11 01 e8 2f 89 bb

    20:58:50:694|DEBUG| rx1Offset: 0 rx1Datarate: 10
    20:58:50:694|DEBUG| Use Normal Window Time
    20:58:50:696|DEBUG| JSON tx: {
    “txpk” : {
    “codr” : “4/5”,
    “data” : “YPMAAAADBgACEQHoL4m7”,
    “datr” : “SF10BW500”,
    “freq” : 926.29999999999995,
    “ipol” : true,
    “modu” : “LORA”,
    “ncrc” : false,
    “powe” : 26,
    “rfch” : 0,
    “size” : 15,
    “tmst” : 425210044
    }
    }

    20:58:50:697|INFO| Transmit UDP message to Gateway 184 bytes
    20:58:50:697|DEBUG| Send on socket 188 bytes, payload len: 184
    20:58:50:704|TRACE| Parse downstream message 12 bytes
    20:58:50:705|TRACE| Gateway 00:80:00:00:00:00:9b:d6 seen IP address 127.0.0.1:60612
    20:58:50:709|DEBUG| Send MQTT message 174 bytes
    20:58:50:709|DEBUG| UDP message: lora/ca-dd-1e-37-00-44-00-24/packet_sent {“codr”:”4/5″,”data”:”YPMAAAADBgACEQHoL4m7″,”datr”:”SF10BW500″,”freq”:926.29999999999995,”ipol”:true,”modu”:”LORA”,”ncrc”:false,”powe”:26,”rfch”:0,”size”:15,”tmst”:425210044}
    20:58:50:710|DEBUG| UDP port: 1784
    20:58:50:712|TRACE| Published message: 27587
    20:58:50:749|TRACE| MQTT message: lora/ca-dd-1e-37-00-44-00-24/packet_sent

    lora config:

    {
    “lora”: {
    “frequencyBand”: “915”, /* US=”915″, EU=”868″ */
    “frequencySubBand”: 0, /* Sub-band for US operation, 1-8 */
    “rx1DatarateOffset”: 0, /* Datarate offset for mote rx window 1 sent in join response (0-3) */
    “rx2Datarate”: 12, /* Datarate for mote rx window 2 sent in join response (7-12) */
    “maxTxPower”: 26, /* Max Tx power (dBm), -6 to 26 */
    “frequencyEU”: 867500000 /* center freq for extra EU channels (Hz) */
    },
    “udp”: {
    “appPortUp”: 1784, /* port for user-developed application use */
    “appPortDown”: 1786 /* port for user-developed application use */
    },
    “addressRange”: {
    “start”: “00:00:00:01”, /* address range used for mDots */
    “end”: “FF:FF:FF:FE”
    },
    “network”: {
    “public”: true, /* set to false for private LoRa network with mDots + Conduit */
    “leasetime”: 0, /* time until mDot join expires (minutes) or 0 for no expiration */
    “eui”: “eui”,
    “key”: “key”
    },
    “log” : {
    “console” : true,
    “syslog” : false,
    “level” : 100, /* error=10, warn=20, info=30, debug=50, trace=60, max=100 */
    “path”: “/var/log/lora-network-server.log”
    },
    “mqtt”: {
    “enabled”: true,
    “host”: “127.0.0.1”,
    “port”: 1883
    }
    }

    Thank you!

    #18207
    Jason Reiss
    Keymaster

    The ACK is requested from the device. To disable the device would need to send an unconfirmed message.

    There is no setting to ignore the ACK from an uplink, unless you disable both receive windows.

    See test settings to disable RX windows.

    Conduit mLinux: Advanced LoRa Configuration

    #18219
    Miro Jelicic
    Participant

    Thanks for the reply Jason!

    I will have to fix it on device as we need RX windows for other messages.

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