acad_len in ble_ll_sync_rx_pkt_in is filled in ble_ll_sync_parse_ext_hdr
and later accessed in ble_ll_sync_check_acad. There is a possibility
that extended advertising header is missing data containing acad, and it
will not get filled, leaving it uninitialised.
We need to move periodic advertising event start time by full interval
(not only ticks) as otherwise any calculation of start time in the
future event will not be accurate.
Currently we simply drop adv event if it was preempted, but instead we
can try to reschedule it as longs as new start time does not exceed
adv_delay limit.
Note that we only reschedule if no PDU was sent in that event, otherwise
we could not guarantee that aux is properly scheduled relative to exts.
Some peers reject connection to EATT PSM if encryption is not enabled.
Since EATT requires any PDUs to be sent only on encrypted link we
can postpone initiating EATT connection until encryption with no real
drawbacks.
This commit adds a new workflow for Doxygen Check to ensure documentation integrity.
The workflow verifies if the Doxygen output contains any warnings.
Debug build pulls assert.h and nrfx, in which PACKAGE define isi pulled from
libsamplerate/serc/config.h. This is not correct behavior and these
defines are not correlated. Library should be always build without
asserts, circumventing the issue.
Cleaned up duplicated cflags in pkg.yml.
`config.h` being in `include` directory meant that it was included
globally. It may cause it being indluded into other package (as global
include)
Added prefixes to libsamplerate syscfg settings.
This fixes potential BIG memory leak in case ble_hs_hci_cmd_tx returned
an error.
If the error is returned, the code will free the allocated BIG and
BISes.
This commit adds Published Audio Capabilities Service/Prifile. In pair
ble_audio_codec module is added, that supports registering supported
codecs with their corresponding configurations.
By adding connection params with increased supervision timeout we
are able to make more connections before previous are closed.
Supervision timeout is set to its maximum value of 32s
(0x0C80 in 10ms units).This allows to achieve number of connections
declared to be supported by NimBLE: 32+.
This patch refactors BLE Audio library to conform to new directory tree
introduced in a9795706bea035d84d1577680e0814ceedc9dc58.
LE Audio related files present in host/include, host/src and
host/services were moved to corelated folders in host/audio.
Experimental system config BLE_AUDIO enabling LE Audio feature was introduced.
Naming convention for BLE Audio functions, structures and files was
unified - replaced `bcst` shorthand with `broadcast`. For example,
ble_audio_pub_bcst_announcement_feat was renamed to
ble_audio_pub_broadcast_announcement_feat.
Contents of host/include/ble_audio_common.h was incorporated into
host/audio/include/audio/ble_audio.h.
Apps and Auracast service were adjusted to new config and include paths.
BLE_MAX_BIG and BLE_MAX_BIS renamed to BLE_ISO_MAX_BIGS and
BLE_ISO_MAX_BISES, respectevaly.
This adds option to silent the discovery results. This is useful in case
there is another callback listener registered that handles the scan
results, and the user does not want the default handler to print the
results.