/* This is the API to delete SL spawn task and delete the SL queue.  */
void VDeleteSimpleLinkSpawnTask(void)
/* This is the API to delete SL spawn task and delete the SL queue.  */
void VDeleteSimpleLinkSpawnTask(void)
{
	if(xSimpleLinkSpawnTaskHndl)
	{
		vTaskDelete( xSimpleLinkSpawnTaskHndl );
		xSimpleLinkSpawnTaskHndl = 0;
	}
	if(xSimpleLinkSpawnQueue)
	{
		vQueueDelete( xSimpleLinkSpawnQueue );
		xSimpleLinkSpawnQueue = 0;
	}
}