Functions | Variables
m2m_ota.c File Reference

WINC3400 IoT OTA Interface. More...

#include "common/include/nm_common.h"
#include "driver/include/m2m_types.h"
#include "driver/include/m2m_ota.h"
#include "driver/include/m2m_wifi.h"
#include "driver/source/m2m_hif.h"
Include dependency graph for m2m_ota.c:

Go to the source code of this file.

Functions

NMI_API sint8 m2m_ota_abort (void)
 Request OTA Abort. More...
 
static void m2m_ota_cb (uint8 u8OpCode, uint16 u16DataSize, uint32 u32Addr)
 
NMI_API sint8 m2m_ota_init (tpfOtaUpdateCb pfOtaUpdateCb, tpfOtaNotifCb pfOtaNotifCb)
 Initialize the OTA layer. More...
 
NMI_API sint8 m2m_ota_notif_check_for_update (void)
 check for ota update More...
 
NMI_API sint8 m2m_ota_notif_sched (uint32 u32Period)
 Schedule OTA update. More...
 
NMI_API sint8 m2m_ota_notif_set_url (uint8 *u8Url)
 Set the OTA url. More...
 
NMI_API sint8 m2m_ota_rollback (void)
 Request OTA Rollback image. More...
 
NMI_API sint8 m2m_ota_start_update (uint8 *u8DownloadUrl)
 Request OTA start update using the downloaded url. More...
 
NMI_API sint8 m2m_ota_switch_firmware (void)
 Switch to the upgraded Firmware. More...
 

Variables

static tpfOtaNotifCb gpfOtaNotifCb = NULL
 
static tpfOtaUpdateCb gpfOtaUpdateCb = NULL
 

Detailed Description

WINC3400 IoT OTA Interface.

Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file m2m_ota.c.

Function Documentation

◆ m2m_ota_cb()

static void m2m_ota_cb ( uint8  u8OpCode,
uint16  u16DataSize,
uint32  u32Addr 
)
static

Definition at line 74 of file m2m_ota.c.

Variable Documentation

◆ gpfOtaNotifCb

tpfOtaNotifCb gpfOtaNotifCb = NULL
static

Definition at line 53 of file m2m_ota.c.

◆ gpfOtaUpdateCb

tpfOtaUpdateCb gpfOtaUpdateCb = NULL
static

Definition at line 52 of file m2m_ota.c.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:06