diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2002-09-18 00:37:04 +0000 |
---|---|---|
committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-09-18 00:37:04 +0000 |
commit | 96cd06b189af2a09bde5d752552f58fd495d5646 (patch) | |
tree | 0ac3c90702c0e73261766ac220787bcf9ea657b8 | |
parent | 8a3e9d619f548c665569e8c835ed82313db3759b (diff) |
resurrect hci_remote_name()
-rw-r--r-- | include/hci_lib.h | 1 | ||||
-rw-r--r-- | src/hci.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h index 685eb413..8f17a8dd 100644 --- a/include/hci_lib.h +++ b/include/hci_lib.h @@ -68,6 +68,7 @@ int hci_devid(char *str); int hci_local_name(int dd, int len, char *name, int to); int hci_read_local_name(int dd, int len, char *name, int to); int hci_write_local_name(int dd, char *name, int to); +int hci_remote_name(int dd, bdaddr_t *ba, int len, char *name, int to); int hci_read_remote_name(int dd, bdaddr_t *ba, int len, char *name, int to); int hci_read_remote_features(int dd, uint16_t handle, uint8_t *features, int to); int hci_read_remote_version(int dd, uint16_t handle, struct hci_version *ver, int to); @@ -801,6 +801,11 @@ int hci_write_local_name(int dd, char *name, int to) return 0; } +int hci_remote_name(int dd, bdaddr_t *ba, int len, char *name, int to) +{ + return hci_read_remote_name(dd, ba, len, name, to); +} + int hci_read_remote_name(int dd, bdaddr_t *ba, int len, char *name, int to) { evt_remote_name_req_complete rn; |