36#ifndef __SDK_MODULES_INCLUDE_BLUETOOTH_BLE_UTIL_H
37#define __SDK_MODULES_INCLUDE_BLUETOOTH_BLE_UTIL_H
49#define EXTERN extern "C"
77int bleutil_convert_uuid2str(
BLE_UUID *uuid,
char *str,
int len);
88int bleutil_convert_str2uuid(
char *str,
BLE_UUID *uuid);
122int bleutil_find_srvc_uuid(
BLE_UUID *uuid, uint8_t *data, uint8_t len);
134int bleutil_get_devicename(uint8_t *data, uint8_t len,
char *devname);
160int8_t bleutil_get_rssi(uint8_t *data, uint8_t len);
180int bleutil_get_advertising_flags(uint8_t *data, uint8_t len, uint8_t *flags);
192int bleutil_get_txpower(uint8_t *data, uint8_t len, int8_t *txpower);
207int bleutil_get_connection_interval(uint8_t *data,
222int bleutil_judge_srvc_uuid_requested(
BLE_UUID *uuid,
277int bleutil_get_appearance(uint8_t *data, uint8_t len, uint16_t *appearance);
290int bleutil_get_advertising_interval(uint8_t *data, uint8_t len, uint16_t *interval);
307int bleutil_get_manufacturer_specific_data(uint8_t *data,
310 uint8_t **specific_data,
311 uint8_t *specific_datalen);
Bluetooth Low Energy GATT Server/Client API.
BLE_ADDRESS_TYPE
BLE address type.
Definition: bluetooth.h:470
BLE UUID structure.
Definition: ble_gatt.h:177
BT address types.
Definition: bluetooth.h:171
Bluetooth LE context.
Definition: bt_common.h:176