static void centralStartDiscovery(void)
{
uint8_t uuid[ATT_BT_UUID_SIZE] = {LO_UINT16(SIMPLEPROFILE_SERV_UUID), // SIMPLEPROFILE_SERV_UUID 0xffe0
HI_UINT16(SIMPLEPROFILE_SERV_UUID)};
// Initialize cached handles
centralSvcStartHdl = centralSvcEndHdl = centralCharHdl = 0;
centralDiscState = BLE_DISC_STATE_SVC;
// Discovery simple BLE service
GATT_DiscPrimaryServiceByUUID(centralConnHandle,
uuid,
ATT_BT_UUID_SIZE,
centralTaskId);
}
如题,函数内部uuid的值为0xFFFE,我看该函数是在建立连接后调用的,同时没有找到其他的寻找service的函数。请问centralStartDiscovery这个函数会发现从机的所有service吗还是只能发现uuid为0xFFFE的这个service呢?