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 String value in Mongodb #25

Open
bidyutper opened this issue Nov 24, 2016 · 1 comment
Open

Payload String value in Mongodb #25

bidyutper opened this issue Nov 24, 2016 · 1 comment

Comments

@bidyutper
Copy link

bidyutper commented Nov 24, 2016

didn't able to get payload string value.
While Mongo able to save topic value of mqtt
db

@chombium
Copy link
Contributor

Hi,

I haven't used mongo lately, but as I see the payload field is binary. That means you'll have to read it via buffer and convert it to string or use some of the mongodb shell methods to convert the binary to a string so that you can see it.

I'm writing from my mobile phone, so I can not help much.

HTH,
Jovan

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