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.

CC2640R2L: How does CC2640R2L get the Bluetooth static MAC of the host

Part Number: CC2640R2L

case GAPROLE_CONNECTED:
{
         linkDBInfo_t linkInfo;
         uint8_t numActive = 0;
         uint8 MacAddr[8] = {0}; //!< Other Device's address
         numActive = linkDB_NumActive();

         // Use numActive to determine the connection handle of the last
         // connection

         if ( linkDB_GetInfo( numActive - 1, &linkInfo ) == SUCCESS )
         {              

                 Display_print1("numActiveaddrType: %d\r\n", linkInfo.addrType);

                 Display_print1("Num Conns: %d\r\n", (uint16_t)numActive );

                 Display_print1("addr NEW:%s\r\n",Util_convertBdAddr2Str(linkInfo.addr));

                   linkInfo.addrd地址是随机的,怎样可以获取到主机的静态地址呢?