Joël Gähwiler
Joël Gähwiler
Yes, sorry for leaving this stale. I decided to fix the problem at its root. I will update the underlying lwmqtt library to allow dropping packets that are too big....
The first message you see is from someone that published a retained message in the "try" namespace on shiftr.io. Sure, not an ideal experience, but theres nothing we can do...
Yes, let's do that. The `client.publish("/hello", "", 1, true)` should be placed right before the subscribe to ensure the retained message has been reset before subscribing. Also a comment should...
Not yet, the functionality has not yet been implemented in the underlying lwmqtt library.
Not directly. You'll need to write a wrapper class that makes the FONA808 API available in the expected Arduino `Client` interface. - https://github.com/arduino/ArduinoCore-avr/blob/master/cores/arduino/Client.h - https://github.com/adafruit/Adafruit_FONA/blob/master/Adafruit_FONA.h#L149
Thank you all for your comments. I thought about this feature myself a couple of times. However, I think that it unnecessarily complicates the code with little benefit for most...
You can use `s.startsWith("foo/")` to match the beginning, then use `s.indexOf("/", 4)` to get the offset of the next "/", then get the segment in the middle using `s.substring(4, offset)`...
Hi, thanks for looking into this! It would be nice to keep the global client API around long-term as mosts projects do not require multiple clients. I would suggest creating...
Can you elaborate?
Did you try to put the value in quotation marks?