TI BLE:读本机地址

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. 

 

读出正确,低字节在前

 

 

posted @ 2014-03-31 17:14  wwjdwy  阅读(345)  评论(0编辑  收藏  举报