Lines Matching refs:property
21 #include "btcore/include/property.h"
31 static void parse_properties(int num_properties, bt_property_t* property);
39 // Returns the specified property.
111 void device_found(int num_properties, bt_property_t* property) {
113 parse_properties(num_properties, property);
190 static void parse_properties(int num_properties, bt_property_t* property) {
192 switch (property->type) {
194 const bt_bdname_t* name = property_as_name(property);
200 const RawAddress* addr = property_as_addr(property);
208 const Uuid* uuid = property_as_uuids(property, &num_uuid);
221 bt_device_type_t device_type = property_as_device_type(property);
239 const bt_device_class_t* dc = property_as_device_class(property);
245 int8_t rssi = property_as_rssi(property);
250 const bt_bdname_t* name = property_as_name(property);
262 fprintf(stderr, "Unhandled property type:%d len:%d\n", property->type,
263 property->len);
264 uint8_t* p = (uint8_t*)property->val;
265 for (int i = 0; i < property->len; ++i, p++) {
268 if (property->len != 0) fprintf(stderr, "\n");
271 property++;