<?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 two-dimensional array (multi-dimensional array) data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53620/sending-two-dimensional-array-multi-dimensional-array-data</link><description>Hello. I am currently making a data transmission program with BLE. We will create our own custom service and send it in “Notify” format. I want to send 2D array data. The following values ​​were assigned to the data in the “ble_gatts_hvx_params_t” structure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2019 13:25:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53620/sending-two-dimensional-array-multi-dimensional-array-data" /><item><title>RE: Sending two-dimensional array (multi-dimensional array) data</title><link>https://devzone.nordicsemi.com/thread/216645?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 13:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb06d30-f4cd-428a-8633-778452afa2e3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Is it all converted to a one-dimensional array when sending data?[/quote]
&lt;p&gt;Yes. You could send two packages or convert the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/structble__gatts__hvx__params__t.html#a68325153be760c7742d1bec69da625cf"&gt;p_data&lt;/a&gt;&amp;nbsp;into a two-dimension array as you want on the receiver side.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>