bt_addr_le_t bt_addr;
bt_get_local_public_address(&bt_addr);
char blemac[13] = {0};
sprintf(blemac, "%02X%02X%02X%02X%02X%02X", bt_addr.a.val[5],
bt_addr.a.val[4], bt_addr.a.val[3], bt_addr.a.val[2],
bt_addr.a.val[1], bt_addr.a.val[0]);
这段代码获取的蓝牙MAC地址是:070707070707
如何才能获取正确的蓝牙mac地址