Problem with Class C sensors
Home › Forums › Conduit: AEP Model › Problem with Class C sensors
- This topic has 7 replies, 2 voices, and was last updated 8 years, 3 months ago by
Jason Reiss.
-
AuthorPosts
-
January 16, 2017 at 10:06 am #16330
frederic dubouis
ParticipantDear ,
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
January 16, 2017 at 11:03 am #16335Jason Reiss
Keymasterdo 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.January 17, 2017 at 2:46 am #16339frederic dubouis
ParticipantThanks but with ACK = false there are the same default .
Frederic
January 18, 2017 at 7:25 am #16375frederic dubouis
ParticipantDear ,
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” }
January 18, 2017 at 9:33 am #16388frederic dubouis
ParticipantDear ,
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
January 18, 2017 at 9:36 am #16390Jason Reiss
KeymasterMandatory:
msg.eui = “70-b3-d5-9b-a0-00-0f-1b” ;
msg.payload = “x”;Optional:
msg.port = 1;
msg.ack = false ;January 18, 2017 at 9:55 am #16391frederic dubouis
ParticipantThanks
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 ?
January 18, 2017 at 10:20 am #16392Jason Reiss
KeymasterConfigure the network server to log to a file.
Network Server Logging
Log Destination: FILE
Path: /var/log/lns.log
Log Level: MAXIMUMThen see if the log shows more clues.
-
AuthorPosts
- You must be logged in to reply to this topic.