The latest development version of this page may be more current than this released 0.4.3 version.

Bluetooth: Shell

Overview

Application demonstrating the BLE Peripheral and Central role. It is operated on shell .

Requirements

  • A board with BLE support

Building and Running

examples/bluetooth/bt_cli

compile, burn, and more, see get-started chapter 。

Running result

W800: help

COMMAND LIST:

cls                   -- clear command line
help                  -- show help info
btfalconnect          -- connect with filter accept list enabled cmd
btfalclear            -- clear filter accept list cmd
btfalrem              -- remove filter accept list cmd
btfaladd              -- clear add filter accept list cmd
btoobclear            -- clear remote oob cmd
btoobremote           -- config remote oob cmd
btauthooktk           -- input tk for oob cmd
btauthpairingconfirm  -- confirm auth pairing cmd
btauthpasskeyconfirm  -- confirm auth passkey cmd
btauthpasskey         -- input auth passkey cmd
btauthcancel          -- cancel default connection auth cmd
btauth                -- config auth method cmd
btconnections         -- show all connections information cmd
btbonds               -- show all bonds information cmd
btbondable            -- on off bondable cmd
btsecurity            -- select security level cmd
btclear               -- clear pair cmd
btoob                 -- show oob information cmd
btchannelmap          -- channel map update cmd
btconnupdate          -- update connection param cmd
btconninfo            -- show connection information cmd
btselect              -- select default connection cmd
btdisconnect          -- disconnect with remote device cmd
btconnectname         -- connect remote device by name cmd
btconnect             -- connect remote device cmd
btdirectedadv         -- directed advertise cmd
btadv                 -- advertise cmd
btscanverbose         -- scan verbose output cmd
btfilteraddressclear  -- remove scan filter address cmd
btfilteraddress       -- scan filter by address cmd
btfilterclear         -- scan filter clear cmd
btfilterintv          -- scan filter by interval cmd
btfilterrssi          -- scan filter by rssi cmd
btfiltername          -- scan filter by name cmd
btscan                -- scan cmd
btidselect            -- select identity cmd
btidshow              -- show identity list cmd
btiddelete            -- delete identity cmd
btidreset             -- reset identity cmd
btidcreate            -- create identity cmd
btappearance          -- show/change bt appearance cmd
btname                -- show/change bt name cmd
bthci                 -- send hci cmd
btload                -- load bt settings cmd
btdeinit              -- disable bt cmd
btinit                -- enable bt cmd
btattmtu              -- read mtu of default connection cmd
btshowdb              -- show gatt database cmd
btset                 -- write by handle cmd
btget                 -- read remote handle list cmd
btunsubscribe         -- unsubscribe notification or indication cmd
btwritewithoutrsp     -- write without response cmd
btwrite               -- write cmd
btresubscribe         -- resubscribe notification or indication cmd
btsubscribe           -- subscribe notification or indication cmd
btsignedwrite         -- signed write cmd
btreadmultiple        -- read multiple by handle cmd
btreaduuid            -- read character or descriptor by uuid cmd
btread                -- read character or descriptor by handle cmd
btexchangemtu         -- exchange ATT mtu cmd
btdiscoversecondary   -- discover secondary service cmd
btdiscoverprimary     -- discover primary service cmd
btdiscoverinclude     -- discover include service cmd
btdiscoverdescriptor  -- discover descriptor cmd
btdiscovercharacter   -- discover characteristic cmd
btdiscover            -- discover service cmd