<?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>unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18724/unable-to-establish-6lowpan-connection-using-openwrt-rpi</link><description>Hi,
i have an openwrt image running on my rpi. I made sure to build the openwrt image with 6lowpan modules and other bluez library.
i am trying to connect to the nrf52 running coap client exmaple using the rpi.
I can to see the nrf52 device when i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jan 2017 11:48:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18724/unable-to-establish-6lowpan-connection-using-openwrt-rpi" /><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72313?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 11:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe15b370-b6cc-49fe-91eb-8dae0538e413</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if anyone have tested OpenWRT with kernel 4.4, but at least it should work with &lt;a href="https://devzone.nordicsemi.com/question/82269/iot-sdk-rpi3-using-jessie-with-bluetooth_6lowpan/"&gt;Raspbian Jessie&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72312?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2017 04:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bffc9742-2075-40c3-ae38-9ea747c11729</guid><dc:creator>nav87</dc:creator><description>&lt;p&gt;Petter,
I noticed if you clone the mainline trunk from openwrt, it builds the 4.4 kernel with the latest Bluetooth_6lowpan kernel module which has 6lowpan_enable instead of 6lowpan_psm. I&amp;#39;m not able to establish connection using this version.
But if I download the chaos_calmer branch, openwrt is built with 3.18 kernel and older version Bluetooth_6lowpan kernel module and using this version I&amp;#39;m able to establish connection, so ill stick with this for now.
Have you guys tried building and test the latest mainline openwrt with 4.4 kernel and the latest Bluetooth_6lowpan kernel module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72311?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 13:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea76ec22-eb3f-45c2-8ca7-b2a67c55cc33</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I see. Could you try the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;echo 1 &amp;gt; /sys/kernel/debug/bluetooth_enable

echo 35 &amp;gt; /sys/kernel/debug/bluetooth/6lowpan_psm
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72310?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 19:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18fa0b41-88b7-4736-a804-8b6b0cf88912</guid><dc:creator>nav87</dc:creator><description>&lt;p&gt;i tried it. the result is &amp;quot;Connection handle 64&amp;quot;, but when i do hcitool con, i dont see any devices in the list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72306?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 08:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccf11c6d-f1bb-4c9c-ad29-c2166481d702</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, to see if that works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72309?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 20:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dfc70a8-450c-47ee-b6fd-41efb4962c35</guid><dc:creator>nav87</dc:creator><description>&lt;p&gt;I have not done that yet. do you want me to connect using hcitool lecc method?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72305?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 15:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484c3f25-4a20-4fb0-91ea-2cedc3de3993</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. Are you able to connect with hcitool?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72308?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 15:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93bdac78-bcfb-4ec7-a27e-ec8c1e5fbecb</guid><dc:creator>nav87</dc:creator><description>&lt;p&gt;Yes, RPi 1 with openwrt chaos calmer 15.05. i got the latest openwrt from the trunk -&amp;gt; make menuconfig -&amp;gt; added required kernel modules, libs -&amp;gt; build&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72307?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 15:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b7e0327-0290-4686-9275-029192cab5d1</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. What versions did you use? Are you using Raspberry Pi &lt;strong&gt;1&lt;/strong&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72303?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 14:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e81781d4-473e-4035-b448-8578b6d0a784</guid><dc:creator>nav87</dc:creator><description>&lt;p&gt;Hello Petter,
Yeah, i have called exactly how you mentioned.
I was actually able to establish proper connection to my nrf52 using raspbian OS.
the problem is  when i use openwrt image. i built an openwrt image with bluetooth_6lowpan kernel module, bluez libs and utils.
as soon as send a command in this format &lt;code&gt;echo &amp;quot;connect 00:AA:BB:XX:YY:ZZ 1&amp;quot; &amp;gt; /sys/kernel/debug/bluetooth/6lowpan_control&lt;/code&gt; i get the following error : &amp;quot;write error: Connection refused&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to establish 6lowpan connection using openwrt+rpi</title><link>https://devzone.nordicsemi.com/thread/72304?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 10:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebd514de-d748-4156-be8d-50f9b2f623f4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you followed &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.iotsdk.v0.9.0/iot_sdk_user_guides_linux_commands.html?cp=4_1_0_2_5"&gt;this&lt;/a&gt;? Are you calling something like &lt;code&gt;echo &amp;quot;connect 00:AA:BB:XX:YY:ZZ 1&amp;quot; &amp;gt; /sys/kernel/debug/bluetooth/6lowpan_control&lt;/code&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>