NP 模式下外部mcu通过串口读取本机mac地址?

如题

读取9021的MAC地址的指令是什么啊?NP模式下,MCU通过串口读取9021的mac地址,有没有这个指令?

你试一试这个函数。

/*
 ****************************************************************************************
 * @brief Read local BD addr request.    *//**
 *
 * @response  GAP_READ_BDADDR_REQ_CMP_EVT
 * @description
 *
 * This function is used to read the Bluetooth Address of the device.
 *
 ****************************************************************************************
 */
void app_gap_read_bdaddr_req(void)
{
    // Send the message
    ke_msg_send_basic(GAP_READ_BDADDR_REQ, TASK_GAP, TASK_APP);
}