// ------------------------------------------------------------------------------------------------- static void SwitchOffCellNet ( void ) { if(!RequestRef) { LE_ERROR("Not existing cellular network reference."); return; } le_cellnet_Release(RequestRef); LE_INFO("Releasing the cellular network."); RequestRef = NULL; }
// ------------------------------------------------------------------------------------------------- static void SwitchOffCellNet ( void ) { if(!RequestRef) { LE_ERROR("Not existing cellular network reference."); LE_INFO("cellNetServiceTest FAILED"); exit(EXIT_FAILURE); } le_cellnet_Release(RequestRef); LE_INFO("Releasing the cellular network. %p", RequestRef); RequestRef = NULL; }