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.
Dear all,
I set up the demo of BLEfi gateway, found the demo can only scan sensortag.
I saw in the code host MCU launch scan normally show as below
void process_Scan(void** inParams )
{
//if(get_gwState() != GW_DISC_IN_PROGRESS && get_gwState() != GW_NO_INIT)
if(get_gwState() != GW_DISC_IN_PROGRESS)
{
gwcontext_Init();
set_gwState(GW_DISC_IN_PROGRESS);
gw_context.scanCnt = 0;
UART_PRINT("\n\r[GW] Discovering...");
TurnOnLed(LED_2);
GAPCentralRole_StartDiscovery(DEFAULT_DISCOVERY_MODE,
DEFAULT_DISCOVERY_ACTIVE_SCAN,
DEFAULT_DISCOVERY_WHITE_LIST);
}
else
{
DBG_PRINT("\n\r Discovery already in progress..");
}
}
and GatewayCentral_processRoleEvent deal with it without any filter.
Does any one can give a comments?
Thanks.