Commit Graph

69 Commits

Author SHA1 Message Date
Johan Hedberg
0fcb1d9513 tools/btmgmt: Add support for passkey notification 2014-06-01 22:52:17 +03:00
Johan Hedberg
a27603068b tools/btmgmt: Add support for passkey requests 2014-06-01 22:52:10 +03:00
Lukasz Rymanowski
d751cc823a tools/btmgmt: Add set-io-cap command
This is needed for testing e.g. PTS
2014-05-31 19:21:21 +03:00
Johan Hedberg
2790b3b250 tools/btmgmt: Fix address type in user confirm replies 2014-05-27 20:59:45 +03:00
Lukasz Rymanowski
3afaef7655 tools: Add conn-info to btmgmt 2014-05-19 08:21:35 +03:00
Szymon Janc
989ff1d03d tools/btmgmt: Fix bogus comment in eir_get_flags function
This was due to copy-and-paste.
2014-04-02 13:43:00 +03:00
Szymon Janc
aca6d609da tools/btmgmt: Add option to pass adress type to disconnect command
This is needed to disconnect LE devices.
2014-04-02 13:42:09 +03:00
Szymon Janc
4b294a9486 tools/btmgmt: Print AD flags for LE devices
This is usefull for GAP qualification tests.
2014-04-01 17:09:41 +03:00
Claudio Takahasi
d1ee63ca3f Replace bt_get_le32() by get_le32() 2014-03-21 10:40:48 +02:00
Claudio Takahasi
a646737b7e Replace bt_get_le16() by get_le16() 2014-03-21 10:39:56 +02:00
Johan Hedberg
e1dc76907d tools/btmgmt: Add support for Set Privacy command 2014-02-22 16:36:53 +02:00
Marcel Holtmann
78f3e8f00e tools: Add string for privacy management setting 2014-02-21 21:27:09 -08:00
Johan Hedberg
971575ee9c tools/btmgmt: Add address type support for the unpair command 2014-02-18 14:16:19 +02:00
Johan Hedberg
f79ca7b823 tools/btmgmt: Print more detailed address information for pairing 2014-02-18 13:54:28 +02:00
Johan Hedberg
2a1240fbc7 tools/btmgmt: Add support for mgmt_load_irks 2014-02-18 10:15:16 +02:00
Marcel Holtmann
ceaf091426 tools: Add command to clear long term keys 2014-02-15 15:42:45 -08:00
Marcel Holtmann
c60216b08b tools: Add command to btmgmt to enable/disable debug keys setting 2014-02-02 00:02:34 -08:00
Marcel Holtmann
9f79f00116 tools: Decode debug keys feature within btmgmt info command 2014-02-01 23:53:42 -08:00
Marcel Holtmann
857421a6a8 tools: Use direct include from shared files in src directory 2014-01-25 16:58:24 -08:00
Johan Hedberg
1a9051e9ee Rename glib-helper to uuid-helper 2014-01-21 14:12:47 +02:00
Johan Hedberg
4cae6340cf tools/btmgmt: Remove unneeded GLib include 2014-01-21 13:59:14 +02:00
Johan Hedberg
a10af97063 tools/btmgmt: Remove src/eir.c dependency 2014-01-21 13:59:14 +02:00
Marcel Holtmann
d94debd256 tools: Remove GLib mainloop requirement from btmgmt utility 2014-01-12 02:23:01 -08:00
Marcel Holtmann
67269189ca tools: Add support for setting Secure Connection Only mode 2014-01-11 16:02:48 -08:00
Marcel Holtmann
ca1cb143d8 tools: Show results for local OOB extended data 2014-01-09 19:53:59 -08:00
Marcel Holtmann
ce827ffc71 tools: Add support for enabling secure connections support 2014-01-09 19:47:24 -08:00
Marcel Holtmann
86275d6304 tools: Add support for reading local OOB data from mgmt interface 2014-01-09 19:39:59 -08:00
Andrei Emeltchenko
63840f3883 btmgmt: Remove unneeded code 2013-12-16 11:15:35 +02:00
Marcel Holtmann
e66de31c5a tools: Add command for setting limited discoverable mode 2013-10-15 14:30:02 -07:00
Marcel Holtmann
a1fa0a3b49 tools/btmgmt: Fix small copy&paste issue 2013-10-02 06:15:52 -07:00
Marcel Holtmann
84beb3c00c tools/btmgmt: Add support for setting static address 2013-10-02 06:15:52 -07:00
Johan Hedberg
516007fa51 tools/btmgmt: Add support for set_bredr 2013-10-02 12:16:57 +03:00
Johan Hedberg
eb505db7cc tools/btmgmt: Fix minor whitespace issue 2013-10-02 10:41:30 +03:00
Johan Hedberg
f4bbedec71 tools/btmgmt: Add support for setting LE advertising 2013-09-25 13:51:11 +03:00
Johan Hedberg
4623630a16 tools/btmgmt: Add fast-conn command for fast connectable mode 2013-03-04 10:37:02 +02:00
Timo Mueller
9278cee741 tools: btmgmt: Fix return value to return request id
Commit 947a7477d2 introduced the method
send_cmd which returned the index of the adapter instead of the
request id. As a result no mgmt command could be sent to hci0, as 0
marks an invalid request id.
2013-02-20 20:15:24 +02:00
Anderson Lizardo
23f625871d tools: btmgmt: Add missing return after g_main_loop_quit()
This change keeps semantic of previous code that used to call exit()
directly.
2013-02-20 10:00:46 +02:00
Syam Sidhardhan
f6c3832afa tools: Fix compilation error with GINT_TO_POINTER
Fixes the following error:
tools/btmgmt.c: In function ‘index_rsp’:
tools/btmgmt.c:756:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
tools/btmgmt.c: In function ‘cmd_info’:
tools/btmgmt.c:791:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[1]: *** [tools/btmgmt.o] Error 1
make: *** [all] Error 2
2013-02-18 18:12:18 +02:00
Johan Hedberg
12d8434dd8 tools: btmgmt: Remove old unused mgmt command handling 2013-02-18 14:38:29 +02:00
Johan Hedberg
f4ec6b5175 tools: btmgmt: Convert User Confirm replies from mgmt_send_cmd to mgmt_reply 2013-02-18 14:33:03 +02:00
Johan Hedberg
b6c4f06585 tools: btmgmt: Convert PIN replies from mgmt_send_cmd to mgmt_reply 2013-02-18 14:28:59 +02:00
Johan Hedberg
111c0e3671 tools: btmgmt: Convert confirm_name from mgmt_send_cmd to mgmt_send 2013-02-18 14:23:58 +02:00
Johan Hedberg
947a7477d2 tools: btmgmt: Convert from mgmt_send_cmd to mgmt_send 2013-02-18 14:19:54 +02:00
Johan Hedberg
bd35ad3e67 tools: btmgmt: Convert authentication request event monitoring to new API 2013-02-18 12:58:38 +02:00
Johan Hedberg
87649e87f5 tools: btmgmt: Convert device found event monitoring to new API 2013-02-18 12:51:51 +02:00
Johan Hedberg
b7dcbc79e7 tools: btmgmt: Convert local name changed event monitoring to new API 2013-02-18 12:48:58 +02:00
Johan Hedberg
bfce7f800b tools: btmgmt: Convert auth failed event monitoring to new API 2013-02-18 12:47:00 +02:00
Johan Hedberg
850b9d7c9b tools: btmgmt: Convert connection event monitoring to new API 2013-02-18 12:41:37 +02:00
Johan Hedberg
b8c9114f9e tools: btmgmt: Convert new link key event monitoring to new API 2013-02-18 12:37:45 +02:00
Johan Hedberg
cab7bd44d5 tools: btmgmt: Prefer quitting mainloop over calling exit() directly 2013-02-18 12:35:47 +02:00