Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bas.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 * Copyright (c) 2016 Intel Corporation
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef ZEPHYR_INCLUDE_BLUETOOTH_SERVICES_BAS_H_
9#define ZEPHYR_INCLUDE_BLUETOOTH_SERVICES_BAS_H_
10
21#include <stdint.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
34
45
46
47#ifdef __cplusplus
48}
49#endif
50
55#endif /* ZEPHYR_INCLUDE_BLUETOOTH_SERVICES_BAS_H_ */
int bt_bas_set_battery_level(uint8_t level)
Update battery level value.
uint8_t bt_bas_get_battery_level(void)
Read battery level value.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88