This changes HAS registration to be dynamic and let's the application set Hearing Aid Type and binaural features. Often, devices are flashed with generic firmware with some features stored post factory production, requiring the settings to be moved from compile time to run-time. This change will increase the RAM usage as the GATT service is moved from ROM to RAM. Signed-off-by: Lars Knudsen <larsgk@gmail.com> Co-author: Soren Engquist <soren@engquist.dk>
7 lines
269 B
Plaintext
7 lines
269 B
Plaintext
CONFIG_HAP_HA_HEARING_AID_BANDED=y
|
|
|
|
# If the HA supports the Volume Balance feature (see Section 3.1) and the HA
|
|
# is a Banded Hearing Aid, the HA shall instantiate two instances of VOCS.
|
|
CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=2
|
|
CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=2
|