Close

MQTTSN Fixes

A project log for SentriFarm

Solving a key farming problem: is it safe to harvest / spray / sow today? (+experiments with 'big' data in agriculture)

pastcomputepastcompute 08/31/2015 at 13:290 Comments

I think I fixed the problem with data loss. I had mosquitto configured in bridging mode and of course the leaf nodes are not running a broker. When I turned that off, and connected the SX1276 bridge as a UDP client to the broker port instead of the bridge port, the test link ran all night and only dropped about 3% of messages instead of 27%. I suspect there is some kind of MAC "collision" (as in, the bridge happened to be not listening at just the right time) and that is an error level I can live with, for the duration of the competition anyway. Down the track the firmware will need to be upgraded to use the proper LoRa protocol, but that can wait; establishing range is a higher priority.

It gets cold in the outside lab, 13degC brrr!

Discussions