<?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>BLE UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93966/ble-uart</link><description>We have an NRF52833 connected to the host board(runs LINUX) through UART can anyone help us with the code that goes in the NRF module that can make it work as a transceiver module(just like BLE adaptor) like sending data received from BLE to UART and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2023 07:23:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93966/ble-uart" /><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421943?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 07:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b167351e-3f18-4687-971f-75a05ba510f8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear you have made progress. As you see the device up from hciconfig and got it working on the same Linux device with a USB-UART bridge all the basics should be in place, so I do unfortunately not have any specific suggestions at the moment.&lt;/p&gt;
&lt;p&gt;Can you share what you have from&amp;nbsp;bluetoothctl with show (though I understand it does not list any controllers) and hciconfig?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421882?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2023 16:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4156c052-91a1-4968-a416-66831c9e6d5b</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;with flow control turned on we connected RTS CTS pins to jetson RTS CTS pins and ran hciattach.&lt;br /&gt;1) a device can be found in hciconfig with MTU 27.7 &lt;br /&gt;2) it was DOWN we used btmgmt to set static-address&lt;br /&gt;3) ran power on command successfully&amp;nbsp;&lt;br /&gt;4) now hciconfig shows a device UP and running with MTU 27.7&lt;br /&gt;&lt;br /&gt;but scanning in btmgmt is not working and also bluetoothctl cannot see any controller when we type SHOW or LIST&lt;br /&gt;&lt;br /&gt;I think we are almost there and one step away from getting it fully working&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421880?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2023 14:54:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:956dc09a-19bc-4044-8f75-c1f95c225383</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;that is not intentional we directly loaded the sample, can we disable HW flow control and test the whole setup?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421800?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 14:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea24ab3f-fe44-4145-ab65-e97d620540b6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see you have HW flow control enabled for uart0 in your overlay. Is that intentional? If so, you must connect the HW flow control pins to the serial port on the computer as well, and that must be configured to use flow control. To change UART pins etc you can create an overlay where you change the pinctrl configuration. See an example &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/d620c98b8f7d053ac334a637af9791154d6a2bec/samples/nrf9160/slm_shell/boards/nrf52840dk_nrf52840.overlay"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421573?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2023 18:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abb7321f-3d1d-4f4d-a0c0-a4d1be928ffd</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;from your reply -&amp;gt;&amp;nbsp;&lt;span&gt;Yes, you are right. I don&amp;#39;t have a serial port on my computer. I am using the onboard debugger on a DK as a USB-UART bridge.&lt;br /&gt;&lt;br /&gt;we also did the same thing, loaded the hci_uart sample onto the DK and connected to our Linux computer&amp;nbsp;&lt;br /&gt;using DK USB_UART bridge. It worked i got the MTU as 27.7 and was able to scan and connect using bluetoothctl&lt;br /&gt;&lt;br /&gt;Now if it works with USB-UART bridge why it fails with jumper wires on TX(P0.06) and RX(P0.08) pins connected to our jetson UART pins (cross-connection rx-tx and tx-rx).&lt;br /&gt;&lt;br /&gt;we thought our jumper wires are damaged but no we replaced them with a new set of wires many times still haciattach doesn&amp;#39;t give an MTU reading to start with its always 0.0&lt;br /&gt;&lt;br /&gt;can you tell us a way to change the tx rx pins of nrf in zephyr to make sure if the pins 6 and 8 are damaged for some reason?&lt;br /&gt;&lt;br /&gt;our current overlay file is&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;uart0&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;&amp;quot;nordic,nrf-uarte&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;current-speed&lt;/span&gt;&lt;span&gt; = &amp;lt;&lt;/span&gt;&lt;span&gt;1000000&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;status&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;hw-flow-control&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421412?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2023 08:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8996107c-c891-43ae-9bfd-b894c1ad43e4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Pradeep_kshemin"]1) Instead of nrf connect sdk sample we are using the zephyr hci_uart sample is that okay?&lt;br /&gt;&lt;a href="https://docs.zephyrproject.org/2.7.0/samples/bluetooth/hci_uart/README.html"&gt;https://docs.zephyrproject.org/2.7.0/samples/bluetooth/hci_uart/README.html&lt;br /&gt;&lt;/a&gt;[/quote]
&lt;p&gt;Yes, this is the right one and the one I use, and the one I use. But use it from the nRF Connect SDK, of which Zephyr is a part. What I tested and that worked for me was the Zephyr HCI UART sample included in nRF Connect SDK 2.3.0 (under zephyr/samples/bluetooth/hci_uart/).&lt;/p&gt;
[quote user="Pradeep_kshemin"]2) can you confirm after hciattach , hciconfig shows an hci device with MTU 0.0 because we read that MTU should not be 0.0?[/quote]
&lt;p&gt;I did not spot that in your screenshot, but you are right, that is yet another indication of an issue with your setup. On my end, I have this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;eith@eith-linux:~$ hciconfig
hci1:	Type: Primary  Bus: UART
	BD Address: 00:00:00:00:00:00  ACL MTU: 27:3  SCO MTU: 0:0
	UP RUNNING 
	RX bytes:552 acl:0 sco:0 events:44 errors:0
	TX bytes:274 acl:0 sco:0 commands:44 errors:0&lt;/pre&gt;&lt;/p&gt;
