<?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>Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113640/bluetooth-characteristic-value-showing-up-as-n-a-on-nrf-connect-app</link><description>I&amp;#39;m unable to load values into characteristics—they show up as N/A on the nRF Connect app. I tried to enable notifications using the Client Characteristic Configuration, but when I click on the second arrow button (which I think is for enabling notifications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Sep 2024 14:30:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113640/bluetooth-characteristic-value-showing-up-as-n-a-on-nrf-connect-app" /><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/503802?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 14:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cb5f603-3662-4183-8ba6-8618c7a214b8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;When I tested this a month ago, the attribute value was changing for the one for which you were sending notification. After implementing the read function, the read in the app was also working fine.&lt;/p&gt;
&lt;p&gt;Please note that reading in app and getting notified are two different things. If the read is not working correct, then I guess something with read function is not correct.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/503483?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 02:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:195ae134-7122-4d7e-bb86-1bb0f7ef72fa</guid><dc:creator>SarikaK</dc:creator><description>&lt;p&gt;So I was able to see that notifications were enabled, but I could only read the value 00 for the attribute in the&amp;nbsp;nRF Connect app. I am passing this function varying sine_value values from an array, so I was expecting to see the attribute value change accordingly in the app.&lt;/p&gt;
&lt;p&gt;&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/pastedimage1727145782243v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Not sure what else needs to be modified here&amp;mdash;does attr_count need to be assigned a value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/499123?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 20:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d91eed0-a59a-4a1e-8cfd-1073f10b0541</guid><dc:creator>SarikaK</dc:creator><description>&lt;p&gt;Thanks, Susheel! I&amp;#39;ll try this out and get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/498489?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2024 15:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09b15085-2329-42bb-8b8d-49ec45379bd3</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Just realized that you have not implemented the gatt read function for reading the attribute. Please fix your service definition as below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static ssize_t read_nfc_feature(struct bt_conn *conn,
				const struct bt_gatt_attr *attr, void *buf,
				uint16_t len, uint16_t offset)
{
	return bt_gatt_attr_read(conn, attr, buf, len, offset, NULL, 0);
}

/* Sine Wave Service Declaration */
BT_GATT_SERVICE_DEFINE(afe_svc,
	BT_GATT_PRIMARY_SERVICE(BT_UUID_AFE_DATA),
	BT_GATT_CHARACTERISTIC(BT_UUID_SINE_WAVE,
				BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY,
				BT_GATT_PERM_READ, read_nfc_feature, NULL,
				NULL),
	BT_GATT_CCC(afe_ccc_cfg_changed,
			 AFE_GATT_PERM_DEFAULT),
);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This should allow your app to read the attribute from nrf connect app.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/498463?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2024 12:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6fffbfd-5222-4dfe-86de-c6ad3360ad17</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;sorry for testing this a bit late Sarika,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;s&gt;I see no issues with the read permissions testing this on iPhone14 with nRF connect for mobile app.&lt;/s&gt;&lt;/span&gt;&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/4062.pastedimage1723726109341v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;scratch that ..I am able to reproduce that it is not able to read the characteristic when pressing the down arrow. I will look into it and see if it is missing any permissions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/498268?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 12:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3c84ee-5cf9-473c-aacc-d637605f4f8f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am sorry Sarika, Did not reproduce the issue yet,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will spend time tomorrow to reproduce this and if I manage to reproduce it, it will be easy to give a workaround/fix.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/498127?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 18:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a082a42-b3e3-4be1-b2cb-7ac81a98ed36</guid><dc:creator>SarikaK</dc:creator><description>&lt;p&gt;Just wanted to follow up on this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/497535?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 23:11:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d14d6888-be76-4efa-b6d6-b5dc36ab22b5</guid><dc:creator>SarikaK</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_nfc_5F00_pairing.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_nfc_5F00_pairing.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/497462?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 09:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c36e714b-2b62-4394-ae77-9eba2545f4dc</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Seems right to have Read and Write permissions on this. Can you give give me your project to test for me to reproduce this on my desk?&amp;nbsp; I will have to test this on Monday if you attach your project here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/497239?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 22:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b2ced0-07bb-40aa-84d2-a0889a9a3d90</guid><dc:creator>SarikaK</dc:creator><description>&lt;p&gt;My understanding is that&amp;nbsp;AFE_GATT_PERM_DEFAULT should set the default GATT permissions for both read and write:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722984987932v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth: Characteristic Value Showing up as N/A on nRF Connect App</title><link>https://devzone.nordicsemi.com/thread/496937?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 10:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26215ae6-77d9-4dfe-9e71-1eddd7a71787</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;What is AFE_GATT_PERM_DEFAULT? are you sure if there are read permissions there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>