<?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 Central with USB CDC shell</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115393/ble-central-with-usb-cdc-shell</link><description>I am looking to expand upon the Bluetooth Shell example to convert to USB CDC shell as well as to add other functionality. 
 I am struggling to locate where the shell commands have been set up to access the BLE Gatt funcitonality, can you point me in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Oct 2024 12:27:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115393/ble-central-with-usb-cdc-shell" /><item><title>RE: BLE Central with USB CDC shell</title><link>https://devzone.nordicsemi.com/thread/505726?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 12:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22ab32b7-d3da-4cbc-88cc-8eb8e33ba70b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;William,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;Bluetooth Shell test project supports USB CDC out of the box. However, you need to add usb.overlay as Exdtra Devicetree overlay and cdc_acm.conf as extra Kconfig fragment when generating the project configuration (both files are found in the&amp;nbsp;project folder).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding where the commands are defined, the test project use the&amp;nbsp;commands that is part of the BT stack, the shell implementation is under&amp;nbsp;zephyr/subsys/bluetooth/shell. This is where you find all the commands. To see how to add your own shell commands you can refer to the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/shell/shell_module"&gt;Shell module sample&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>