<?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>basic central tutorial please</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88497/basic-central-tutorial-please</link><description>Dear all 
 I am looking for a tutorial like this https://devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial 
 It sounds quite helpful, but it is a bit old and tools are outdated and functions look different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jun 2022 14:07:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88497/basic-central-tutorial-please" /><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/371458?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 14:07:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e117d503-6739-4cbf-b812-454c90c9dec7</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;no problem, thanks for your help!&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/371438?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 13:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a9c6582-4a74-4374-a071-ef76b4880257</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You ask legit quesitons, but it&amp;#39;s kind of out of the scope of the tech support we provide to tutor developers on how BLE works and designed, we provide examples that show various usage, and you should from looking at the example implementation get some understanding on how it works, but you still need to also look at other sources for knowledge on how BLE is and how it can be used.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/371415?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 12:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86ced7fd-f684-4496-8847-45a1581dcdbb</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Thank you for reply, Kenneth&lt;/p&gt;
&lt;p&gt;I am developing a central application, and needs to connect to peripherals which are connectable and exchange data,&amp;nbsp;You are right there are some peripherals don&amp;#39;t advertising services&amp;nbsp;or anything, in that case there is no need to discovery anything and that is not&amp;nbsp;what I&amp;nbsp;am discussing here.&lt;/p&gt;
&lt;p&gt;Please advise further on how to implement BLE profile and service specification, I need to start from a simple application like how to talk to peripheralLBS example? and need to make it generic later. I am not sure what I need to do after discovery of the ATT[ ] &amp;amp; handles.&lt;/p&gt;
&lt;p&gt;Your input is much appreciated.&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/371403?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 12:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3ff59be-7c9f-4b09-8af5-8b3dbb0fb773</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It&amp;#39;s really up to you how you implement and do this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are implementing a BLE profile, then you need to follow the BLE profile and service specification as specified by bluetooth.&lt;/p&gt;
&lt;p&gt;If you are implementing a proprieatary BLE application, then you can do this whatever you like (e.g. there is no need to put any UUID in the advertisment if you don&amp;#39;t want to).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/371351?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 10:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01ca49f8-a3ab-409c-8199-27284830e1ae</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;hello,&amp;nbsp;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;About 3 - SDP, I tried a few examples and had a bit of understanding,&amp;nbsp;but I am still not sure&amp;nbsp;the completer procedure to exchange data between connected peers, here is the procedure by my understanding and questions too, correct me if I am wrong please.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Central does active&amp;nbsp;scan and get peripheral&amp;#39;s service UUID it advertises, the UUID can be&amp;nbsp;passed to&amp;nbsp;bt_gatt_dm_start() function and find all services, so peripheral must advertising its service UUID, some peripheral advertising more than 1 UUID, is this right? in the case of it advertise more than 1 service UUID, gatt_discovery() need to do discover for each UUID?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Central initiate connection and then call gatt_discovery() function using the service UUID it scanned, and here is the print out of the central uart sample by&amp;nbsp;bt_gatt_dm_data_print(dm) function.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ATT[1]:     UUID: 0x2803    Handle: 0x0011    Value:

Characteristic: 0x6e400003-b5a3-f393-e0a9-e50e24dcca9e    Properties: 0x0010

ATT[2]:     UUID: 0x6e400003-b5a3-f393-e0a9-e50e24dcca9e    Handle: 0x0012    Value:

ATT[3]:     UUID: 0x2902    Handle: 0x0013    Value:

    CCCD

ATT[4]:     UUID: 0x2803    Handle: 0x0014    Value:

Characteristic: 0x6e400002-b5a3-f393-e0a9-e50e24dcca9e    Properties: 0x000C

ATT[5]:     UUID: 0x6e400002-b5a3-f393-e0a9-e50e24dcca9e    Handle: 0x0015    Value: 
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;3. Then probably need to define client to get the handles? like this&amp;nbsp;bt_nus_handles_assign(dm, nus)? But different client seems have different client definition, the BAS service client have a different definition with NUS, so I am not sure how to make the client generic&amp;nbsp;to access handles for all? please advise.&lt;/p&gt;
&lt;p&gt;Thank you for your patience .&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/370619?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 08:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e23cf55-2559-45e1-9628-edc60c446ebd</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;1. Optional.&lt;/p&gt;
&lt;p&gt;2. It is common that a central take the initiative to establish an encrypted link (by bonding/pairing), but it can be initiated by a security request also from the peripheral. It&amp;#39;s also possible that neither want to bond or encrypt the link.&lt;/p&gt;
&lt;p&gt;3. It is common that the database discovery done by either peers are generic, there are software modules that can do this for you. I believe the central examples show how this can be done, though it can also be done by a peripheral.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/370505?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 15:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5374628-ed04-47b8-891c-512e101a30f1</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Thanks, Kenneth&lt;/p&gt;
&lt;p&gt;Read the first link and have a few questions to ask:&lt;/p&gt;
&lt;p&gt;1. About the security feature, it seems that the central set a higher security level immediately after connection, is&amp;nbsp;this optional or mandatory?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Is it determined by peripheral or by central only?&lt;/p&gt;
&lt;p&gt;3. About service discovery - gatt_discovery, if central doesn&amp;#39;t know anything&amp;nbsp;(service ID) before doing discovery, how this can be done? I am aiming to do a generic central and presume it knows nothing and all information can be found by doing some sort of service discovery, am I right?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/370440?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 12:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffdba581-f9f5-4ee7-9e6b-30c20de7e1a6</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Thank you, Kenneth&lt;/p&gt;
&lt;p&gt;I will have a look.&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: basic central tutorial please</title><link>https://devzone.nordicsemi.com/thread/370435?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 11:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c84152-0c93-4758-9428-cb13e2e52288</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you looked at:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-ble-application-on-ncs-sdk---contrasting-to-softdevice-based-ble-applications---part-2-central-role"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-ble-application-on-ncs-sdk---contrasting-to-softdevice-based-ble-applications---part-2-central-role&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also check out:&lt;br /&gt;&lt;a href="https://webinars.nordicsemi.com/developing-bluetooth-low-energy-6"&gt;https://webinars.nordicsemi.com/developing-bluetooth-low-energy-6&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And in general developing with NCS:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/"&gt;https://academy.nordicsemi.com/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>