From d035eed84ebe817eec3318935873d4d70e4e843d Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Tue, 2 Jan 2024 18:57:06 -0800 Subject: [PATCH] gatt: correct line separator --- .../bluepad32/bt/uni_bt_service.gatt | 90 +++++++++---------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/src/components/bluepad32/bt/uni_bt_service.gatt b/src/components/bluepad32/bt/uni_bt_service.gatt index 947779eb..4faaa9cb 100644 --- a/src/components/bluepad32/bt/uni_bt_service.gatt +++ b/src/components/bluepad32/bt/uni_bt_service.gatt @@ -1,45 +1,45 @@ -PRIMARY_SERVICE, GAP_SERVICE -CHARACTERISTIC, GAP_DEVICE_NAME, READ, "Bluepad32" - -PRIMARY_SERVICE, GATT_SERVICE -CHARACTERISTIC, GATT_DATABASE_HASH, READ, - -// Bluepad32 Service -PRIMARY_SERVICE, 4627C4A4-AC00-46B9-B688-AFC5C1BF7F63 - -// Bluepad32 version -CHARACTERISTIC, 4627C4A4-AC01-46B9-B688-AFC5C1BF7F63, READ | DYNAMIC - -// Whether to enable BLE connections -CHARACTERISTIC, 4627C4A4-AC02-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC - -// Whether to enable Virtual Devices -CHARACTERISTIC, 4627C4A4-AC03-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC - -// Mappings: Nintendo or Xbox: A,B,X,Y vs B,A,Y,X -CHARACTERISTIC, 4627C4A4-AC04-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC - -// Whether to enable Allowlist in connections -CHARACTERISTIC, 4627C4A4-AC05-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC - -// List of addresses in the allowlist, separated by "," -CHARACTERISTIC, 4627C4A4-AC06-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC - -// List of connected devices, separated by "," -CHARACTERISTIC, 4627C4A4-AC07-46B9-B688-AFC5C1BF7F63, READ | DYNAMIC - -// Disconnect a device -CHARACTERISTIC, 4627C4A4-AC08-46B9-B688-AFC5C1BF7F63, WRITE | DYNAMIC - -// Delete stored Bluetooth bond keys -CHARACTERISTIC, 4627C4A4-AC09-46B9-B688-AFC5C1BF7F63, WRITE | DYNAMIC - -// Reset device -CHARACTERISTIC, 4627C4A4-AC0A-46B9-B688-AFC5C1BF7F63, WRITE | DYNAMIC - - -// add Battery Service -#import - -// add Device ID Service -#import +PRIMARY_SERVICE, GAP_SERVICE +CHARACTERISTIC, GAP_DEVICE_NAME, READ, "Bluepad32" + +PRIMARY_SERVICE, GATT_SERVICE +CHARACTERISTIC, GATT_DATABASE_HASH, READ, + +// Bluepad32 Service +PRIMARY_SERVICE, 4627C4A4-AC00-46B9-B688-AFC5C1BF7F63 + +// Bluepad32 version +CHARACTERISTIC, 4627C4A4-AC01-46B9-B688-AFC5C1BF7F63, READ | DYNAMIC + +// Whether to enable BLE connections +CHARACTERISTIC, 4627C4A4-AC02-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC + +// Whether to enable Virtual Devices +CHARACTERISTIC, 4627C4A4-AC03-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC + +// Mappings: Nintendo or Xbox: A,B,X,Y vs B,A,Y,X +CHARACTERISTIC, 4627C4A4-AC04-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC + +// Whether to enable Allowlist in connections +CHARACTERISTIC, 4627C4A4-AC05-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC + +// List of addresses in the allowlist, separated by "," +CHARACTERISTIC, 4627C4A4-AC06-46B9-B688-AFC5C1BF7F63, READ | WRITE | DYNAMIC + +// List of connected devices, separated by "," +CHARACTERISTIC, 4627C4A4-AC07-46B9-B688-AFC5C1BF7F63, READ | DYNAMIC + +// Disconnect a device +CHARACTERISTIC, 4627C4A4-AC08-46B9-B688-AFC5C1BF7F63, WRITE | DYNAMIC + +// Delete stored Bluetooth bond keys +CHARACTERISTIC, 4627C4A4-AC09-46B9-B688-AFC5C1BF7F63, WRITE | DYNAMIC + +// Reset device +CHARACTERISTIC, 4627C4A4-AC0A-46B9-B688-AFC5C1BF7F63, WRITE | DYNAMIC + + +// add Battery Service +#import + +// add Device ID Service +#import