GAPRole_GetParameter(GAPROLE_BD_ADDR, ownAddress);
我知道上述那个函数是获取mac地址的,为什么我在从机的初始化函数中利用这个函数读取的都是0,而在GAPROLE_STARTED中就能读取出来,请问是为什么呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
MAC地址可以用flash programmer读出来.
代码里面用HCI_ReadBDADDRCmd()也可以读出来.