<?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>How to read characteristics with a GATT client?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85968/how-to-read-characteristics-with-a-gatt-client</link><description>I am currently using an nrf52840 to write to a service with 3 different characteristics with goal of using another dongle to read those characteristics. The first dongle is writing characteristics using the ble_gatts_hvx_params_t struct and I am able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Apr 2022 14:13:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85968/how-to-read-characteristics-with-a-gatt-client" /><item><title>RE: How to read characteristics with a GATT client?</title><link>https://devzone.nordicsemi.com/thread/361887?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 14:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcfe956f-457e-416f-9a76-00dac6978053</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You have one DK and one Dongle. You want to read the characteristics from dongle to DK. You can run the application currently developing on he DK. Now you want to develop the central, you have to flash the peripheral on the dongle and central on the DK. It is easier to debug in this way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You also can look at the ble_app_uart_c example. If you want can send us the project and show which part is not clear to understand.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read characteristics with a GATT client?</title><link>https://devzone.nordicsemi.com/thread/360646?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 04:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50fdc578-1fb8-40b0-af99-aef6b68a66e7</guid><dc:creator>nazh1438</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;I already understand how to create&amp;nbsp;a service with custom characteristic values. I currently have one nrf52840 dongle doing that and accomplishing everything as desired. My issue I&amp;#39;m running to right now is using another dongle or devkit to be able to receive those characteristics. My teammate wrote the service and characteristics using the&amp;nbsp;&lt;span&gt;ble_gatts_hvx_params_t&amp;nbsp;struct found in the ble_gatts.h file, and using the nrfconnect app I can see the following:&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648616120288v1.png" alt=" " /&gt;. My goal is to be able to store the hex values from each characteristic in a separate dongle that is receiving the ble signal. I am still confused how to go about this because both the uart examples and the link you sent me do not make it clear how to read custom characteristics. Any future insight would be appreciated and sorry for any inconvenience.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read characteristics with a GATT client?</title><link>https://devzone.nordicsemi.com/thread/359751?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 09:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a34981a-b2f3-4d68-8df1-a9a94a05a886</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have a basic training document for Bluetooth Low Energy&amp;nbsp; which shows how to create custom service with custom value characteristics. There you can find the use of structures and functions and use of call back functions.&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/edvinand/custom_ncs_ble_service_sample"&gt;GitHub - edvinand/custom_ncs_ble_service_sample&lt;/a&gt;&amp;nbsp;.You can look at this training document. Though it has one peripheral but it helps to understand how NUS client works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read characteristics with a GATT client?</title><link>https://devzone.nordicsemi.com/thread/359306?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 09:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2d5ec8e-b900-4995-9a10-e43ce465987a</guid><dc:creator>nazh1438</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;I took a look at those examples you suggested, and I still have the same confusion of understanding the handler function. It seemed like with the uart examples still uses structs and functions defined in the nus client file which is designed specifically for the example. I guess I am still having confusion on how to extract from the GATT client file and how it relates to the uart example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read characteristics with a GATT client?</title><link>https://devzone.nordicsemi.com/thread/358921?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 15:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc08c10a-708d-4217-a051-d5137f547507</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can chek our peripheral_uart and central_uart samples. I hope you would get the idea how to read characteristics from a GATT client.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to explain a bit details on Monday.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Have a nice weekend.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>