Get the current state of the OTA agent.
OtaState_t
OTA Agent states.
Definition: ota.h:114
 
OtaState_t OTA_GetState(void)
Get the current state of the OTA agent.
Definition: ota.c:3215
 
  - Returns
 - The current state of the OTA agent.
 
Example Check if OTA agent is in suspended state. 
 
while( state != OtaAgentStateSuspended )
{
    
    
}