<?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>nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93544/nrf52833-cannot-interconnect-and-communicate-with-ble-chip-of-realtek</link><description>Hello, 
 Our customer has a project that uses nrf52833 as the master and want to connect to the slave of portable ECG meter (ble is Realtek). But they tried for a long time and still failed. 
 1. ECG meter (slave device) --- Realtek ble device Information</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Nov 2022 11:18:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93544/nrf52833-cannot-interconnect-and-communicate-with-ble-chip-of-realtek" /><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/395525?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 11:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b9496db-27bc-4f1a-92a2-46177734aa57</guid><dc:creator>Sigurd</dc:creator><description>[quote user="panypan"]In addition, a good news that the customer has solved this problem used&amp;nbsp;ncs (modify base on : ncs\v2.0.0\nrf\samples\bluetooth\central_uart).[/quote]
&lt;p&gt;Great!&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/395519?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 10:51:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4f1ccdc-8d75-4851-a40f-bba0ee6c26d2</guid><dc:creator>panypan</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Sorry, I&amp;#39;ve changed this too.&lt;/p&gt;
&lt;p&gt;In addition, a good news that the customer has solved this problem used&amp;nbsp;ncs (modify base on : ncs\v2.0.0\nrf\samples\bluetooth\central_uart).&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/7827.nus.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pany&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/395505?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 10:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc0e267-17b2-4883-993b-4461c60cad12</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try to change this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t ble_hrs_c_init(ble_hrs_c_t * p_ble_hrs_c, ble_hrs_c_init_t * p_ble_hrs_c_init)
{
    VERIFY_PARAM_NOT_NULL(p_ble_hrs_c);
    VERIFY_PARAM_NOT_NULL(p_ble_hrs_c_init);

    ble_uuid_t hrs_uuid;

    hrs_uuid.type = BLE_UUID_TYPE_BLE;
    hrs_uuid.uuid = BLE_UUID_HEART_RATE_SERVICE;

    p_ble_hrs_c-&amp;gt;evt_handler                 = p_ble_hrs_c_init-&amp;gt;evt_handler;
    p_ble_hrs_c-&amp;gt;error_handler               = p_ble_hrs_c_init-&amp;gt;error_handler;
    p_ble_hrs_c-&amp;gt;p_gatt_queue                = p_ble_hrs_c_init-&amp;gt;p_gatt_queue;
    p_ble_hrs_c-&amp;gt;conn_handle                 = BLE_CONN_HANDLE_INVALID;
    p_ble_hrs_c-&amp;gt;peer_hrs_db.hrm_cccd_handle = BLE_GATT_HANDLE_INVALID;
    p_ble_hrs_c-&amp;gt;peer_hrs_db.hrm_handle      = BLE_GATT_HANDLE_INVALID;

    return ble_db_discovery_evt_register(&amp;amp;hrs_uuid);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to this as well:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t ble_hrs_c_init(ble_hrs_c_t * p_ble_hrs_c, ble_hrs_c_init_t * p_ble_hrs_c_init)
{
    VERIFY_PARAM_NOT_NULL(p_ble_hrs_c);
    VERIFY_PARAM_NOT_NULL(p_ble_hrs_c_init);

    ble_uuid_t hrs_uuid;

    hrs_uuid.type = BLE_UUID_TYPE_BLE;
    hrs_uuid.uuid = 0xFF12;

    p_ble_hrs_c-&amp;gt;evt_handler                 = p_ble_hrs_c_init-&amp;gt;evt_handler;
    p_ble_hrs_c-&amp;gt;error_handler               = p_ble_hrs_c_init-&amp;gt;error_handler;
    p_ble_hrs_c-&amp;gt;p_gatt_queue                = p_ble_hrs_c_init-&amp;gt;p_gatt_queue;
    p_ble_hrs_c-&amp;gt;conn_handle                 = BLE_CONN_HANDLE_INVALID;
    p_ble_hrs_c-&amp;gt;peer_hrs_db.hrm_cccd_handle = BLE_GATT_HANDLE_INVALID;
    p_ble_hrs_c-&amp;gt;peer_hrs_db.hrm_handle      = BLE_GATT_HANDLE_INVALID;

    return ble_db_discovery_evt_register(&amp;amp;hrs_uuid);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/395249?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 08:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dfafefe-63c4-4111-a483-3d9e48e52c96</guid><dc:creator>panypan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Only change this:&amp;nbsp;&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/pastedimage1668157044803v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/395169?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 15:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02a9c45c-fa8c-45bd-b467-52258764fe23</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you do any other changes? e.g. in&amp;nbsp;ble_hrs_c.c ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/395112?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 12:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59e8b685-8fe0-4f9c-b802-4183b79ab492</guid><dc:creator>panypan</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. The attachment is the main.c .&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Pany&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/35437422.main.c"&gt;devzone.nordicsemi.com/.../35437422.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/394971?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 16:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20b7a06b-6e0a-48e6-b90e-3d505dd78b7a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you attach your main.c file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/394564?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 02:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d218432-4da2-43b7-804a-f1a4dfa584ad</guid><dc:creator>panypan</dc:creator><description>&lt;p&gt;Hi sigurd,&lt;/p&gt;
&lt;p&gt;The service (0xFF12) cannot be found after modifying according to your suggestions.&amp;nbsp;The attachment is the output log.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Pany&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_c_5F00_0xFF12_5F00_log.txt"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_hrs_5F00_c_5F00_0xFF12_5F00_log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/394348?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 09:22:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88a7603e-f509-45b7-bf39-3e0d89f360bc</guid><dc:creator>panypan</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thank you for your reply!&lt;/p&gt;
&lt;p&gt;Yes, I also think so they have not registered it with the Bluetooth SIG.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try your method and modify based on &lt;span&gt;ble_app_hrs_c.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pany&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 cannot interconnect and communicate with BLE chip of Realtek</title><link>https://devzone.nordicsemi.com/thread/394279?ContentTypeID=1</link><pubDate>Sun, 06 Nov 2022 17:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:868f57a8-f016-4bbe-a758-e8aa07177841</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;UUID types: 128bit&lt;/p&gt;
&lt;p&gt;UUID =&amp;nbsp;{0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}&lt;/p&gt;[/quote]
&lt;p&gt;This is not a vendor defined&amp;nbsp;128-bit UUID, this is the base UUID used by the 16-bit UUIDs defined by Bluetooth SIG.&lt;/p&gt;
[quote user=""]0xFF12&amp;nbsp;[/quote]
&lt;p&gt;I can&amp;#39;t find 0xFF12 in the &lt;span&gt;Assigned Numbers document&amp;nbsp;&lt;/span&gt;here,&amp;nbsp;&lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/"&gt;https://www.bluetooth.com/specifications/assigned-numbers/&lt;/a&gt;&amp;nbsp;, so it&amp;#39;s seems like they have not registered it with the Bluetooth SIG...&lt;/p&gt;
&lt;p&gt;Try using this scan-filter:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    #define TARGET_UUID 0xFF12

ble_uuid_t uuid =
    {
        .uuid = TARGET_UUID,
        .type = BLE_UUID_TYPE_BLE,
    };

    err_code = nrf_ble_scan_filter_set(&amp;amp;m_scan,
                                       SCAN_UUID_FILTER,
                                       &amp;amp;uuid);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And use e.g. ble_app_hrs_c as an template example on how to create a central that connects to a peripheral that have a 16-bit UUID service(BLE_UUID_TYPE_BLE).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>