Hi,
I am trying to integrate P2P example application with websock_camera from CC3200SDK_1.0.0.
The CC3200 device comes up in P2P mode smoothly but get stuck inside the below function when trying to connect with the Android device.
// Wait till Device acquired an IP in P2P mode
while(! IS_P2P_REQ_RCVD(g_ulStatus_main))
{
_SlNonOsMainLoopTask();
}
I tried including the nonos.c and nonos.h files inside the project. But it get stuck inside the below loop
_SlNonOsRetVal_t _SlNonOsMainLoopTask(void)
{
_i16 i;
for (i=0 ; i<NONOS_MAX_SPAWN_ENTRIES ; i++)
{
_SlNonOsSpawnEntry_t* pE = &g__SlNonOsCB.SpawnEntries[i];
_SlSpawnEntryFunc_t pF = pE->pEntry;
if (NULL != pF)
{
if((g_pCB)->RxIrqCnt != (g_pCB)->RxDoneCnt)
{
pF(0);/*(pValue);*/
}
pE->pEntry = NULL;
pE->pValue = NULL;
}
}
return NONOS_RET_OK;
}
Also I am unable to find where the variable g_pCB is initialized.
Please help me to solve this issue asap.
Reagrds
-Abul Hasan