摘要:
uint8 ownAddress[B_ADDR_LEN]; //B_ADDR_LEN=6GAPRole_GetParameter(GAPROLE_BD_ADDR, ownAddress);#define GAPROLE_BD_ADDR0x304Device's Address. Read Only. Size is uint8[B_ADDR_LEN]. This item is read from the controller.读出正确,低字节在前 阅读全文
摘要:
主机会运行SCAN来搜寻广播中的设备运行函数: GAPCentralRole_StartDiscovery( DEFAULT_DISCOVERY_MODE, DEFAULT_DISCOVERY_ACTIVE_SCAN, DEFAULT_DISCOVERY_WHITE_LIST ); 1 /** 2 * @brief Start a device discovery scan. 3 * 4 * Public function... 阅读全文