test/le_audio: add AICS and VOCS gatt file

This commit is contained in:
Milanka Ringwald 2021-12-17 20:20:16 +01:00
parent 6a72ce79e8
commit 5f62d74822
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// Audio Input Control Service 0x1843
SECONDARY_SERVICE, ORG_BLUETOOTH_SERVICE_AUDIO_INPUT_CONTROL
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_INPUT_STATE , DYNAMIC | READ | NOTIFY | ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_GAIN_SETTINGS_ATTRIBUTE , DYNAMIC | READ | ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_INPUT_TYPE , DYNAMIC | READ | ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_INPUT_STATUS , DYNAMIC | READ | NOTIFY | ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_INPUT_CONTROL_POINT , DYNAMIC | WRITE| ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_INPUT_DESCRIPTION , DYNAMIC | READ | NOTIFY | ENCRYPTION_KEY_SIZE_16 | WRITE_WITHOUT_RESPONSE,

View File

@ -0,0 +1,6 @@
// Volume Offset Control Service 0x1845
SECONDARY_SERVICE, ORG_BLUETOOTH_SERVICE_VOLUME_OFFSET_CONTROL
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_OFFSET_STATE , DYNAMIC | READ | NOTIFY | ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_LOCATION , DYNAMIC | READ | NOTIFY | ENCRYPTION_KEY_SIZE_16 | WRITE_WITHOUT_RESPONSE,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_VOLUME_OFFSET_CONTROL_POINT , DYNAMIC | WRITE| ENCRYPTION_KEY_SIZE_16,
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_AUDIO_OUTPUT_DESCRIPTION , DYNAMIC | READ | NOTIFY | ENCRYPTION_KEY_SIZE_16 | WRITE_WITHOUT_RESPONSE,

View File

@ -0,0 +1,15 @@
#import <audio_input_control_service.gatt>
#import <audio_input_control_service.gatt>
#import <audio_input_control_service.gatt>
// add microphone control service (MICS)
#import <microphone_control_service.gatt>
#import <volume_offset_control_service.gatt>
#import <volume_offset_control_service.gatt>
#import <volume_offset_control_service.gatt>
#import <audio_input_control_service.gatt>
#import <audio_input_control_service.gatt>
#import <volume_control_service.gatt>