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

Get device's sending ip address #82

Open
jmorris644 opened this issue Dec 6, 2024 · 1 comment
Open

Get device's sending ip address #82

jmorris644 opened this issue Dec 6, 2024 · 1 comment

Comments

@jmorris644
Copy link

I have been looking at the publish output of the node and cannot locate the sending ip address.

Is this something that I can get? I wish to, based on conditions, send a response back directly to the sending device via http. So if there is another option I will gladly use that.

Thanks

Joe

@martin-doyle
Copy link
Owner

Not sure if this helps. I never tried it.
moscajs/aedes#886

The client object is available in the publish event
payload: {
packet,
client
}

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

2 participants