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:
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
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 !!!