examples: add GATT_DATABASE_HASH instead of GATT_SERVICE_CHANGED Characteristic

This commit is contained in:
Matthias Ringwald 2020-01-12 21:20:07 +01:00
parent 043f8832f5
commit 1be6721a18
11 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ CHARACTERISTIC, GAP_APPEARANCE, READ | WRITE | DYNAMIC,
// GAP Peripheral Privacy Flag
CHARACTERISTIC, 2A02, READ | WRITE | DYNAMIC, 00
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,

View File

@ -2,7 +2,7 @@ PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "Delayed Response"
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Some Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB

View File

@ -5,7 +5,7 @@ CHARACTERISTIC, GAP_DEVICE_NAME, READ, "LE Counter"
#import <battery_service.gatt>
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Counter Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB

View File

@ -2,7 +2,7 @@ PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "LE Streamer"
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Test Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB

View File

@ -11,4 +11,4 @@ CHARACTERISTIC, GAP_DEVICE_NAME, READ, "HID Keyboard"
#import <hids.gatt>
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,

View File

@ -11,4 +11,4 @@ CHARACTERISTIC, GAP_DEVICE_NAME, READ, "HID Mouse"
#import <hids.gatt>
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,

View File

@ -3,7 +3,7 @@ CHARACTERISTIC, GAP_DEVICE_NAME, READ, "BTstack"
CHARACTERISTIC, GAP_APPEARANCE, READ, 00 00
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
PRIMARY_SERVICE, FFF0
CHARACTERISTIC, FFF1, READ | WRITE | DYNAMIC,

View File

@ -2,7 +2,7 @@ PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "SM Pairing Peripheral"
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Dummy Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB

View File

@ -2,7 +2,7 @@ PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "SPP+LE Counter"
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Counter Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB

View File

@ -2,7 +2,7 @@ PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "LE Streamer"
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Test Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB

View File

@ -2,7 +2,7 @@ PRIMARY_SERVICE, GAP_SERVICE
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "SPP+LE Counter"
PRIMARY_SERVICE, GATT_SERVICE
CHARACTERISTIC, GATT_SERVICE_CHANGED, READ,
CHARACTERISTIC, GATT_DATABASE_HASH, READ,
// Counter Service
PRIMARY_SERVICE, 0000FF10-0000-1000-8000-00805F9B34FB