<?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>nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114176/nrf-connect-ios-byte-array</link><description>We have an application that is looking to receive a value of &amp;#39;test\0&amp;#39; in a custom characteristic. From the Android version of nRF Connect, I just do this with a byte array, add five values, and fill them appropriately: 
 
 In the iOS version of nRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2024 11:33:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114176/nrf-connect-ios-byte-array" /><item><title>RE: nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/thread/500952?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 11:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a95649dd-d22b-490a-85c0-d6fc8e3ab886</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The dev team says that you should be able to check what you are writing by looking into the logs.&lt;/p&gt;
&lt;p&gt;Just trigger the write and swipe right twice and you see the logs of the bytes that you wrote.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1725363043904v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Also, on the Android image you can have the value in 1 line, not 5. The selected type is Byte Array, which allows multiple bytes. There is also tile Byte if you want, the result will be the same.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Hope this helps.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/thread/500756?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2024 11:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8c3c250-7587-4408-ba0a-881f894c0535</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The features on the two OS version are not 1-1 mapped. This is due to the abilities/limitation each OS sets.&lt;/p&gt;
&lt;p&gt;If you cannot give me any debug info, then I need to contact the Android team and the IOS team to synchronize and figure out the exact method in which you can send a byte array in IOS similar to Android app. I will pass this info and then will get back to you with their inputs. This might take sometime.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/thread/500747?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2024 11:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d70276e4-8941-4cd2-bbc8-1578eaa29528</guid><dc:creator>SmallerPond</dc:creator><description>&lt;p&gt;This is exactly what I mentioned we cannot do. We have only one team member with an iPhone, and they do not have debug capabilities (or much technical skill). We send&amp;nbsp;7465737400 and the behavior is not as expected, although it works fine via Android, as I mentioned in the OP. The app does not allow anything prefixed with 0x at all. We also tried 0074736574 in case endianess was the problem, but also to no avail.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/thread/500683?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2024 06:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b5d040-ab3c-4d50-80df-48b226c52146</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Can you tell me what data the device is receiving what the iPhone is sending? If we can look at what you sent from the iPhone and what the device received, then probably we will understand more on what we need to adjust.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/thread/500658?ContentTypeID=1</link><pubDate>Sat, 31 Aug 2024 20:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:783db2c8-8cd8-4167-a7cb-9f429f7bd543</guid><dc:creator>SmallerPond</dc:creator><description>&lt;p&gt;Neither of these work with our device, although the Android byte array works well. The caveat for us is that the person who is testing it with the iPhone has no way to debug, so we can&amp;#39;t break on the incoming message to view what nRF Connect is sending.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect iOS byte array</title><link>https://devzone.nordicsemi.com/thread/499726?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 11:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1ab564d-d217-4e96-a071-041dde823c5a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Can you try writing below to see if this works. I used this in one of the two ways and it should work. I am not sure about the endianness though.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x7465737400&amp;nbsp;&amp;nbsp;&lt;/strong&gt;or&amp;nbsp;&lt;strong&gt;7465737400&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>