Hello,
I saw some time ago that it was suggested that since the MIT APP system uses JSON in it's framework that it would not be to hard to port that to an extension.
I am curious if this has ever been done, I see lots of posts about formatting your own JSON notation using text, but it would be far easier to do this with an extension (if one existed).
In my scenario I am using a phone to control a panoramic robot through a bluetooth connection, I set the various parameters on the phone and then want to pass this through the bluetooth connection to the arduino as a JSON string which is then parsed on the arduino and fires the respective actions.
I can get the arduino parsing JSON no issues, just have a few issues when it comes to sending the parameters from the MIT app creator device.
This is the sort of Schema I am working with for the device {"command": "GIGAPAN","version": 1,"timestamp": "YYYY-MM-DD hh:mm:ss","data": [TopX,TopY, BottomX, BottomY, FLength, GPSLat, GPSLng]} where the TopX & Y, Bottom X & Y and FLength values come from listboxes on the MIT app from the phone, and the GPS info comes from the phone / current location as well.
Has anyone got an easier way to encode this schema without manually building the string, or is that really the only way to do this?
The other schema are a fair bit easier, just this one is the one which is a bit of a pain.
Many thanks,
Trav Hale.