Peter Hinch

Results 371 comments of Peter Hinch

I've updated my local broker and done some work with `mosquitto_pub` and `mosquittp_sub` to re-acquaint myself with properties. Is https://github.com/bobveringa/micropython-mqtt/commit/63f20e716e7cd1b519552bc825965af801f15b26 essentially complete? If so I'll fetch the code and do...

I've grabbed the code. I was under the impression that existing applications would run unchanged, so my first test was to run the `range_ex` demo on an ESP8266, also on...

Thank you, that fixes the problem. #### RAM usage On an ESP8266 free RAM is as follows (using precompiled mqtt_as.py, running range_ex.py). This was with no code changes, simply replacing...

I don't think this can work. You would have two sockets (one on each client) connected to the same port. There is no mechanism for determining the correct destination socket...

Good point. I think it would involve a lot of work. The module was designed on the basis of a one-to-one correspondence between client and broker.

I haven't noticed this, but it does sound like some kind of sleep behaviour. Aside from RP2 there is also special handling for ESP8266 [here](https://github.com/peterhinch/micropython-mqtt/blob/ebc96be35176d66550ff58449bed36aeeb520f80/mqtt_as/mqtt_as.py#L555). Are you aware of a...

Interesting. The ESP32 reference board takes about 55mA when connected to a network but otherwise idle. This is less than the 160-250mA quoted by your reference. Perhaps MicroPython changes modes...

I fully accept the limitations of this library. You might like to read [this short doc](https://github.com/peterhinch/micropython-mqtt/blob/master/FUTURE_DEVELOPMENT.md) which provides background and advocates a complete redesign. For this reason I don't plan...

How is the Pico W being powered?

The reason I ask is that many USB "wall warts" are basically crap. They are designed for recharging devices with a LiIon battery rather than for continuously powering an electronic...