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

Over stack #80

Open
sangseu opened this issue Feb 24, 2016 · 0 comments
Open

Over stack #80

sangseu opened this issue Feb 24, 2016 · 0 comments

Comments

@sangseu
Copy link

sangseu commented Feb 24, 2016

I'm using your library with ESP8266-07. Code:
aJsonObject *root, *data;
root = aJson.createObject();
aJson.addItemToObject(root, "data", data = aJson.createObject());
aJson.addNumberToObject(data, "hum", f_soi);
aJson.addNumberToObject(data, "tem", f_tem);
clientPS.publish(mqtt_topic_pub_soi, aJson.print(root));
//take care this
aJson.deleteItem(root);

It take ESP reset because over stack.

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