diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2013-11-08 15:53:29 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-08 15:57:25 +0200 |
commit | d18c36e232d92b3bd1fa0e5599b470a769bc0834 (patch) | |
tree | 9b968ce18afab33c11397db63014c6bf9967e6d0 /android/hal-utils.h | |
parent | 97a5801394644ff87a9a7ec5b0042f598f2ffd1d (diff) | |
download | bluez-d18c36e232d92b3bd1fa0e5599b470a769bc0834.tar.gz |
android/debug: Convert uuid helper to use uint8_t buffer
At this moment Android uses uint8_t * and bt_uuid_t for representing
UUID for different HALs. Convert debug helper to use uint8_t * string.
Diffstat (limited to 'android/hal-utils.h')
-rw-r--r-- | android/hal-utils.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/android/hal-utils.h b/android/hal-utils.h index d40b430e1..528718081 100644 --- a/android/hal-utils.h +++ b/android/hal-utils.h @@ -15,12 +15,13 @@ * */ -#define MAX_UUID_STR_LEN 37 +#define MAX_UUID_STR_LEN 37 +#define HAL_UUID_LEN 16 static const char BT_BASE_UUID[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb }; -char *btuuid2str(const bt_uuid_t *uuid); -char *bt_uuid_t2str(const bt_uuid_t *uuid, char *buf); +char *bt_uuid_t2str(const uint8_t *uuid, char *buf); +char *btuuid2str(const uint8_t *uuid); |