-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d1ec9e
commit d035eed
Showing
1 changed file
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |