<?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 configuration without using JSON</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85580/sending-configuration-without-using-json</link><description>Hello, 
 I&amp;#39;m designing a device based on nRF52840 SoC that receives a configuration (set of 50 parameters) from an app which downloads the configuration in JSON format from a remote server via API call. Surely the app cannot send the configuration as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Mar 2022 12:32:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85580/sending-configuration-without-using-json" /><item><title>RE: Sending configuration without using JSON</title><link>https://devzone.nordicsemi.com/thread/357149?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 12:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34879141-7e76-432f-b02b-da9a4626b0c8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It would technically be possible to send the JSON configuration file over BLE, for instance using &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html"&gt;Nordic UART Service&lt;/a&gt;. This will require you to parse the JSON file on the device and extract the configuration. A quick Google search reveals that there are multiple alternatives available of small JSON parser libraries intended for use with embedded devices.&lt;/p&gt;
&lt;p&gt;If you do not want to send the JSON file, you either need to send each configuration separately, or create your own customer configuration format that can be parsed by the receiving side of the BLE link.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>