summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-06-26 21:17:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-06-26 21:17:37 +0000
commit5624d6cc20e5fb63d4b34b672b2421eb38b849e5 (patch)
tree307a43fb9cd8b7f670f5ced17ad2390a4395dfb0
parent78410fbc646a08b98487096e93e7bde4189314ae (diff)
Add functions for park mode
-rw-r--r--include/hci_lib.h2
-rw-r--r--src/hci.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h
index 31995411..6b7b6f63 100644
--- a/include/hci_lib.h
+++ b/include/hci_lib.h
@@ -84,6 +84,8 @@ int hci_authenticate_link(int dd, uint16_t handle, int to);
int hci_encrypt_link(int dd, uint16_t handle, int on, int to);
// role == 0 is master, 1 is slave
int hci_switch_role(int dd, bdaddr_t peer, int role, int to);
+int hci_park_mode(int dd, uint16_t handle, uint16_t max_interval, uint16_t min_interval, int to);
+int hci_exit_park_mode(int dd, uint16_t handle, int to);
int hci_for_each_dev(int flag, int(*func)(int s, int dev_id, long arg), long arg);
int hci_get_route(bdaddr_t *bdaddr);
diff --git a/src/hci.c b/src/hci.c
index 676b8af8..b01dec97 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -1150,7 +1150,7 @@ int hci_switch_role(int dd, bdaddr_t peer, int role, int to)
return 0;
}
-int hci_park_mode (int dd, uint16_t handle, uint16_t max_interval, uint16_t min_interval, int to)
+int hci_park_mode(int dd, uint16_t handle, uint16_t max_interval, uint16_t min_interval, int to)
{
park_mode_cp cp;
evt_mode_change rp;