mc-Things

mc-Products => mc-Module => Topic started by: Nick_W on October 31, 2016, 07:56:33 pm

Title: Modules stop publishing
Post by: Nick_W on October 31, 2016, 07:56:33 pm
I have the latest firmware running on a couple of 110 modules. One of the bug fixes is
Quote
Receiving pub/sub deliveries under quick success could cause the device to not receive further deliveries.

Just to report this is not fixed, it still happens. If you publish 3-4 items in a short period of time, the module stops publishing, The module will start publishing again, eventually.

I have put together a complicated queueing mechanism that slows publishing down to once per 3 seconds (no matter how fast you publish). This seems to work, no more missed messages. Hampered a bit by the bugs in the ListOfObjects functions, but working.

Be nice if this could be sorted out, publishing reliably is fundamental to most things. BTW, does the QoS settings work? I don't see any difference when I set them.

Thanks,
Title: Re: Modules stop publishing
Post by: mc-Abe on November 02, 2016, 12:12:58 pm
The release note refers to receiving deliveries on the module. This would be messages that the module is receiving as a result of subscriptions.

We are aware of the publish issues, we will be working on a major overhaul to improve these issues. Expect something in the near future.
Title: Re: Modules stop publishing
Post by: Nick_W on November 02, 2016, 09:03:42 pm
Great!

I will await this eagerly, I have several projects that work, but aren't reliable enough to deploy, due to publishing being unreliable. My workarounds help, but ultimately lead to unwieldy code to get around a fundamental problem.

These are events that happen in real time, so you can't predict the frequency, and slowing them down or repeating them is not feasible.

Any comments on QoS? I was trying to use this to guarantee that my events get sent, but I don't see any difference between the three levels.

Also, any progress on the module 120 battery problem? I would like to move development to the 120 module, but they just eat batteries.

Thanks.