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

Library broken with updated firmware? #2

Open
dhhagan opened this issue Dec 30, 2016 · 3 comments
Open

Library broken with updated firmware? #2

dhhagan opened this issue Dec 30, 2016 · 3 comments

Comments

@dhhagan
Copy link

dhhagan commented Dec 30, 2016

On the Particle IDE, it lists this library as broken on all platforms. When I try to compile through the IDE, it seems to throw errors associated with type casts.

Ex. Using the example from the glowfish httpsclient library:

top['coreid'] = (const char*) System.deviceID();

error: invalid conversion from int to ArduinoJson::JsonObject::key_type()

@ScruffR
Copy link

ScruffR commented Dec 30, 2016

It's not actually the lib, but the include statements in the examples

// this is the original
//#include <ArduinoJson.h>
// but should be this
#include "SparkJson/ArduinoJson.h"

See community thread
https://community.particle.io/t/issues-with-compiling-the-sparkjson-library/28242

@dhhagan
Copy link
Author

dhhagan commented Dec 30, 2016

Awesome!

@dhhagan dhhagan closed this as completed Dec 30, 2016
@ScruffR
Copy link

ScruffR commented Jan 1, 2017

I think this issue should still be addressed, so could you reopen it again?

@dhhagan dhhagan reopened this Jan 1, 2017
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