zephyr/lib/updatehub/updatehub_device.h
Anas Nashif f901e26de9 cleanup: include/: move hwinfo.h to drivers/hwinfo.h
move hwinfo.h to drivers/hwinfo.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-06-27 22:55:49 -04:00

18 lines
326 B
C

/*
* Copyright (c) 2018 O.S.Systems
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __UPDATEHUB_DEVICE_H__
#define __UPDATEHUB_DEVICE_H__
#include <zephyr.h>
#include <drivers/hwinfo.h>
#define DEVICE_ID_MAX_SIZE 65
bool updatehub_get_device_identity(char *id, int id_max_len);
#endif /* __UPDATEHUB_DEVICE_H__ */