47 lines
809 B
C
47 lines
809 B
C
|
/*
|
||
|
* Copyright (c) 2017 Linaro Limited
|
||
|
* Additional Copyright (c) 2018 Espressif Systems (Shanghai) PTE LTD
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#ifndef _BLE_MESH_TYPES_H_
|
||
|
#define _BLE_MESH_TYPES_H_
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef signed char s8_t;
|
||
|
typedef signed short s16_t;
|
||
|
typedef signed int s32_t;
|
||
|
typedef signed long long s64_t;
|
||
|
|
||
|
typedef unsigned char u8_t;
|
||
|
typedef unsigned short u16_t;
|
||
|
typedef unsigned int u32_t;
|
||
|
typedef unsigned long long u64_t;
|
||
|
|
||
|
typedef int bt_mesh_atomic_t;
|
||
|
|
||
|
#ifndef bool
|
||
|
#define bool int8_t
|
||
|
#endif
|
||
|
|
||
|
#ifndef false
|
||
|
#define false 0
|
||
|
#endif
|
||
|
|
||
|
#ifndef true
|
||
|
#define true 1
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _BLE_MESH_TYPES_H_ */
|