You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
I am using a esp8266 for my iot project and I came across an error which I did not find any solution for it.
I am sending property from Device to IoT central and it is working perfectly.
While sending property from Cloud to Device then the problem starts.
While sending a property with a value of 0 then the esp8266 is accepting it, but when the value changes then it says you have a NULL value.
The below are seen on the serial monitor when I send values different then 0.
**X - Error at ../common/iotc_json.h:119
(getNumberByName) object == NULL!
[SettingsUpdated] event was received. Payload => {"Property1":1,"property3":1,"property4":1,"property5":1,"$version":19}
Command name was => property5
Setting name was => property5
X - Error at ../common/iotc_json.h:119
(getNumberByName) object == NULL!**
The below are seen on the serial monitor when I send values 0.
**- - Command name was => Property1
Setting name was => Property1
[SettingsUpdated] event was received. Payload => {"Property1":{"requested":{"value":0}},"property3":{"requested":{"value":0}},"property4":{"requested":{"value":0}},"property5":{"requested":{"value":0}},"$version":20}
Command name was => property3
Setting name was => property3
[SettingsUpdated] event was received. Payload => {"Property1":{"requested":{"value":0}},"property3":{"requested":{"value":0}},"property4":{"requested":{"value":0}},"property5":{"requested":{"value":0}},"$version":20}
Command name was => property4
Setting name was => property4
[SettingsUpdated] event was received. Payload => {"Property1":{"requested":{"value":0}},"property3":{"requested":{"value":0}},"property4":{"requested":{"value":0}},"property5":{"requested":{"value":0}},"$version":20}
Command name was => property5
Setting name was => property5**
How can I fix this problem?
If I have to define a property in the device in order to save and store the value, how can I do it?
Your urgent help is needed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there,
I am using a esp8266 for my iot project and I came across an error which I did not find any solution for it.
I am sending property from Device to IoT central and it is working perfectly.
While sending property from Cloud to Device then the problem starts.
While sending a property with a value of 0 then the esp8266 is accepting it, but when the value changes then it says you have a NULL value.
The below are seen on the serial monitor when I send values different then 0.
**X - Error at ../common/iotc_json.h:119
(getNumberByName) object == NULL!
X - Error at ../common/iotc_json.h:119
(getNumberByName) object == NULL!**
The below are seen on the serial monitor when I send values 0.
**- - Command name was => Property1
How can I fix this problem?
If I have to define a property in the device in order to save and store the value, how can I do it?
Your urgent help is needed.
The text was updated successfully, but these errors were encountered: