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获取



在central里用这个GAPRole_GetParameter(GAPROLE_BD_ADDR,ownAddress);可以得到当前MAC么??GAPROLE_BD_ADDR在哪个。h中?

如果不行的话我该如何获取mac?

 HCI_ReadBDADDRCmd()产生event的方式不知道怎么实现,下面是我的错误代码:

case HCI_GAP_EVENT_EVENT:
  hciEvt_CmdComplete_t *pPkt;
  if ( pMsg->status == HCI_COMMAND_COMPLETE_EVENT_CODE )
        {    
         if ( pPkt->cmdOpcode == HCI_READ_BDADDR )
         {