Lines Matching full:property
21 #include "btcore/include/property.h"
32 static void parse_properties(int num_properties, bt_property_t *property);
44 // Returns the specified property.
122 void device_found(int num_properties, bt_property_t *property) {
124 parse_properties(num_properties, property);
207 static void parse_properties(int num_properties, bt_property_t *property) {
209 switch(property->type) {
212 const bt_bdname_t *name = property_as_name(property);
221 const bt_bdaddr_t *addr = property_as_addr(property);
230 const bt_uuid_t *uuid = property_as_uuids(property, &num_uuid);
245 bt_device_type_t device_type = property_as_device_type(property);
265 const bt_device_class_t *dc = property_as_device_class(property);
273 int8_t rssi = property_as_rssi(property);
280 const bt_bdname_t *name = property_as_name(property);
295 fprintf(stderr, "Unhandled property type:%d len:%d\n", property->type, property->len);
296 uint8_t *p = (uint8_t *)property->val;
297 for (int i = 0; i < property->len; ++i, p++) {
300 if (property->len != 0)
304 property++;