Provide the Client ID inside MQTTDisconnect
leinardi opened this issue · 2 comments
leinardi commented
MQTTConnect
offers a lot of data about the client that connected to the MQTT broker, but MQTTDisconnect
does not provide any information at all beside that some unidentified session was closed.
It would be useful if MQTTDisconnect
would provide at least the Client ID of the client that disconnected from the broker.
davidepianca98 commented
Hello, are you talking about the PacketInterceptor
interface? This will provide only the content of the received message. If you want to know the clientId of the clients on disconnection, you can implement the ConnectionCallbacks
interface. Please let me know if this is enough for your use case.