btstack/test/pts/gatt_server_test.gatt

71 lines
3.1 KiB
Plaintext

PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ | WRITE | DYNAMIC
CHARACTERISTIC, GAP_PERIPHERAL_PRIVACY_FLAG, READ | WRITE | DYNAMIC
CHARACTERISTIC, GAP_PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS, READ, FF FF FF 00 03 FF FF
CHARACTERISTIC, GAP_APPEARANCE, READ | WRITE | DYNAMIC
CHARACTERISTIC, GAP_RECONNECTION_ADDRESS, READ | WRITE | DYNAMIC
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
PRIMARY_SERVICE, FFF0
// GATT/SR/GAC/BV-01-C expects characteristic value of MTU-1
CHARACTERISTIC, FFF1, READ | NOTIFY | INDICATE | DYNAMIC
// GATT/SR/GAR/BI-01-C, GATT/SR/GAR/BI-06-C expects Characteristic where Read is not permitted
CHARACTERISTIC, FFF2, DYNAMIC
// GATT/SR/GAR/BI-03-C, GATT/SR/GAR/BI-09-C expects Insufficient Authorization
CHARACTERISTIC, FFF3, READ | AUTHORIZATION_REQUIRED, "A"
// GATT/SR/GAR/BI-04-C, GATT/SR/GAR/BI-10-C expects Insufficient Authentication
CHARACTERISTIC, FFF4, READ | AUTHENTICATION_REQUIRED, "A"
// GATT/SR/GAR/BI-05-C, GATT/SR/GAR/BI-11-C expects Insufficient Encryption Key Size
CHARACTERISTIC, FFF5, READ | ENCRYPTION_KEY_SIZE_16, "A"
// GATT/SR/GAR/BV-04-C - Read Long Characteristic
CHARACTERISTIC, FFF6, READ, "GGGGGGGGG00000000001111111111222222222223333333333"
// GATT/SR/GAR/BV-07-C, GATT/SR/GAW/BV-09-C - Read/Write Long Characteristic Descriptor
CHARACTERISTIC, FFF7, READ, "A"
CHARACTERISTIC_USER_DESCRIPTION, READ | WRITE | DYNAMIC,
// GATT/SR/GAR/BI-34-C - Read Characteristic Value only permitted via BR/EDR
CHARACTERISTIC, FFF8, READ | DYNAMIC
// GATT/SR/GAR/BI-34-C - Read Characteristic Value only permitted via LE
CHARACTERISTIC, FFF9, READ | DYNAMIC
// GATT/SR/GAW/BV-01-C expects a READ + Write Without Response
CHARACTERISTIC, FFFA, READ | WRITE_WITHOUT_RESPONSE | DYNAMIC
// GATT/SR/GAW/BV-02-C expects a READ + Signed Write
CHARACTERISTIC, FFFB, READ | AUTHENTICATED_SIGNED_WRITE | DYNAMIC
// GATT/SR/GAW/BI-04-C expects Insufficient Authorization
CHARACTERISTIC, FFFC, READ | WRITE | AUTHORIZATION_REQUIRED | DYNAMIC
// GATT/SR/GAW/BI-05-C expects Insufficient Authentication
CHARACTERISTIC, FFFD, READ | WRITE | AUTHENTICATION_REQUIRED | DYNAMIC
// GATT/SR/GAW/BI-06-C expects Insufficient Encryption Key Size
CHARACTERISTIC, FFFE, READ | WRITE | ENCRYPTION_KEY_SIZE_16 | DYNAMIC
// GATT/SR/GAW/BV-05-C - Write Long Characteristic Value
CHARACTERISTIC, FFFF, READ | WRITE | DYNAMIC
CHARACTERISTIC, FEFF, READ | WRITE | DYNAMIC
// GATT/SR/GPA/BV-11-C, GATT/SR/GPA/BV-12-C expects Characteristic Aggregate
CHARACTERISTIC, FEFE, READ | WRITE | DYNAMIC
CHARACTERISTIC_FORMAT, FORMAT-1, 01, 00, 0000, 00, 0000
CHARACTERISTIC_FORMAT, FORMAT-2, 02, 00, 0000, 00, 0000
CHARACTERISTIC_FORMAT, FORMAT-3, 03, 00, 0000, 00, 0000
CHARACTERISTIC_FORMAT, FORMAT-4, 03, 00, 0000, 00, 0000
CHARACTERISTIC_AGGREGATE_FORMAT, FORMAT-1, FORMAT-2
CHARACTERISTIC_AGGREGATE_FORMAT, FORMAT-2, FORMAT-3
CHARACTERISTIC_AGGREGATE_FORMAT, FORMAT-3, FORMAT-4
CHARACTERISTIC_AGGREGATE_FORMAT, FORMAT-1, FORMAT-3
CHARACTERISTIC_AGGREGATE_FORMAT, FORMAT-2, FORMAT-4