<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sending JSON from android app to nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28799/sending-json-from-android-app-to-nrf52</link><description>I am new to ble programming.
I am trying to find the best way to send json objects from android app to nrf52 chip. 
 What is the best way to send the json object to the BLE device and use it there. 
 Also is JSON supported in the BLE device, are there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Dec 2017 13:47:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28799/sending-json-from-android-app-to-nrf52" /><item><title>RE: Sending JSON from android app to nrf52</title><link>https://devzone.nordicsemi.com/thread/114088?ContentTypeID=1</link><pubDate>Fri, 29 Dec 2017 13:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f1bb72-4601-4d1a-80fd-2e1d79080ee0</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It sounds like &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/ble_sdk_app_nus_eval.html?cp=4_0_0_4_2_2_22"&gt;UART/Serial Port Emulation over BLE&lt;/a&gt; could be the way to go. It is a simple way to transmit text strings over BLE. You will then need to parse the JSON objects in your application. Nordic has no examples using JSON objects so you will have to implement something yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending JSON from android app to nrf52</title><link>https://devzone.nordicsemi.com/thread/114087?ContentTypeID=1</link><pubDate>Tue, 26 Dec 2017 21:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb55571a-5c0a-48c7-8413-8c97f098f47a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;(oh yes, because what is better idea then sending JSONs everywhere... one would wonder what happened to all these guys who were sending XMLs before JSON came to the fashion;)&lt;/p&gt;
&lt;p&gt;Sure, you can be sending JSONs encoded as ASCII or UTF8 or whatever else string over whatever interface including various BLE layers. However please note that even people speak about IoT here and there embedded systems like nRF5x are not meant to be exchanging some stupid formats made for high layer internet protocols. You can find initiatives like Espruino which are using high level languages like JavaScript to put user logic to nRF5x. Some of these will probably have some JSON parsers as well. However all standard profiles and services in BT SIG Low Energy stack are using much simpler protocols to interact between two peer devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>