nuttx-apps/wireless/bluetooth/btsak
YAMAMOTO Takashi e7156be066 Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
..
.gitignore Revert "Don't generate .depend anymore" 2020-03-22 23:09:40 -05:00
btsak_advertise.c Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
btsak_features.c apps/wireless/bluetooth/btsak: Update include to account for new location of Bluetooth header files. 2018-04-29 12:44:03 -06:00
btsak_gatt.c apps/wireless/bluetooth/btsak: Remove unnecessary gatt get commands 2018-12-08 13:02:19 -06:00
btsak_info.c apps/wireless/bluetooth/btsak: 'bt bnep0 info' outputs a reversed addr. It should print BDAddr: aa:bb:cc:dd:ee:ff instead of BDAddr: ff:ee:dd:cc:bb:aa 2018-11-25 09:54:09 -06:00
btsak_main.c Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2019-10-06 06:14:56 -06:00
btsak_scan.c apps/wireless/bluetooth/btsak/btsak_scan.c: Fix reversed address 2018-12-17 11:20:16 -06:00
btsak_security.c apps/wireless/bluetooth/btsak: Update include to account for new location of Bluetooth header files. 2018-04-29 12:44:03 -06:00
btsak.h apps/wireless/bluetooth/btsak: Remove unnecessary gatt get commands 2018-12-08 13:02:19 -06:00
Kconfig Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE 2020-03-27 02:43:11 -05:00
Make.defs apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path. 2019-10-17 11:33:59 -06:00
Makefile Makefiles: This reverts part of commit cf0365ea9. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured. 2019-10-15 09:25:48 +08:00
README.txt apps/wireless/bluetooth/btsak: Add a README file. 2018-04-21 12:18:17 -06:00

btsak -- Bluetooth Swiss Army Knife

Commands:

  Command:      help
  Description:  Should overall command help
  Usage:        bt <ifname> help

  Command:      info
  Description:  Show Bluetooth driver information
  Usage:        bt <ifname> info [-h]

  Command:      features
  Description:  Show Bluetooth driver information
  Usage:        bt <ifname> features [-h] [le]
  Where:        le - Selects LE features vs BR/EDR features

  Command:      scan
  Description:  Bluetooth scan commands
  Usage:        bt <ifname> scan [-h] <start [-d]|get|stop>
  Where:        start - Starts scanning.  The -d option enables duplicate
                  filtering.
                get   - Shows new accumulated scan results
                stop  - Stops scanning

  Command:      advertise
  Description:  Bluetooth advertise commands
  Usage:        bt <ifname> advertise [-h] <start|stop>
  Where:        start - Starts advertising
                stop  - Stops advertising

  Command:      security
  Description:  Enable security (encryption) for a connection:
                If device is paired, key encryption will be enabled.  If
                the link is already encrypted with sufficiently strong
                key this command does nothing.

                If the device is not paired pairing will be initiated. If
                the device is paired and keys are too weak but input output
                capabilities allow for strong enough keys pairing will be
                initiated.

                This command may return error if required level of security
                is not possible to achieve due to local or remote device
                limitation (eg input output capabilities).
  Usage:        bt <ifname> security [-h] <addr> public|private <level>
  Where:        <addr>  - The 6-byte address of the connected peer
                <level> - Security level, on of:

                  low     - No encryption and no authentication
                  medium  - Encryption and no authentication (no MITM)
                  high    - Encryption and authentication (MITM)
                  fips    - Authenticated LE secure connections and encryption

  Command:      gatt
  Description:  Generic Attribute (GATT) commands
  Usage:        bt <ifname> gatt [-h] <cmd> [option [option [option...]]]
  Where:        See "GATT Commands" below

GATT Commands

  Command:      exchange-mtu
  Description:  Set MTU to out maximum and negotiate MTU with peer
  Usage:        bt <ifname> gatt exchange-mtu [-h] <addr> public|private

  Command:      mget
  Description:  Get the pass/fail result of the last GATT 'exchange-mtu' command
  Usage:        bt <ifname> gatt mget [-h]

  Command:      discover
  Description:  Initiate discovery
  Usage:        bt <ifname> gatt discover [-h] <addr> public|private <uuid16> [<start> [<end>]]

  Command:      characteristic
  Description:  Initiate characteristics discovery
  Usage:        bt <ifname> gatt characteristic [-h] <addr> public|private [<start> [<end>]]

  Command:      descriptor
  Description:  Initiate characteristics discovery
  Usage:        bt <ifname> gatt descriptor [-h] <addr> public|private [<start> [<end>]]

  Command:      dget
  Description:  Get the result of the last discovery action
  Usage:        bt <ifname> gatt dget [-h]

  Command:      read
  Description:  Initiate a GATT read operation.
  Usage:        bt <ifname> gatt read [-h] <addr> public|private <handle> [<offset>]

  Command:      read-multiple
  Description:  Initiate a GATT read-multiple operation.
  Usage:        bt <ifname> gatt read-multiple [-h] <addr> public|private <handle> [<handle> [<handle>]..]

  Command:      rget
  Description:  Get the data resulting from the last read operation
  Usage:        bt <ifname> gatt rget [-h]

  Command:      write
  Description:  Initiate a GATT write operation.
  Usage:        bt <ifname> gatt write [-h] <addr> public|private <handle> <byte> [<byte> [<byte>]..]

  Command:      wget
  Description:  Get the pass/fail result of the last GATT 'write' command
  Usage:        bt <ifname> gatt wget [-h]