canique

Results 18 comments of canique

No it's not possible as of now. I have personally rewritten parts of the code but there are issues: 1) the lowpower lib references avr/power.h - power_spi_enable()/power_twi_enable() are not defined...

I have tried setting optimistic_acknowledgement=False but when set, my on_message() handler does not get called anymore. I am returning return PubRecReasonCode.SUCCESS in the on_message handler. I have tried with QOS...

When you say QoS 2 - do you mean the publish must be QoS 2, or is it enough if the subscribe is QoS 2? In my test scenario I...

```python import asyncio import os, sys, configparser import signal import time from gmqtt import Client as MQTTClient from gmqtt.mqtt.constants import PubRecReasonCode import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) STOP = asyncio.Event() def on_connect(client, flags,...

The output of the above code is (I've edited the topic names): Connected SUBSCRIBED RECV MSG on topic ... QOS 1 Skipping retain message RECV MSG on topic ... QOS...

When I add the logging code, nothing changes in console output. Do I need to change something else? Yes I am getting messages, those that are retained. But not a...

As soon as I enable optimistic_ack I get all the messages that the broker could not send me in the meantime - all of them at once @ startup. So...

I'm using python 3.7 by the way.

I added .value - unfortunately that did not fix it. I'll wait for tomorrow :)