Strange behaviour on data delivery
Home › Forums › Conduit: mLinux Model › Strange behaviour on data delivery
Tagged: mosquitto data delivery
- This topic has 0 replies, 1 voice, and was last updated 8 years, 4 months ago by
Marco Oman.
-
AuthorPosts
-
November 24, 2016 at 3:42 am #15631
Marco Oman
ParticipantHi,
I am using a Conduit/mLinux model and commuicationg with a Microchip RN2483. The module joins over ota and all is OK. I am able to send also data down to the module by using mosquitto_pub on the topic lora/DEVID/down.
The problem is the following. I am publishing the same data for two nodes
(the log is from command mosquitto_sub -t lora/+/ -v)
lora/00-04-a3-0b-00-1a-31-54/down {“data”:”eyJzYyI6IjA0YjQwMTE0NDI0NzIwMDI0OSJ9″}
lora/b8-39-01-a0-39-89-f2-28/down {“data”:”eyJzYyI6IjA0YjQwMTE0NDI0NzIwMDI0OSJ9″}Of these two nodes just the first has joined teh network, the second is a fake. The problem is that I get the data delivered to my node twice.
At the end of the post you can see the rest of the logs where one can see the long ‘data’ tag on ‘packet_sent’ topic, and I also find the data on my device. If I omit the fake data push (on ‘down’ topic) then I get the data transmitted just once. I tried also to push data on more than one device and the data seems delivered to the joined device also for the fake ones.Any idea?
lora/00-04-a3-0b-00-1a-31-54/packet_recv {“chan”:5,”codr”:”4/5″,”data”:”gAIAAAAAAwAJB/b5WqlWuloBpRaGKMg36kxJVes9bkO8yQ==”,”datr”:”SF11BW125″,”freq”:869.5,”lsnr”:5.7999999999999998,”modu”:”LORA”,”rfch”:1,”rssi”:-24,”size”:34,”stat”:1,”time”:”2016-11-24T09:26:58.300176Z”,”tmst”:150352300}
lora/00-04-a3-0b-00-1a-31-54/up {“chan”:5,”cls”:0,”codr”:”4/5″,”data”:”eyJzIjowLCJlV2giOjAsInAiOjB9″,”datr”:”SF11BW125″,”freq”:”869.5″,”lsnr”:”5.8″,”mhdr”:”8002000000000300″,”modu”:”LORA”,”opts”:””,”port”:9,”rfch”:1,”rssi”:-24,”seqn”:3,”size”:28,”timestamp”:”2016-11-24T09:26:58.300176Z”,”tmst”:150352300}
lora/00-04-a3-0b-00-1a-31-54/packet_sent {“codr”:”4/5″,”data”:”YAIAAAAwBQAB3vZt+r6XozPmVVHq+DTsCtq7ivste3/UyVYKff148g”,”datr”:”SF11BW125″,”freq”:869.5,”ipol”:true,”modu”:”LORA”,”ncrc”:false,”powe”:20,”rfch”:0,”size”:40,”tmst”:151352300}
lora/00-04-a3-0b-00-1a-31-54/packet_recv {“chan”:6,”codr”:”4/5″,”data”:”gAIAAAAABAAbqyW1n8HRWHZbF9elVX1lokNVxdPOQA7I/6+3″,”datr”:”SF11BW125″,”freq”:869.70000000000005,”lsnr”:9,”modu”:”LORA”,”rfch”:1,”rssi”:-30,”size”:36,”stat”:1,”time”:”2016-11-24T09:27:28.303181Z”,”tmst”:180354356}
lora/00-04-a3-0b-00-1a-31-54/up {“chan”:6,”cls”:0,”codr”:”4/5″,”data”:”eyJzIjo3NSwiZVdoIjoxLCJwIjoxMH0=”,”datr”:”SF11BW125″,”freq”:”869.7″,”lsnr”:”9″,”mhdr”:”8002000000000400″,”modu”:”LORA”,”opts”:””,”port”:27,”rfch”:1,”rssi”:-30,”seqn”:4,”size”:32,”timestamp”:”2016-11-24T09:27:28.303181Z”,”tmst”:180354356}
lora/00-04-a3-0b-00-1a-31-54/packet_sent {“codr”:”4/5″,”data”:”YAIAAAAgBgABTmnj3HpOs/yle49fQe2Tp4OyV0MyebHfKhG5flFURQ”,”datr”:”SF11BW125″,”freq”:869.70000000000005,”ipol”:true,”modu”:”LORA”,”ncrc”:false,”powe”:11,”rfch”:0,”size”:40,”tmst”:181354356}
lora/00-04-a3-0b-00-1a-31-54/packet_recv {“chan”:2,”codr”:”4/5″,”data”:”gAIAAAAABQBR1H0bmrfnAKQT4n6+L2tNtqlRAjl85nxI0bhV”,”datr”:”SF11BW125″,”freq”:868.5,”lsnr”:7,”modu”:”LORA”,”rfch”:0,”rssi”:-29,”size”:36,”stat”:1,”time”:”2016-11-24T09:27:58.301245Z”,”tmst”:210354628}
lora/00-04-a3-0b-00-1a-31-54/up {“chan”:2,”cls”:0,”codr”:”4/5″,”data”:”eyJzIjo3NSwiZVdoIjozLCJwIjoxMH0=”,”datr”:”SF11BW125″,”freq”:”868.5″,”lsnr”:”7″,”mhdr”:”8002000000000500″,”modu”:”LORA”,”opts”:””,”port”:81,”rfch”:0,”rssi”:-29,”seqn”:5,”size”:32,”timestamp”:”2016-11-24T09:27:58.301245Z”,”tmst”:210354628}
lora/00-04-a3-0b-00-1a-31-54/packet_sent {“codr”:”4/5″,”data”:”YAIAAAAgBwBcAJgC”,”datr”:”SF11BW125″,”freq”:868.5,”ipol”:true,”modu”:”LORA”,”ncrc”:false,”powe”:11,”rfch”:0,”size”:12,”tmst”:211354628} -
AuthorPosts
- You must be logged in to reply to this topic.