event,
param);
g_free(address);
- } else if (strcasecmp(member, "iBeaconReport") == 0) {
- bt_remote_ibeacon_dev_info_t *ibeacon_dev_info = NULL;
-
- ret_if(_bt_is_le_scanning() == FALSE);
-
- ibeacon_dev_info = g_malloc0(sizeof(bt_remote_ibeacon_dev_info_t));
- if (ibeacon_dev_info == NULL)
- return;
-
- g_variant_get(msg, "(syuusuuy)", &ibeacon_dev_info->address,
- &ibeacon_dev_info->addr_type,
- &ibeacon_dev_info->company_id,
- &ibeacon_dev_info->ibeacon_type,
- &ibeacon_dev_info->uuid,
- &ibeacon_dev_info->major_id,
- &ibeacon_dev_info->minor_id,
- &ibeacon_dev_info->measured_power);
- _bt_send_ibeacon_scan_result_event(ibeacon_dev_info);
- g_free(ibeacon_dev_info);
}
}