Comparison is invalid from the subscribed message of MQTTX
The error I am receiving is the comparison is not working.
Publish and message reading to be done outside of the context manager, i.e. without the async with client
I am writing an customised MQTT client with aiomqtt being the basis of development. I want to implement publisher and subscriber clients as such, that it is able to make one stable connect and reconnects to the client once it disconnects to the broker some way.
aiomqtt mostly function on context manager, i.e. the async with client.
aiomqtt: publish and message reading to be done outside of the context manager, i.e. without the async with client
I am writing an customised MQTT client with aiomqtt being the basis of development. I want to implement publisher and subscriber clients as such, that it is able to make one stable connect and reconnects to the client once it disconnects to the broker some way.
aiomqtt mostly function on context manager, i.e. the async with client.