2018-04-23 22:50:01 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 O.S.Systems
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UPDATEHUB_DEVICE_H__
|
|
|
|
#define __UPDATEHUB_DEVICE_H__
|
|
|
|
|
|
|
|
#include <zephyr.h>
|
2019-06-26 03:53:53 +08:00
|
|
|
#include <drivers/hwinfo.h>
|
2018-04-23 22:50:01 +08:00
|
|
|
|
|
|
|
#define DEVICE_ID_MAX_SIZE 65
|
|
|
|
|
|
|
|
bool updatehub_get_device_identity(char *id, int id_max_len);
|
|
|
|
|
|
|
|
#endif /* __UPDATEHUB_DEVICE_H__ */
|