Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug INFO – View Connected Clients - Number and Topic Text #28

Open
LZHenry opened this issue Jan 30, 2019 · 0 comments
Open

Debug INFO – View Connected Clients - Number and Topic Text #28

LZHenry opened this issue Jan 30, 2019 · 0 comments

Comments

@LZHenry
Copy link

LZHenry commented Jan 30, 2019

I am using uMQTTBroker.h very successfully to create my networks, but have some issues to understand.

Can you point me to how to identify:
Number of CURRENTLY connected clients
Text of TOPICs connected

I do get this information once from the functions “onConnect” and “onData” but would benefit from the ability to print to the serial port in the LOOP, debug information as CLIENTS connect and disconnect .

Issue:
Two CLIENTS are connected. Power OFF #1; BROKER properly identifies the unit as “offline”.

However, the BROKER also gets a message that CLIENT #2 goes “offline” then quickly back “online”.
Is this “normal” MQTT functionality????

Thanks for any thought you can provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant