diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-11-14 12:18:09 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-11-14 12:18:09 +0000 |
commit | 3e9d510274d6560e026c76dc3ecf415db0dd7e68 (patch) | |
tree | 79556a17a276df18b7b7e4909fdcb3ea9d556c88 /hidd/sdp.c | |
parent | 9c4ddbfafab6fe96480edeb8c5fee1b76e103300 (diff) |
Add initial fake HID support
Diffstat (limited to 'hidd/sdp.c')
-rw-r--r-- | hidd/sdp.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -267,3 +267,22 @@ int get_sdp_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_co return 0; } + +int get_alternate_device_info(const bdaddr_t *src, const bdaddr_t *dst, uint16_t *uuid, uint8_t *channel) +{ + sdp_session_t *s; + + s = sdp_connect(src, dst, SDP_RETRY_IF_BUSY | SDP_WAIT_ON_CLOSE); + if (!s) + return -1; + + sdp_close(s); + + if (uuid) + *uuid = 0x0000; + + if (channel) + *channel = 0; + + return 0; +} |