<?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>bluetooth 5 TCP application stream between nrf52840 DK and nrf52840 Dongle on debian stretch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39309/bluetooth-5-tcp-application-stream-between-nrf52840-dk-and-nrf52840-dongle-on-debian-stretch</link><description>Hi, 
 I&amp;#39;m developing an application with the following hardware and software design components: 
 - nrf52840 DK with attached sensor 
 - nrf52840 USB dongle attached to debian stretch (i86 now, soon to be raspberry pi) platform 
 - Zephyr development</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Oct 2018 13:18:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39309/bluetooth-5-tcp-application-stream-between-nrf52840-dk-and-nrf52840-dongle-on-debian-stretch" /><item><title>RE: bluetooth 5 TCP application stream between nrf52840 DK and nrf52840 Dongle on debian stretch</title><link>https://devzone.nordicsemi.com/thread/154121?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 13:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:742fd71f-dbc8-48b0-b34b-bbe60b04564c</guid><dc:creator>Mttrinh</dc:creator><description>[quote user="rtisys"]Also, since I want to use bluetooth 5, don&amp;#39;t understand impact of open hci &amp;quot;only supporting&amp;quot; ble - if, indeed, that statement is correct?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Not sure what you mean by this, but zephyr is Bluetooth 5.0 compliant. Have a look at the documentation &lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/hci_uart/README.html" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth 5 TCP application stream between nrf52840 DK and nrf52840 Dongle on debian stretch</title><link>https://devzone.nordicsemi.com/thread/153338?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 17:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb062351-9a2f-459d-ad10-c73fa8ce2295</guid><dc:creator>rtisys</dc:creator><description>&lt;p&gt;Mttrinh,&lt;/p&gt;
&lt;p&gt;Thanks for your note.&amp;nbsp; Pretty much committed to zephyr at this point, so won&amp;#39;t look further into softdevices.&amp;nbsp; Have not been able to get hci0 to init....&amp;quot;cannot assign requested address (99)&amp;quot;.&amp;nbsp; Also, since I want to use bluetooth 5, don&amp;#39;t understand impact of open hci &amp;quot;only supporting&amp;quot; ble - if, indeed, that statement is correct?&amp;nbsp; Looking into alternatives for communicating between debian platform and nrf52840 dongle if I can&amp;#39;t get open HCI to init link.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Chuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth 5 TCP application stream between nrf52840 DK and nrf52840 Dongle on debian stretch</title><link>https://devzone.nordicsemi.com/thread/153321?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 15:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ac045d5-01cb-49f2-8b04-54480577ced6</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply, have you had any progress on this issue?&lt;/p&gt;
[quote user="rtisys"]So, if I intend to stick w/Zephyr, soft devices won&amp;#39;t be a part of my project (Is that correct?).[/quote]
&lt;p&gt;&amp;nbsp;Yes, that is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bluetooth 5 TCP application stream between nrf52840 DK and nrf52840 Dongle on debian stretch</title><link>https://devzone.nordicsemi.com/thread/152557?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 18:24:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d254dcd8-1a7b-4bd6-a541-de217876e7b0</guid><dc:creator>rtisys</dc:creator><description>&lt;p&gt;I&amp;#39;ve done a bit more digging and have cleared up some of my misconceptions about what layers do what functions......this may all be &amp;quot;old news&amp;quot; to most BT developers, but the following - and, particularly, comments and corrections - may be of help to other new comers.&amp;nbsp; Thanks in advance.&lt;/p&gt;
&lt;p&gt;-Some of my pca10059 download issues might be due to lack of JTAG support chip on that board.&amp;nbsp; Several posts discuss using a pca10056 (DK) to address that problem.&amp;nbsp; WIll get a flash cable and try to &amp;quot;play through&amp;quot; the pca10056 to program the pca10059 once I get a handle on the software issues (see below).&lt;/p&gt;
&lt;p&gt;- I found a white paper that describes the role of softdevices (Nordic) vs Zephyr stack (Nordic contributed).&amp;nbsp; So, if I intend to stick w/Zephyr, soft devices won&amp;#39;t be a part of my project (Is that correct?).&amp;nbsp; Also, since I need to get a reliable byte stream into my Linux platform, I will need an exposed HCI interface for the hci daemon and higher stack levels. That&amp;#39;s another reason to focus on the hci firmware.&lt;/p&gt;
&lt;p&gt;- The Zephyr hci-usb seems to be a placeholder at present waiting for further development.&amp;nbsp; Don&amp;#39;t know if anyone is currently working in that area.&lt;/p&gt;
&lt;p&gt;-Looks like I should be using Zephyr hci-uart.&amp;nbsp; Without doing some rewire on the pca10059, I&amp;#39;m guessing the best thing to do is use a pca10056 DK to run the hci-uart firmware.&amp;nbsp; Luckily, I have several of these, so no problem.&amp;nbsp; It builds and runs on the DK. (cmake -DBOARD=nrf52840_pca10056 ,,/,,/&amp;nbsp;&amp;nbsp;&amp;nbsp; in Zephyr tool chain).&amp;nbsp; There was at least one note that hci-uart would only support BT 4.2 and not BT 5...don&amp;#39;t know just what this means-or if its accurate.&lt;/p&gt;
&lt;p&gt;-hciattach (or btattach) appears to find the pca10056 runing hci-uart&amp;nbsp; firmware on linux device /dev/ttyACM0.&amp;nbsp; But, hciconfig shows it as DOWN.&amp;nbsp; Attempts to bring it up with &amp;quot;hciconfig hc0 up&amp;quot;&amp;nbsp; yield an error 99 - see below.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;sudo hciconfig dev&lt;/p&gt;
&lt;p&gt;hci0:&amp;nbsp;&amp;nbsp; &amp;nbsp;Type: Primary&amp;nbsp; Bus: UART&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;BD Address: 00:00:00:00:00:00&amp;nbsp; ACL MTU: 27:7&amp;nbsp; SCO MTU: 0:0&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;DOWN &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RX bytes:231 acl:0 sco:0 events:16 errors:0&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;TX bytes:88 acl:0 sco:0 commands:16 errors:0&lt;/p&gt;
&lt;p&gt;sudo hciconfig hci0 up&lt;/p&gt;
&lt;p&gt;Can&amp;#39;t init device hci0: Cannot assign requested address (99)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;OS is Debian Stretch&lt;/p&gt;
&lt;p&gt;4.9.0-4-amd64&lt;/p&gt;
&lt;p&gt;But, intend to move to Raspberry PI Debian Stretch once things work.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Chuck McP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>