Problem with Class C sensors

Home Forums Conduit: AEP Model Problem with Class C sensors

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16330
    frederic dubouis
    Participant

    Dear ,
    I have a problem to send some message from Gateway to sensor ( MultiConnect Conduit 1.3.2 ).

    In the Gateway , i have 3 sensors Lora Class C ( ATIM sensors ) . This sensor send message to gateway every 3 minutes ( No problem ) . But when i trie to send some message from Gateway to sensor , sometime is starting immediately, sometime the trame is delayed . When the trame is not send immediately , the gateway wait , wait, wait … before send the message . I don’t know why !!!! When the gateway receive a “good frame” sending by the sensor ( but what is the good frame , I don’t know ) , the transmission is unlock and all the frames are send to the sensor by the gateway .

    In the function node , i have only this code .

    var sttmp =”1″
    sttmp = msg.payload ;
    msg.eui =”70-b3-d5-9b-a0-00-0f-1b”
    msg.payload = sttmp ;
    return msg;

    Have you an idea !

    Thanks

    frederic

    #16335
    Jason Reiss
    Keymaster

    do you have ack enabled in the lora-out node?
    If it is on then the network server may be waiting for ACK from the device.

    #16339
    frederic dubouis
    Participant

    Thanks but with ACK = false there are the same default .

    Frederic

    #16375
    frederic dubouis
    Participant

    Dear ,

    Somebody has an idea !

    On above , there are the debug lora out node when i am trying to send a message from Gateway to sensor .

    { “topic”: “On BP 7”, “payload”: “1”, “_msgid”: “b81f2205.47e0e”, “ack”: false, “eui”: “70-b3-d5-9b-a0-00-0f-1b” }

    #16388
    frederic dubouis
    Participant

    Dear ,

    I am trying to explain better .

    When the gateway receive a msg Lora IN , there are a lot of parameters . ( see above )
    msg= { “chan”: 7, “cls”: 0, “codr”: “4/5”, “datr”: “SF12BW125”, “freq”: “869.9”, “lsnr”: “7.8”, “mhdr”: “4007000000803602”, “modu”: “LORA”, “opts”: “”, “port”: 5, “rfch”: 1, “rssi”: -33, “seqn”: 566, “size”: 4, “timestamp”: “2017-01-18T15:06:28.165324Z”, “tmst”: 3716366084, “payload”: “A\r\n”, “eui”: “70-b3-d5-9b-a0-00-0f-1b”, “_msgid”: “3e33b97c.c1cc46” }

    My request is :
    In the node “Lora out” with Third-party Devices using in Class C , I would like to know the parameters that are mandatory.
    I think that there are at least those this :
    msg.eui = “70-b3-d5-9b-a0-00-0f-1b” ;
    msg.ack = false ;
    msg.payload = “x”;
    what else ?

    Thanks for your help .

    frederic

    #16390
    Jason Reiss
    Keymaster

    Mandatory:
    msg.eui = “70-b3-d5-9b-a0-00-0f-1b” ;
    msg.payload = “x”;

    Optional:
    msg.port = 1;
    msg.ack = false ;

    #16391
    frederic dubouis
    Participant

    Thanks

    But with this parameters , sometime it’s work , sometime the gateway wait … wait before sending the message and after push all the message .

    Have you a idea ?

    #16392
    Jason Reiss
    Keymaster

    Configure the network server to log to a file.

    Network Server Logging
    Log Destination: FILE
    Path: /var/log/lns.log
    Log Level: MAXIMUM

    Then see if the log shows more clues.

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