Skip to content

Commit

Permalink
gatt: correct line separator
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Jan 3, 2024
1 parent 9d1ec9e commit d035eed
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions src/components/bluepad32/bt/uni_bt_service.gatt
Original file line number Diff line number Diff line change
@@ -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 <battery_service.gatt>
// add Device ID Service
#import <device_information_service.gatt>
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 <battery_service.gatt>

// add Device ID Service
#import <device_information_service.gatt>

0 comments on commit d035eed

Please sign in to comment.