Notes and anecdotes

Techstuff rambling

Sending and receiving JSON over Bluetooth

I’m new to the whole Bluetooth communication game, but in my case I’ve run into having to communicate using 8-bit usigned integer arrays (I’ve used Cordova libraries to communicate with Arduino chips).

In order to do this I’ve had to convert from and to JSON structures on the Cordova side. I’ve done this with the two methods here.

On the Arduino side i use bblanchon’s ArduinoJson

Edit: Ended up scraping the JSON-communication. Now I communicate with simple 8-bit integers instead.┬áIt’s simpler.


tomfa • 2015-05-10

Previous Post

Next Post