Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more
m2m_ota.c File Reference
NMC1500 IoT OTA Interface. More...
Go to the source code of this file.
Functions | |
| NMI_API sint8 | m2m_ota_init (tpfOtaUpdateCb pfOtaUpdateCb, tpfOtaNotifCb pfOtaNotifCb) |
| Initialize the OTA layer. | |
| NMI_API sint8 | m2m_ota_notif_set_url (uint8 *u8Url) |
| Set the OTA url. | |
| NMI_API sint8 | m2m_ota_notif_check_for_update (void) |
| check for ota update | |
| NMI_API sint8 | m2m_ota_notif_sched (uint32 u32Period) |
| Schedule OTA update. | |
| NMI_API sint8 | m2m_ota_start_update (uint8 *u8DownloadUrl) |
| Request OTA start update using the downloaded url. | |
| NMI_API sint8 | m2m_ota_start_update_crt (uint8 *u8DownloadUrl) |
| Request OTA start for the Cortus app image. | |
| NMI_API sint8 | m2m_ota_rollback (void) |
| Request OTA Rollback image. | |
| NMI_API sint8 | m2m_ota_rollback_crt (void) |
| Request Cortus application OTA Rollback image. | |
| NMI_API sint8 | m2m_ota_abort (void) |
| Request OTA Abort. | |
| NMI_API sint8 | m2m_ota_switch_firmware (void) |
| Switch to the upgraded Firmware. | |
| NMI_API sint8 | m2m_ota_switch_crt (void) |
| Switch to the upgraded cortus application. | |
| NMI_API sint8 | m2m_ota_get_firmware_version (tstrM2mRev *pstrRev) |
| Get the OTA Firmware version. | |
Detailed Description
NMC1500 IoT OTA Interface.
Copyright (c) 2016-2017 Atmel Corporation. All rights reserved.
Definition in file m2m_ota.c.
Function Documentation
| NMI_API sint8 m2m_ota_abort | ( | void | ) |
| NMI_API sint8 m2m_ota_get_firmware_version | ( | tstrM2mRev * | pstrRev ) |
| NMI_API sint8 m2m_ota_init | ( | tpfOtaUpdateCb | pfOtaUpdateCb, |
| tpfOtaNotifCb | pfOtaNotifCb | ||
| ) |
| NMI_API sint8 m2m_ota_notif_check_for_update | ( | void | ) |
| NMI_API sint8 m2m_ota_rollback | ( | void | ) |
| NMI_API sint8 m2m_ota_rollback_crt | ( | void | ) |
| NMI_API sint8 m2m_ota_switch_crt | ( | void | ) |
Generated on Wed Jul 13 2022 16:32:37 by
1.7.2