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

Client send wrong messages #48

Open
huythien1708 opened this issue Nov 7, 2017 · 0 comments
Open

Client send wrong messages #48

huythien1708 opened this issue Nov 7, 2017 · 0 comments

Comments

@huythien1708
Copy link

I send Json message from client to server and it look like this:

42["device_state",{"device_id":"1","data":" "TEMPERATURE": "0", "HUMIDITY": "8", "pH": "2", "EC": "6", "LUX": "6" "}]
but what i got in server is not the same and it look like this:

42["device_state",{"device_id":"1","data":" "TEMPERATURE": "02520252025202520252025202520252025202520252025202520252025202

I think problems is 2 variables mask and masked in function emit. I checked the log and saw the mask always are 2740 and 2520. So how can I emit message without using mask and masked :D

Thanks in advance !!!

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