首页 > 技术文章 > TI BLE:读本机地址

wwjdwy 2014-03-31 17:14 原文

uint8 ownAddress[B_ADDR_LEN];  //B_ADDR_LEN=6
GAPRole_GetParameter(GAPROLE_BD_ADDR, ownAddress);

#define   GAPROLE_BD_ADDR   0x304

Device's Address. Read Only. Size is uint8[B_ADDR_LEN]. This item is read from the controller. 

 

读出正确,低字节在前

 

 

推荐阅读