/* This is the simplelink spawn task to call SL callback from a different context.  */
void vSimpleLinkSpawnTask(void *pvParameters)
/* This is the simplelink spawn task to call SL callback from a different context.  */
void vSimpleLinkSpawnTask(void *pvParameters)
{
	tSimpleLinkSpawnMsg Msg;
	portBASE_TYPE ret;
	for(;;)
	{
		ret = xQueueReceive( xSimpleLinkSpawnQueue, &Msg, SL_SPAWN_MAX_WAIT_MS);
		if(ret == pdPASS)
		{
				Msg.pEntry(Msg.pValue);
		}
        pybwdt_sl_alive();
	}
}