wialon / gmqtt

Python MQTT v5.0 async client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No PubBack Message

bambachas opened this issue · comments

i have an application with google-iot-core
Google iot-core allows you to have A gateway with multiple devices
The gateway is the Client.
To be able the multiples devices to communicate thought gateway with the google-broker its need to publish a specific attach message to google-iot-core broker, after that you can subscribe as device in the broker
The problem is gmqtt doesnt return PubBack message when i publish the attach message so i dont know if the attach has been complete succesfull to continue with the logic

Hi.
I'm not a maintainer or expert on the library, but I see PUBACK messages in my project logs.
According to my understanding, PUBACK is a notification that the message was delivered. This is controlled by the qos parameter.
What is your qos value?
It should be 1 - at least one delivery or 2 - exactly one delivery.