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

Payload Value Diff #40

Open
RobAmey22 opened this issue Oct 14, 2024 · 1 comment
Open

Payload Value Diff #40

RobAmey22 opened this issue Oct 14, 2024 · 1 comment

Comments

@RobAmey22
Copy link

RobAmey22 commented Oct 14, 2024

I'm publishing data over a topic: {group_id}/{device_number}/info_location.

When I publish this data using a script that uses this extension, I get the value as '1' whereas I was expecting it to be some kinda of a string message that I was passing as the payload.

client.publish(topic, 'abc', 1, false, 2000);

Upon publishing the same payload over the same topic through MQTT Explorer, I get the see the correct message `abc' in values.

Ideally the value being passed in the payload should reflect as it is.

image

@pmalhaire
Copy link
Owner

Do you have a sample code to reproduce tour issue ?

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