bac1f17cf6
u8_t → uint8_t u16_t → uint16_t u32_t → uint32_t u64_t → uint64_t s8_t → int8_t s16_t → int16_t s32_t → int32_t s64_t → int64_t Prerequisite for #223 See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0 PR: #467
28 lines
No EOL
724 B
C
28 lines
No EOL
724 B
C
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <zmk/keys.h>
|
|
#include <zmk/ble/profile.h>
|
|
|
|
int zmk_ble_clear_bonds();
|
|
int zmk_ble_prof_next();
|
|
int zmk_ble_prof_prev();
|
|
int zmk_ble_prof_select(uint8_t index);
|
|
|
|
int zmk_ble_active_profile_index();
|
|
bt_addr_le_t *zmk_ble_active_profile_addr();
|
|
bool zmk_ble_active_profile_is_open();
|
|
bool zmk_ble_active_profile_is_connected();
|
|
char *zmk_ble_active_profile_name();
|
|
|
|
int zmk_ble_unpair_all();
|
|
bool zmk_ble_handle_key_user(struct zmk_key_event *key_event);
|
|
|
|
#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL)
|
|
void zmk_ble_set_peripheral_addr(bt_addr_le_t *addr);
|
|
#endif /* IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL) */ |