<?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>central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99137/central-cannot-connect-to-a-device-always-0x3e</link><description>Hi, 
 I need to connect to a device(remote controller). 
 Use my 52832 central , I c ould never make a successful connection ,everytime disconnected immediately with 0x3e. 
 But the nrf connect APP on my phone is able to connect to the device. Obviously</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 May 2023 10:05:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99137/central-cannot-connect-to-a-device-always-0x3e" /><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/424199?ContentTypeID=1</link><pubDate>Mon, 08 May 2023 10:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d01fab06-2f8d-4f2f-a76e-cefe9413feac</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Changing this behavior will require a new Softdevice release from us. I&amp;nbsp;will make a feature request for&amp;nbsp;this internally. However, I can&amp;#39;t promise&amp;nbsp;that it will be done. I recommend you contact our sales representative for your area if this is a critical feature for your product.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/424100?ContentTypeID=1</link><pubDate>Sat, 06 May 2023 02:40:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d3a773-df38-4d49-820a-e1c5f718409f</guid><dc:creator>daoms</dc:creator><description>&lt;p&gt;Thanks for your clarification.&lt;/p&gt;
&lt;p&gt;Unfortunately I&amp;#39;m not able to get any support from device side.But even if there&amp;nbsp;is something wrong with device implementation, Nordic should&amp;nbsp;be able to cover&amp;nbsp;that,&amp;nbsp;as Phone does.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;burned 2 different version firmware to&amp;nbsp;the 52832 board&amp;nbsp;,to play with the same device. You can see the sniff below,the only difference is CSA(other paramteres like interval/offset have no affect after tried).&lt;/p&gt;
&lt;p&gt;Appreciate any advices for I don&amp;#39;t want to use the old SDK.&lt;/p&gt;
&lt;p&gt;NRF5_SDK_17.0.2&amp;nbsp; NG&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/pastedimage1683340413636v8.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;NRF5_SDK_13.1.0&amp;nbsp; OK&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/pastedimage1683339853698v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/423942?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 09:47:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4da71d73-6bec-4528-8d73-1e0a93276561</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi daoms,&lt;br /&gt;&lt;br /&gt;Thank you for contacting us regarding this issue.&lt;/p&gt;
&lt;p&gt;As far I can see regarding the Bluetooth Specification the Central device is permitted to set the ChSel bit both 0 or 1 if it support CSA#2. If it only support CSA#1 then it shall set it to 0.&lt;br /&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/pastedimage1683279902215v1.png" alt=" " /&gt;&lt;br /&gt;It could have been a courtesy to set it to 0 in case a peer device is not handling the use of RFU bits correctly. But per the specification we are not doing anything wrong here, in fact the Peripheral device is.&lt;/p&gt;
&lt;p&gt;Could you tell us more about the product that you are having issues with, and also provide the sniffer log for both the failing case, and the working case in case there are something else that you have overlooked? Have you tried to contact the vendor of the peer device to ask their Chip manufacturer to provide a bug-fix for their implementation?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;P&amp;aring;l H&amp;aring;land&lt;br /&gt;Nordic Semiconductor ASA&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/423876?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 03:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:becc4b62-980d-4c1e-acac-e475e1de07a3</guid><dc:creator>daoms</dc:creator><description>&lt;p&gt;The advertiser of course will ignore the Chsel field because it doesn&amp;#39;t have this field. It always uses CSA1,but the initiator use CSA2 in its CONNECT_REQ packet, they don&amp;#39;t speak in the same way, this is why they cannot make connection.&lt;/p&gt;
&lt;p&gt;So it seems that the new Nordic softdevice is not compatitable with old BLE4.0, because it always CSA2 to speak to a CSA1 device.,which&amp;nbsp;results to&amp;nbsp;a fail connection.&lt;/p&gt;
&lt;p&gt;Am I right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/423430?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 06:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8730182-0b33-4c5c-8e8f-422940d9232d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The Bluetooth team said the advertiser should ignore the Chsel field if it is based on Bluetooth version &amp;lt;5:&lt;/p&gt;
&lt;div&gt;&lt;em&gt;&amp;quot;In 5.0 this field in the INIT PDU was changed from RFU to ChSel, and the receiving device (when not supporting it, or not knowing what it is version &amp;lt; 5.0 ) should set it to 0 and ignore it.&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/div&gt;
&lt;div&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/pastedimage1683096016281v1.png" alt=" " /&gt;&lt;/div&gt;
&lt;div&gt;[quote user="ble_starter"]BTW,could you please tell which old verison has CSA1 ,for I suupose you can get it easier interanlly.[/quote]&lt;/div&gt;
&lt;p&gt;Of course. You can use nRF5 SDK 13.1.0 with s132 v.4.0.x (&lt;a title="SDKs and SoftDevices" href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52832/COMP/nrf52832/ic_rev_sdk_sd_comp_matrix.html?cp=5_2_3_2"&gt;SDKs and SoftDevices&lt;/a&gt;). This Softdevice is based on Bluetooth 4.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/423416?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 02:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7892e734-29e1-49ec-af8c-ca6f82538578</guid><dc:creator>daoms</dc:creator><description>&lt;p&gt;I cannot ope the device,but I heared that the chip is from&amp;nbsp; realtek.&lt;/p&gt;
&lt;p&gt;As you mentioned in previous reply,&amp;quot;The softdevice will fallback to CSA1 ...required by spec&amp;quot;,so when does this case happen?Is it that&amp;nbsp;&amp;nbsp;initator analyzes the advertise and gets to know the peripherall use CSA1 ,it then use CSA1 in its CONNECT_REQ?&lt;/p&gt;
&lt;p&gt;If so ,it seems that nordic softdevice doesn&amp;#39;t&amp;nbsp;obey to bluetooth spec.Becasue it STILL sends a CSA2 CONNECT_REQ even it gets a CSA1 advertise.&lt;/p&gt;
&lt;p&gt;BTW,could you please tell which old verison has CSA1 ,for I suupose you can get it easier interanlly.&lt;/p&gt;
&lt;p&gt;Thansk&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/423023?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 14:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a782af9a-635d-4d67-9a49-c03bc92f847b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I see what you mean now - ChSel is &amp;#39;2&amp;#39; in the CONNECT_IND packet even though the advertiser has it set to &amp;#39;1&amp;#39;. Are you able to share any details about the BT chipset you are trying to connect to? I will follow up with our Bluetooth team to hear what they think abou this.&lt;/p&gt;
&lt;p&gt;In the meantime, if it is not too much work, you could try to test with an older Softdevice that does not support CSA #2 do see if you get the same problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/423003?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 13:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aae45429-234d-4774-95a6-2bd6d3d6cb17</guid><dc:creator>daoms</dc:creator><description>&lt;p&gt;Yes,my central is a custom board,and it is able to connect to several other devices.&lt;/p&gt;
&lt;p&gt;From the sniff I posted,we can see that the only difference is the CSA and window size/offset. The device has CSA1 in its ADV packet,the phone is smart to use CSA1 in its CONNECT_REQ, but my central still use CSA2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure about how CSA works in connection procedure.I suppose If I copy the&amp;nbsp;phone parameters to my central in CONNECT_REQ, there should be no difference as to the device ,right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/422877?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 06:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f800ab1b-8b9f-41dc-a741-1c59167c4d30</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, it is mandatory in Bluetooth 5. But I don&amp;#39;t recall seeing this be a problem before. The Softdevice will fall back to using CSA #1 if the peripheral does not support CSA #2 as required by the spec.&lt;/p&gt;
&lt;p&gt;Are you testing with a custom board or a DK? And have you tested if it is able to connect to other devices as central or peripheral?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/422861?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 03:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b16b8f8-6a23-4e5d-8a09-b741c7f38447</guid><dc:creator>daoms</dc:creator><description>&lt;p&gt;not really.I&amp;#39;m suspecting it is the CSA problem,as we can see the device ADV packet show it is CSA 1.&lt;/p&gt;
&lt;p&gt;Is there a way to change the ChSel of my&amp;nbsp;52832 from 2 to 1?&lt;/p&gt;
&lt;p&gt;I searched in forum here, and get the awareness&amp;nbsp; of that CSA 2 maybe is mandatory....hope not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: central cannot connect to a device, always 0x3e</title><link>https://devzone.nordicsemi.com/thread/422737?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 12:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:235fca33-f759-4f19-bdcb-ff1e7654994b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The peripheral is either failing to receive the connect ind packet or ignoring it (most likely the latter if the issue is consistent). Do you know if the peripheral&amp;nbsp;might be advertising with a whitelist/filter accept list?&amp;nbsp; When advertising with a whitelist, the peripheral will only respond to connect request from known devices in the list.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>