DBG("After Manuf Data: Index [%d]", index);
}
+ for (i = 0; i < length; i++)
+ snprintf(&adv_data_str[i * 2], 3, "%02X", adv_data[i]);
+ INFO("Set adv data. Index [%d] length [%d] Data[%s]", index, length, adv_data_str);
+
/* Create Builder */
builder = g_variant_builder_new(G_VARIANT_TYPE("ay"));
for (i = 0; i < length; i++)
return BT_STATUS_FAIL;
}
- for (i = 0; i < length; i++)
- snprintf(&adv_data_str[i * 2], 3, "%02X", adv_data[i]);
- INFO("Set adv data. Index [%d] length [%d] Data[%s]", index, length, adv_data_str);
+ INFO("Request of SetAdvertisingData or SetScanRespData is success");
if (ret)
g_variant_unref(ret);