#include "btstack_config.h"
#include <stdint.h>
Data Structures | |
struct | ad_context |
Typedefs | |
typedef struct ad_context | ad_context_t |
Functions | |
int | ad_data_contains_uuid128 (uint8_t ad_len, const uint8_t *ad_data, const uint8_t *uuid128) |
int | ad_data_contains_uuid16 (uint8_t ad_len, const uint8_t *ad_data, uint16_t uuid) |
const uint8_t * | ad_iterator_get_data (const ad_context_t *context) |
uint8_t | ad_iterator_get_data_len (const ad_context_t *context) |
uint8_t | ad_iterator_get_data_type (const ad_context_t *context) |
int | ad_iterator_has_more (const ad_context_t *context) |
void | ad_iterator_init (ad_context_t *context, uint8_t ad_len, const uint8_t *ad_data) |
void | ad_iterator_next (ad_context_t *context) |
typedef struct ad_context ad_context_t |
int ad_data_contains_uuid128 | ( | uint8_t | ad_len, |
const uint8_t * | ad_data, | ||
const uint8_t * | uuid128 | ||
) |
References ad_iterator_get_data(), ad_iterator_get_data_len(), ad_iterator_get_data_type(), ad_iterator_has_more(), ad_iterator_init(), ad_iterator_next(), BLUETOOTH_DATA_TYPE_COMPLETE_LIST_OF_128_BIT_SERVICE_CLASS_UUIDS, BLUETOOTH_DATA_TYPE_COMPLETE_LIST_OF_16_BIT_SERVICE_CLASS_UUIDS, BLUETOOTH_DATA_TYPE_INCOMPLETE_LIST_OF_128_BIT_SERVICE_CLASS_UUIDS, BLUETOOTH_DATA_TYPE_INCOMPLETE_LIST_OF_16_BIT_SERVICE_CLASS_UUIDS, little_endian_read_16(), reverse_128(), and uuid_add_bluetooth_prefix().
int ad_data_contains_uuid16 | ( | uint8_t | ad_len, |
const uint8_t * | ad_data, | ||
uint16_t | uuid | ||
) |
References ad_iterator_get_data(), ad_iterator_get_data_len(), ad_iterator_get_data_type(), ad_iterator_has_more(), ad_iterator_init(), ad_iterator_next(), BLUETOOTH_DATA_TYPE_COMPLETE_LIST_OF_128_BIT_SERVICE_CLASS_UUIDS, BLUETOOTH_DATA_TYPE_COMPLETE_LIST_OF_16_BIT_SERVICE_CLASS_UUIDS, BLUETOOTH_DATA_TYPE_INCOMPLETE_LIST_OF_128_BIT_SERVICE_CLASS_UUIDS, BLUETOOTH_DATA_TYPE_INCOMPLETE_LIST_OF_16_BIT_SERVICE_CLASS_UUIDS, little_endian_read_16(), reverse_128(), and uuid_add_bluetooth_prefix().
const uint8_t* ad_iterator_get_data | ( | const ad_context_t * | context | ) |
References ad_context::data, and ad_context::offset.
Referenced by ad_data_contains_uuid128(), and ad_data_contains_uuid16().
uint8_t ad_iterator_get_data_len | ( | const ad_context_t * | context | ) |
References ad_context::data, and ad_context::offset.
Referenced by ad_data_contains_uuid128(), and ad_data_contains_uuid16().
uint8_t ad_iterator_get_data_type | ( | const ad_context_t * | context | ) |
References ad_context::data, and ad_context::offset.
Referenced by ad_data_contains_uuid128(), and ad_data_contains_uuid16().
int ad_iterator_has_more | ( | const ad_context_t * | context | ) |
References ad_context::length, and ad_context::offset.
Referenced by ad_data_contains_uuid128(), and ad_data_contains_uuid16().
void ad_iterator_init | ( | ad_context_t * | context, |
uint8_t | ad_len, | ||
const uint8_t * | ad_data | ||
) |
References ad_context::data, ad_context::length, and ad_context::offset.
Referenced by ad_data_contains_uuid128(), and ad_data_contains_uuid16().
void ad_iterator_next | ( | ad_context_t * | context | ) |
References ad_context::data, and ad_context::offset.
Referenced by ad_data_contains_uuid128(), and ad_data_contains_uuid16().