set notify and indicate flags for selected characteristics

This commit is contained in:
matthias.ringwald@gmail.com 2014-01-26 11:13:44 +00:00
parent f6d978a0ea
commit 2a368a2c00

View File

@ -44,8 +44,8 @@ PRIMARY_SERVICE, F000
INCLUDE_SERVICE, FFF4
// Characteristics 16 and 128 bit with different authoriztion/authentication/encryption requirements and read/write flags
// - no requirements
CHARACTERISTIC, F100, READ | WRITE | DYNAMIC | CLIENT_CONFIGURATION,
CHARACTERISTIC, 0000F101-0000-1000-8000-00805F9B34FB, READ | WRITE | DYNAMIC | CLIENT_CONFIGURATION,
CHARACTERISTIC, F100, READ | WRITE | DYNAMIC | NOTIFY | INDICATE | CLIENT_CONFIGURATION,
CHARACTERISTIC, 0000F101-0000-1000-8000-00805F9B34FB, READ | WRITE | DYNAMIC | NOTIFY | INDICATE | CLIENT_CONFIGURATION,
// - neither read nor writable
CHARACTERISTIC, F102, DYNAMIC,
CHARACTERISTIC, 0000F103-0000-1000-8000-00805F9B34FB, DYNAMIC,
@ -64,8 +64,8 @@ PRIMARY_SERVICE, 0000F001-0000-1000-8000-00805F9B34FB
INCLUDE_SERVICE, FFF4
// Characteristics 16 and 128 bit with different authoriztion/authentication/encryption requirements and read/write flags
// - no requirements
CHARACTERISTIC, F200, READ | WRITE | DYNAMIC | CLIENT_CONFIGURATION,
CHARACTERISTIC, 0000F201-0000-1000-8000-00805F9B34FB, READ | WRITE | DYNAMIC | CLIENT_CONFIGURATION,
CHARACTERISTIC, F200, READ | WRITE | DYNAMIC | NOTIFY | INDICATE | CLIENT_CONFIGURATION,
CHARACTERISTIC, 0000F201-0000-1000-8000-00805F9B34FB, READ | WRITE | DYNAMIC | NOTIFY | INDICATE | CLIENT_CONFIGURATION,
// - neither read nor writable
CHARACTERISTIC, F202, DYNAMIC,
CHARACTERISTIC, 0000F203-0000-1000-8000-00805F9B34FB, DYNAMIC,