feat(Adafruit BLE UART): add delbonds/reconnect API for UART friends

This commit is contained in:
orumin 2023-11-18 14:49:59 +09:00
parent 794a02cd2d
commit 2d0e448fc0
2 changed files with 34 additions and 0 deletions

View File

@ -15,6 +15,7 @@
*/
#include "bluefruit_le.h"
#include "bluefruit_le_uart.h"
#include <stdio.h>
#include <stdlib.h>

View 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