mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-18 21:52:02 +00:00
feat(Adafruit BLE UART): add delbonds/reconnect API for UART friends
This commit is contained in:
parent
794a02cd2d
commit
2d0e448fc0
@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "bluefruit_le.h"
|
#include "bluefruit_le.h"
|
||||||
|
#include "bluefruit_le_uart.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
33
drivers/bluetooth/bluefruit_le_uart.h
Normal file
33
drivers/bluetooth/bluefruit_le_uart.h
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* Copyright 2023 KANATSU Minoru <dev@orum.in>
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
/* Bluetooth Low Energy Protocol for QMK, Adafruit BLE UART friends extended functions
|
||||||
|
* Author: KANATSU Minoru, 2023
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern bool bluefruit_le_delbonds(void);
|
||||||
|
extern bool bluefruit_le_reconnect(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user