main/updates.h

Fri, 05 Jul 2019 20:06:31 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 05 Jul 2019 20:06:31 +0200
changeset 67
4badc7e7d629
parent 4
6d1f512cd074
permissions
-rw-r--r--

Use the sha256 in the application version to see if it's a different version. Stop the upgrade download if it's not a new version.

/**
 * @file updates.h
 * @brief Updates management. It can download and install new firmware
 *        downloaded from the internet.
 */

#ifndef _UPDATES_H
#define _UPDATES_H

/**
 * @brief Updates init fases.
 */
void Updates_Init(void);

/**
 * @brief Updates loop screens. Blocking.
 */
void Updates_Loop(void);

#endif

mercurial