[quote user="Pradeep_kshemin"]3) if you are loading HCI UART sample how are you using /dev/ttyACM2 (this is for USB devices) are you using FTDI converter ?[/quote]
&lt;p&gt;Yes, you are right. I don&amp;#39;t have a serial port on my computer. I am using the onboard debugger on a DK as a USB-UART bridge.&lt;/p&gt;
[quote user="Pradeep_kshemin"]4)we are using /dev/ttyTHS1 as&amp;nbsp;per jetson UART1. can you give us a way to check what device to select for hciattach because dmesg in Linux shows nothing about a new device connected via GPIO pins I think we are attaching the wrong serial device.&amp;nbsp;&lt;br /&gt;[/quote]
&lt;p&gt;That seems likely. Unlike with USB, there is no automatic detection of a device being connected to the serial pins, so you nee to know which it is connected to. I am not able to help you with that other than to suggest that you attempt to communicate with the nRF over UART in another way to ensure that you have the right serial port. Perhaps test a UART example on the device to see that you can write and get characters echoed back. Then you will know that the bi-directional communication is working, and also that you have the right device. You write that you did this though, so I assume that is good and that this was also with the same /dev/tty/*? If not, make sure you use the one you tested and found working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421363?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2023 05:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8549e312-876e-414e-95b8-fdc6c28716dc</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;we tried with the hciattach command you have given&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our setup -&amp;gt; Nvidia Jetson nano dev kit -- NRF52dk&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) hciattach outputs -&amp;gt; Device setup complete&lt;br /&gt;&lt;br /&gt;2) btmon output&lt;br /&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/1031.btmon.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;3) hciconfig command shows UART device with address 00:00:00:00:00 but its DOWN&lt;br /&gt;4)sudo hciconfig hci0 up gives timeout error&lt;br /&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/hci_5F00_config.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; as u asked us to test the UART first we tested it with a UART echo bot it worked anything I type on nrf UART can be in the jetson UART serial monitor&amp;nbsp;&lt;br /&gt;&lt;a id="" href="https://docs.zephyrproject.org/3.1.0/samples/drivers/uart/echo_bot/README.html"&gt;https://docs.zephyrproject.org/3.1.0/samples/drivers/uart/echo_bot/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Few questions&amp;nbsp;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;1) Instead of nrf connect sdk sample we are using the zephyr hci_uart sample is that okay?&lt;br /&gt;&lt;a id="" href="https://docs.zephyrproject.org/2.7.0/samples/bluetooth/hci_uart/README.html"&gt;https://docs.zephyrproject.org/2.7.0/samples/bluetooth/hci_uart/README.html&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;2) can you confirm after hciattach , hciconfig shows an hci device with MTU 0.0 because we read that MTU should not be 0.0?&lt;br /&gt;&lt;br /&gt;3) if you are loading HCI UART sample how are you using /dev/ttyACM2 (this is for USB devices) are you using FTDI converter ?&lt;br /&gt;&lt;br /&gt;4)we are using /dev/ttyTHS1 as&amp;nbsp;per jetson UART1. can you give us a way to check what device to select for hciattach because dmesg in Linux shows nothing about a new device connected via GPIO pins I think we are attaching the wrong serial device.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/421205?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 09:24:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bab456f9-aff3-4cc6-8f7f-ce2846b6061b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you check that there is no problems with the UART communication between the devices?&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I attempted to do more or less the same as you, and this is what I got (just to have a base-line of a working setup).&amp;nbsp;When I test this on a DK with the HCI UART sample from nrF Connect SDK 2.3.0 and a Linux computer, I get things to work with this approach:&lt;/p&gt;
&lt;p&gt;1. Start &amp;quot;sudo bluetoothctl&amp;quot; in a terminal&lt;/p&gt;
&lt;p&gt;2. In another terminal:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;eith@eith-linux:~$ sudo hciattach -s 1000000 /dev/ttyACM2 any 1000000 flow nosleep
Device setup complet&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;3. I see this was successful in the&amp;nbsp;&lt;span&gt;bluetoothctl window:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;[NEW] Controller E4:CD:3F:87:10:E4 eith-linux.nordicsemi.no #2 [default]
[CHG] Controller E4:CD:3F:87:10:E4 Powered: yes
[CHG] Controller E4:CD:3F:87:10:E4 Alias: eith-linux.nordicsemi.no #2
[CHG] Controller E4:CD:3F:87:10:E4 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
...&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. Check status in bluetoothctl with show:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;[bluetooth]# show
Controller E4:CD:3F:87:10:E4 (random)
	Name: eith-linux.nordicsemi.no #2
	Alias: eith-linux.nordicsemi.no #2
	Class: 0x00000000
	Powered: yes
	Discoverable: no
	DiscoverableTimeout: 0x000000b4
	Pairable: yes
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v1D6Bp0246d0540
	Discovering: no
	Roles: central
	Roles: peripheral
Advertising Features:
	ActiveInstances: 0x00 (0)
	SupportedInstances: 0x05 (5)
	SupportedIncludes: appearance
	SupportedIncludes: local-name
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5. Try to can in bluetoothhctl with &amp;quot;scan on&amp;quot;, and I get a lot of&amp;nbsp;devices found.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;6. I also see logs like this in btmon (this shows going from down to up with &amp;quot;sudo hciconfig hci1 up&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;eith@eith-linux:~$ sudo btmon
Bluetooth monitor ver 5.64
= Note: Linux version 5.19.0-38-generic (x86_64)                                                        0.250358
= Note: Bluetooth subsystem version 2.22                                                                0.250360
= New Index: 00:00:00:00:00:00 (Primary,UART,hci1)                                               [hci1] 0.250362
= New Index: A0:59:50:DB:B0:13 (Primary,USB,hci0)                                                [hci0] 0.250362
@ MGMT Open: bluetoothd (privileged) version 1.22                                              {0x0001} 0.250364
@ RAW Open: hciconfig (privileged) version 2.22                                                {0x0002} 3.315125
= Open Index: 00:00:00:00:00:00                                                                  [hci1] 3.315142
&amp;lt; HCI Command: Read Local Supported Features (0x04|0x0003) plen 0                             #1 [hci1] 3.315158
&amp;gt; HCI Event: Command Complete (0x0e) plen 12                                                  #2 [hci1] 3.315953
      Read Local Supported Features (0x04|0x0003) ncmd 1
        Status: Success (0x00)
        Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
          BR/EDR Not Supported
          LE Supported (Controller)
&amp;lt; HCI Command: Read Local Version Information (0x04|0x0001) plen 0                            #3 [hci1] 3.316014
&amp;gt; HCI Event: Command Complete (0x0e) plen 12                                                  #4 [hci1] 3.316876
      Read Local Version Information (0x04|0x0001) ncmd 1
        Status: Success (0x00)
        HCI version: Reserved (0x0c) - Revision 4683 (0x124b)
        LMP version: Reserved (0x0c) - Subversion 4683 (0x124b)
        Manufacturer: Nordic Semiconductor ASA (89)
&amp;lt; HCI Command: Read BD ADDR (0x04|0x0009) plen 0                                              #5 [hci1] 3.316910
&amp;gt; HCI Event: Command Complete (0x0e) plen 10                                                  #6 [hci1] 3.317957
      Read BD ADDR (0x04|0x0009) ncmd 1
        Status: Success (0x00)
        Address: 00:00:00:00:00:00 (OUI 00-00-00)
&amp;lt; HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0                                       #7 [hci1] 3.317994
&amp;gt; HCI Event: Command Complete (0x0e) plen 7                                                   #8 [hci1] 3.318932
      LE Read Buffer Size (0x08|0x0002) ncmd 1
        Status: Success (0x00)
        Data packet length: 27
        Num data packets: 3
&amp;lt; HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0                          #9 [hci1] 3.318966
&amp;gt; HCI Event: Command Complete (0x0e) plen 12                                                 #10 [hci1] 3.319993
      LE Read Local Supported Features (0x08|0x0003) ncmd 1
        Status: Success (0x00)
        Features: 0xfd 0x41 0x00 0x00 0x00 0x00 0x00 0x00
          LE Encryption
          Extended Reject Indication
          Peripheral-initiated Features Exchange
          LE Ping
          LE Data Packet Length Extension
          LL Privacy
          Extended Scanner Filter Policies
          LE 2M PHY
          Channel Selection Algorithm #2
&amp;lt; HCI Command: LE Read Supported States (0x08|0x001c) plen 0                                 #11 [hci1] 3.320028
&amp;gt; HCI Event: Command Complete (0x0e) plen 12                                                 #12 [hci1] 3.320880
      LE Read Supported States (0x08|0x001c) ncmd 1
        Status: Success (0x00)
        States: 0x000000ff000041ff
          Non-connectable Advertising State
          Scannable Advertising State
          Connectable Advertising State
          High Duty Cycle Directed Advertising State
          Passive Scanning State
          Active Scanning State
          Initiating State
            and Connection State (Central Role)
          Connection State (Peripheral Role)
          Non-connectable Advertising State
            and Passive Scanning State
          Connectable Advertising State
            and Active Scanning State
          Connectable Advertising State
            and Initiating State
            and Central Role &amp;amp; Peripheral Role
          High Duty Cycle Directed Advertising State
            and Initiating State
            and Central Role &amp;amp; Peripheral Role
          Low Duty Cycle Directed Advertising State
            and Initiating State
            and Central Role &amp;amp; Peripheral Role
          Connectable Advertising State
            and Connection State (Central Role)
            and Central Role &amp;amp; Peripheral Role
          High Duty Cycle Directed Advertising State
            and Connection State (Central Role)
            and Central Role &amp;amp; Peripheral Role
          Low Duty Cycle Directed Advertising State
            and Connection State (Central Role)
            and Central Role &amp;amp; Peripheral Role
          Connectable Advertising State
            and Connection State (Peripheral Role)
            and Central Role &amp;amp; Peripheral Role
          High Duty Cycle Directed Advertising State
            and Connection State (Peripheral Role)
            and Peripheral Role &amp;amp; Peripheral Role
&amp;lt; HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0                            #13 [hci1] 3.321362
&amp;gt; HCI Event: Command Complete (0x0e) plen 68                                                 #14 [hci1] 3.323646
      Read Local Supported Commands (0x04|0x0002) ncmd 1
        Status: Success (0x00)
        Commands: 66 entries
          Disconnect (Octet 0 - Bit 5)
          Read Remote Version Information (Octet 2 - Bit 7)
          Set Event Mask (Octet 5 - Bit 6)
          Reset (Octet 5 - Bit 7)
          Read Transmit Power Level (Octet 10 - Bit 2)
          Set Controller To Host Flow Control (Octet 10 - Bit 5)
          Host Buffer Size (Octet 10 - Bit 6)
          Host Number of Completed Packets (Octet 10 - Bit 7)
          Read Local Version Information (Octet 14 - Bit 3)
          Read Local Supported Features (Octet 14 - Bit 5)
          Read BD ADDR (Octet 15 - Bit 1)
          Read RSSI (Octet 15 - Bit 5)
          Set Event Mask Page 2 (Octet 22 - Bit 2)
          LE Set Event Mask (Octet 25 - Bit 0)
          LE Read Buffer Size (Octet 25 - Bit 1)
          LE Read Local Supported Features (Octet 25 - Bit 2)
          LE Set Random Address (Octet 25 - Bit 4)
          LE Set Advertising Parameters (Octet 25 - Bit 5)
          LE Read Advertising Channel TX Power (Octet 25 - Bit 6)
          LE Set Advertising Data (Octet 25 - Bit 7)
          LE Set Scan Response Data (Octet 26 - Bit 0)
          LE Set Advertise Enable (Octet 26 - Bit 1)
          LE Set Scan Parameters (Octet 26 - Bit 2)
          LE Set Scan Enable (Octet 26 - Bit 3)
          LE Create Connection (Octet 26 - Bit 4)
          LE Create Connection Cancel (Octet 26 - Bit 5)
          LE Read Accept List Size (Octet 26 - Bit 6)
          LE Clear Accept List (Octet 26 - Bit 7)
          LE Add Device To Accept List (Octet 27 - Bit 0)
          LE Remove Device From Accept List (Octet 27 - Bit 1)
          LE Connection Update (Octet 27 - Bit 2)
          LE Set Host Channel Classification (Octet 27 - Bit 3)
          LE Read Channel Map (Octet 27 - Bit 4)
          LE Read Remote Used Features (Octet 27 - Bit 5)
          LE Encrypt (Octet 27 - Bit 6)
          LE Rand (Octet 27 - Bit 7)
          LE Start Encryption (Octet 28 - Bit 0)
          LE Long Term Key Request Reply (Octet 28 - Bit 1)
          LE Long Term Key Request Neg Reply (Octet 28 - Bit 2)
          LE Read Supported States (Octet 28 - Bit 3)
          LE Receiver Test (Octet 28 - Bit 4)
          LE Transmitter Test (Octet 28 - Bit 5)
          LE Test End (Octet 28 - Bit 6)
          Read Authenticated Payload Timeout (Octet 32 - Bit 4)
          Write Authenticated Payload Timeout (Octet 32 - Bit 5)
          LE Set Data Length (Octet 33 - Bit 6)
          LE Read Suggested Default Data Length (Octet 33 - Bit 7)
          LE Write Suggested Default Data Length (Octet 34 - Bit 0)
          LE Read Local P-256 Public Key (Octet 34 - Bit 1)
          LE Generate DHKey (Octet 34 - Bit 2)
          LE Add Device To Resolving List (Octet 34 - Bit 3)
          LE Remove Device From Resolving List (Octet 34 - Bit 4)
          LE Clear Resolving List (Octet 34 - Bit 5)
          LE Read Resolving List Size (Octet 34 - Bit 6)
          LE Set Address Resolution Enable (Octet 35 - Bit 1)
          LE Set Resolvable Private Address Timeout (Octet 35 - Bit 2)
          LE Read Maximum Data Length (Octet 35 - Bit 3)
          LE Read PHY (Octet 35 - Bit 4)
          LE Set Default PHY (Octet 35 - Bit 5)
          LE Set PHY (Octet 35 - Bit 6)
          LE Enhanced Receiver Test (Octet 35 - Bit 7)
          LE Enhanced Transmitter Test (Octet 36 - Bit 0)
          LE Read Transmit Power (Octet 38 - Bit 7)
          LE Set Privacy Mode (Octet 39 - Bit 2)
          Octet 41 - Bit 2 
          Octet 45 - Bit 6 
&amp;lt; HCI Command: Set Event Mask (0x03|0x0001) plen 8                                           #15 [hci1] 3.323684
        Mask: 0x200080000204e890
          Disconnection Complete
          Encryption Change
          Read Remote Version Information Complete
          Command Complete
          Command Status
          Hardware Error
          Number of Completed Packets
          Data Buffer Overflow
          Encryption Key Refresh Complete
          LE Meta
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #16 [hci1] 3.324912
      Set Event Mask (0x03|0x0001) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Set Event Mask (0x08|0x0001) plen 8                                        #17 [hci1] 3.324940
        Mask: 0x0000000000080fdf
          LE Connection Complete
          LE Advertising Report
          LE Connection Update Complete
          LE Read Remote Used Features Complete
          LE Long Term Key Request
          LE Data Length Change
          LE Read Local P-256 Public Key Complete
          LE Generate DHKey Complete
          LE Enhanced Connection Complete
          LE Direct Advertising Report
          LE PHY Update Complete
          LE Channel Selection Algorithm
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #18 [hci1] 3.325896
      LE Set Event Mask (0x08|0x0001) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Read Advertising Channel TX Power (0x08|0x0007) plen 0                     #19 [hci1] 3.325981
&amp;gt; HCI Event: Command Complete (0x0e) plen 5                                                  #20 [hci1] 3.326873
      LE Read Advertising Channel TX Power (0x08|0x0007) ncmd 1
        Status: Success (0x00)
        TX power: 0 dbm (0x00)
&amp;lt; HCI Command: LE Read Transmit Power (0x08|0x004b) plen 0                                   #21 [hci1] 3.326924
&amp;gt; HCI Event: Command Complete (0x0e) plen 6                                                  #22 [hci1] 3.327893
      LE Read Transmit Power (0x08|0x004b) ncmd 1
        Status: Success (0x00)
        Min Tx power: -40 dBm
        Max Tx power: 4 dBm
&amp;lt; HCI Command: LE Read Accept List Size (0x08|0x000f) plen 0                                 #23 [hci1] 3.327927
&amp;gt; HCI Event: Command Complete (0x0e) plen 5                                                  #24 [hci1] 3.328878
      LE Read Accept List Size (0x08|0x000f) ncmd 1
        Status: Success (0x00)
        Size: 8
&amp;lt; HCI Command: LE Clear Accept List (0x08|0x0010) plen 0                                     #25 [hci1] 3.329023
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #26 [hci1] 3.329909
      LE Clear Accept List (0x08|0x0010) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Read Resolving List Size (0x08|0x002a) plen 0                              #27 [hci1] 3.330180
&amp;gt; HCI Event: Command Complete (0x0e) plen 5                                                  #28 [hci1] 3.330880
      LE Read Resolving List Size (0x08|0x002a) ncmd 1
        Status: Success (0x00)
        Size: 8
&amp;lt; HCI Command: LE Clear Resolving List (0x08|0x0029) plen 0                                  #29 [hci1] 3.331098
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #30 [hci1] 3.331892
      LE Clear Resolving List (0x08|0x0029) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Set Resolvable Private Address Timeout (0x08|0x002e) plen 2                #31 [hci1] 3.331928
        Timeout: 900 seconds
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #32 [hci1] 3.332873
      LE Set Resolvable Private Address Timeout (0x08|0x002e) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Read Maximum Data Length (0x08|0x002f) plen 0                              #33 [hci1] 3.332962
&amp;gt; HCI Event: Command Complete (0x0e) plen 12                                                 #34 [hci1] 3.333897
      LE Read Maximum Data Length (0x08|0x002f) ncmd 1
        Status: Success (0x00)
        Max TX octets: 251
        Max TX time: 2704
        Max RX octets: 251
        Max RX time: 2704
&amp;lt; HCI Command: LE Read Suggested Default Data Length (0x08|0x0023) plen 0                    #35 [hci1] 3.333930
&amp;gt; HCI Event: Command Complete (0x0e) plen 8                                                  #36 [hci1] 3.334879
      LE Read Suggested Default Data Length (0x08|0x0023) ncmd 1
        Status: Success (0x00)
        TX octets: 27
        TX time: 328
&amp;lt; HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8                                    #37 [hci1] 3.334908
        Mask: 0x0000000000800000
          Authenticated Payload Timeout Expired
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #38 [hci1] 3.335893
      Set Event Mask Page 2 (0x03|0x0063) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4                   #39 [hci1] 3.335924
        TX octets: 251
        TX time: 2704
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #40 [hci1] 3.336873
      LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Set Default PHY (0x08|0x0031) plen 3                                       #41 [hci1] 3.336973
        All PHYs preference: 0x00
        TX PHYs preference: 0x01
          LE 1M
        RX PHYs preference: 0x01
          LE 1M
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #42 [hci1] 3.337950
      LE Set Default PHY (0x08|0x0031) ncmd 1
        Status: Success (0x00)
= Index Info: 00:00:00:00:00:00 (Nordic Semiconductor ASA)                                       [hci1] 3.337977
&amp;lt; HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32                                 #43 [hci1] 3.338066
        Length: 6
        Flags: 0x04
          BR/EDR Not Supported
        TX power: 0 dBm
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #44 [hci1] 3.338987
      LE Set Advertising Data (0x08|0x0008) ncmd 1
        Status: Success (0x00)
&amp;lt; HCI Command: LE Set Scan Response Data (0x08|0x0009) plen 32                               #45 [hci1] 3.339017
        Length: 13
        Name (short): eith-linux
&amp;gt; HCI Event: Command Complete (0x0e) plen 4                                                  #46 [hci1] 3.339936
      LE Set Scan Response Data (0x08|0x0009) ncmd 1
        Status: Success (0x00)
@ MGMT Event: New Settings (0x0006) plen 4                                              {0x0001} [hci1] 3.339968
        Current settings: 0x00008a01
          Powered
          Low Energy
          Secure Connections
          Static Address
@ RAW Close: hciconfig                                                                         {0x0002} 3.340006

&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The above shows how this should work normally just to have a base line of what to expect in a working setup.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In your screenshots I&amp;nbsp;do not see any obvious issues before the last one with&amp;nbsp;bluetoothctl that shows you don&amp;#39;t have any controllers (and probably as a consequence of that there is not much in btmon). I don&amp;#39;t see any indication of why, though.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does this work if you try with your board on a normal Linux desktop computer? Or a DK on the desktop or even a DK with the Jetson?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/420820?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 14:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d3e7557-e687-4546-869c-747e1c97d831</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;sure waiting for your reply meanwhile we are doing the same setup on the Raspberry pi 3b+ just to verify its not jetson dev kit issue&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/420817?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 14:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4badcec-765e-40cd-8a6f-e3d40a0aa3ef</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry for the delay. I have not been able to look at this yet but will do so during this week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/420164?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 09:58:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d22fbd3-a8a5-4cc6-bbb2-f46ce35bfff3</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Flashed the HCI_UART sample onto the nrf52dk&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Connected the RX of the dk to jetson nano TX and TX of the dk to jetson nano RX and GND to GND&lt;/li&gt;
&lt;li&gt;Run the command sudo btattach -B /dev/tty/THS1 -s 1000000 -R&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run hciconfig to see the new controller attached, we get a device buts its address is always 00:00:00:00:00&lt;/li&gt;
&lt;li&gt;hciconfig hci0 down gives output - device or resource busy&amp;nbsp;&lt;/li&gt;
&lt;li&gt;hciconfig hci0 reset gives same output device busy&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Btmon output is attached in the screenshots&amp;nbsp;&lt;/li&gt;
&lt;li&gt;run Bluetoothctl&amp;nbsp;&lt;/li&gt;
&lt;li&gt;show or list cmd in bluetoothctl shows no devices.&amp;nbsp;&lt;/li&gt;
&lt;/ol&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/btattach.jpg" /&gt;&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/hciconfig-busy.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="btmon output" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/btmon.jpg" /&gt;&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/bluetoothctl.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/419772?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 14:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e6e354b-9829-4251-96c1-ed24469fe7b7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you elaborate on what you have done now? I see you write that you are using the same setup but there must be some form of change (deliberate or accidental), as the behavior is not the same.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t make any progress, perhaps you can show (copy-past from terminal or similar) all exact steps you make and the results of those, so that I can better understand?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/419381?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2023 11:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c051f67-1f37-4797-a6b1-a422f246b572</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;hey strangely we are rerunning the same setup with the same board but nothing is working. What might be the issue&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Things tested&amp;nbsp;&lt;br /&gt;1) UART echo bot sample -&amp;gt; working&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Current error&amp;nbsp;&lt;br /&gt;&lt;br /&gt;hciconfig returns&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4861.error.jpg" /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/397268?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 17:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86f3faf3-7cc1-4ef4-a090-bff6dec8a077</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I am glad to hear. Thanks for letting me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/397187?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 14:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:428493b8-ba8a-4e3a-ad5a-30232a3e9ea8</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;Everything is working. thank you so much&amp;nbsp;&lt;br /&gt;the error was in my Linux board the UART device is /dev/THS1, not ACM0 replaced it in btattach command and everything is working. I also tested the HCI_USB example which also works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/397132?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 11:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ffbb171-0a73-4ee7-b04f-9d66e9b1b97c</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;1) Flashed HCI_UART sample using below steps&amp;nbsp;&lt;br /&gt;-west build -p auto -b nrf52833dk_nrf52833 samples\bluetooth\hci_uart&lt;br /&gt;-west flash&lt;br /&gt;2)Connected the board to linux machine and ran the below command&amp;nbsp;&lt;br /&gt;-sudo btattach -B /dev/ttyACM0 -S 1000000 -R&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt="btattach" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/btattach.jpeg" /&gt;&lt;br /&gt;3) ran hciconfig&amp;nbsp;&lt;br /&gt;output&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt="hciconfig" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/hciconfig.jpeg" /&gt;&lt;br /&gt;can see two Bluetooth devices one is of laptop and one is the NRF connected&amp;nbsp;&lt;br /&gt;4) ran btmon&lt;br /&gt;output&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt="btmon" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/btmon.jpeg" /&gt;&lt;br /&gt;5) After that tried to run hciconfig scan , bluetoothctl scan , hci1 find -l but none of this was able to scan for ble using nrf as dongle&amp;nbsp;&lt;br /&gt;&lt;br /&gt;why is the device BD address 00:00:00:00 is it a valid address?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/396512?ContentTypeID=1</link><pubDate>Sun, 20 Nov 2022 10:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bf7d460-9650-44d4-9c6b-d21406704eac</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I forgot to add the link, but &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_uart/README.html"&gt;HCI UART&lt;/a&gt; is an example that works out of the box (there are also other variants for other transports like USB). The example documentation also covers how to interface with this from Linux.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/396306?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 20:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67738d06-c513-46a8-9aa3-1599f992580e</guid><dc:creator>Pradeep_kshemin</dc:creator><description>&lt;p&gt;Option 1 looks fine as we are using Linux.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To implement it:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) for &lt;strong&gt;Bluez&lt;/strong&gt; we can use pybluez -&amp;nbsp;&lt;a id="" href="https://github.com/pybluez/pybluez"&gt;https://github.com/pybluez/pybluez&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2) &amp;quot;&amp;nbsp;&lt;span&gt;HCI UART on the nRF device to run the Bluetooth controller &amp;quot;- Can you suggest an example code to start with?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART</title><link>https://devzone.nordicsemi.com/thread/396240?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 14:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad9293f-c728-43b4-b171-bcee5dbb645b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are several possible approaches here, which is best depends on your use case.&lt;/p&gt;
&lt;p&gt;1. You can use&amp;nbsp;Bluetooth: HCI UART on the nRF device to run the Bluetooth controller there, and use HCI over UART. On the LInux side, use &lt;a href="http://www.bluez.org/"&gt;BlueZ&lt;/a&gt; as the Bluetooth host layer. This way the nRF will seem like a generic Bluetooth dongle from Linux and you can use it with standard Bluetooth APIs. This will only work with hosts that support HCI, so Linux, but not Windows or Mac, for instance.&lt;/p&gt;
&lt;p&gt;2. You can also use the Bluetooth shell form&amp;nbsp;zephyr/tests/bluetooth/shell/ on the nRF, and interact with it from a script that sends shell commands and parse the output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>