<?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 collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100642/how-to-collaborate-a-private-protocol-with-ble</link><description>Hi, 
 
 My device is working with BLE most of the time, but i t also needs to activate a private protocol, 
 1. to send messages to other devices in case of an emergency, 
 2. to keep the possibility to receive the messages sent by other devices. 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2023 10:46:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100642/how-to-collaborate-a-private-protocol-with-ble" /><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/439223?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 10:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e1017d-2977-4b7f-84d9-7a978597c798</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies for the late reply.&lt;/p&gt;
&lt;p&gt;ESB does not support long-range bit modes.&lt;/p&gt;
&lt;p&gt;These are the supported bit rates:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/esb/esb.c#L595-L629"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/esb/esb.c#L595-L629&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF 250 kBit is supported (although this is a deprecated radio bit rate and not recommended to be used as per the PS), but you will need to adjust your re-transmission delay to a higher value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/437588?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 08:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a8b9961-0975-4192-89d8-7cfa8f78d014</guid><dc:creator>jhc</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hkn"&gt;H&amp;aring;kon&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using nrf52840.&lt;/p&gt;
&lt;p&gt;The two boards communicate well with each other with 1Mbps or 2Mbps bitrate, but if I set the bitrate to 250kpbs or 500kbps, they can&amp;#39;t communicate.&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/pastedimage1689926502075v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I wonder if it is possible to set the bitrate to 125kpbs or 250kpbs for ESB?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/436403?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 08:26:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b007472e-a0f8-4730-92fd-b8af30f5e75d</guid><dc:creator>jhc</dc:creator><description>&lt;p&gt;Hi, &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hkn"&gt;H&amp;aring;kon&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I request a next (or end) timeslot in case of receiving&amp;nbsp;&lt;span&gt;MPSL_TIMESLOT_SIGNAL_CANCELLED in mpsl_cb&lt;/span&gt;, like below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static mpsl_timeslot_signal_return_param_t* mpsl_cb(mpsl_timeslot_session_id_t session_id, uint32_t signal)
{
    ...
    
    
    case MPSL_TIMESLOT_SIGNAL_BLOCKED:
    case MPSL_TIMESLOT_SIGNAL_CANCELLED:
        ts_session-&amp;gt;request_normal.params.normal.distance_us += ts_session-&amp;gt;ts_interval_us;
        return &amp;amp;ts_session-&amp;gt;action_next; /*&amp;amp;ts_session-&amp;gt;action_end*/

    ...
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I got an MPSL_ASSERT error shown below.&lt;/p&gt;
&lt;p&gt;What does &amp;quot;&lt;span&gt;&lt;strong&gt;&lt;em&gt;mpsl_init: MPSL ASSERT: 106, 477&amp;quot;&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;&lt;/span&gt;mean?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:14.527,099] &amp;lt;inf&amp;gt; interconn: mpsl_cb, session 1 signal 6
[00:00:14.527,130] &amp;lt;err&amp;gt; mpsl_init: MPSL ASSERT: 106, 477
[00:00:14.527,160] &amp;lt;err&amp;gt; os: ***** HARD FAULT *****
[00:00:14.527,191] &amp;lt;err&amp;gt; os:   Fault escalation (see below)
[00:00:14.527,191] &amp;lt;err&amp;gt; os: ARCH_EXCEPT with reason 3

[00:00:14.527,221] &amp;lt;err&amp;gt; os: r0/a1:  0x00000003  r1/a2:  0x200025f8  r2/a3:  0x200025f8
[00:00:14.527,252] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x00025127
[00:00:14.527,252] &amp;lt;err&amp;gt; os:  xpsr:  0x61000000
[00:00:14.527,282] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00021668
[00:00:14.527,282] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:14.527,313] &amp;lt;err&amp;gt; os: Current thread: 0x200025f8 (MPSL Work)
[00:00:15.044,433] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/434874?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 08:44:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83f218e1-99cb-44df-b87b-2fdae1565e8f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that you solved the issue. Hope you have a wonderful day!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/434815?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 02:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab08363a-82d1-4fb8-9057-a11936cbfdc9</guid><dc:creator>jhc</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;The assertion occurred when I stopped the timeslot, it has now been resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/434633?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 08:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa101ede-9c53-4e4c-9202-01888ff0fc30</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="jhc"]&lt;p&gt;What&amp;nbsp;&lt;span&gt;does&amp;nbsp;&lt;/span&gt;&amp;quot;&amp;nbsp;mpsl_init: MPSL ASSERT: 112, 2183&amp;quot; mean?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This is an assertion that occurs when a timing error has happened, for instance that the timeslot is exceeding the allocated radio timeslot.&lt;/p&gt;
&lt;p&gt;After what call do you get this assertion?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/434620?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 08:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaeb6897-6d00-405d-9877-76665424512c</guid><dc:creator>jhc</dc:creator><description>&lt;p&gt;I got a problem:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="content-scrollable-wrapper"&gt;
&lt;div class="evolution-code-editor theme-clouds"&gt;
&lt;div class=" ace_editor ace-clouds"&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:19.786,926] &amp;lt;err&amp;gt; mpsl_init: MPSL ASSERT: 112, 2183
[00:00:19.786,987] &amp;lt;err&amp;gt; os: ***** HARD FAULT *****
[00:00:19.786,987] &amp;lt;err&amp;gt; os:   Fault escalation (see below)
[00:00:19.787,017] &amp;lt;err&amp;gt; os: ARCH_EXCEPT with reason 3

[00:00:19.787,017] &amp;lt;err&amp;gt; os: r0/a1:  0x00000003  r1/a2:  0x20002828  r2/a3:  0x20002828
[00:00:19.787,048] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x000260fb
[00:00:19.787,048] &amp;lt;err&amp;gt; os:  xpsr:  0x61000011
[00:00:19.787,078] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x0002263c
[00:00:19.787,078] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:19.787,109] &amp;lt;err&amp;gt; os: Fault during interrupt handling

[00:00:19.787,139] &amp;lt;err&amp;gt; os: Current thread: 0x20002828 (idle)
[00:00:20.463,897] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;board: PCA10056&lt;/p&gt;
&lt;p&gt;SDK: NCS v2.1.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What&amp;nbsp;&lt;span&gt;does&amp;nbsp;&lt;/span&gt;&amp;quot;&amp;nbsp;mpsl_init: MPSL ASSERT: 112, 2183&amp;quot; mean?&lt;/p&gt;
&lt;p&gt;Could you help me to find out what the problem is?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to collaborate a private protocol with BLE.</title><link>https://devzone.nordicsemi.com/thread/430237?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 12:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cea33a7-264a-4a9c-af78-4cc1aea2c641</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s an example of setting up timeslot API here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/samples/mpsl/timeslot/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/samples/mpsl/timeslot/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As well as a blog post here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/updating-to-the-mpsl-timeslot-interface"&gt;Updating to the MPSL Timeslot interface&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>