The sequence number is needed in the appliaction layer to detect lost packets in the ISO stream in cases where the timestamp is not included. (Sequence number is mandatory to include where timestamp is optional). The API for the public metadata have been moved to a public header file. As the size of the ISO meta data exceeds the default 4 octets net_buf user_data the public ISO metadata have been moved into a seperate array. The internal metadata is still stored in net_buf user_data. This also fixed the user_data overflow on 32 bit systems, caused by writing the ts into user_data on index 4 to 7, which is outside the 4 allocated bytes. Signed-off-by: Casper Bonde <casper_bonde@bose.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| README.rst | ||
| sample.yaml | ||
.. _peripheral_iso: Bluetooth: Peripheral ISO ######################### Overview ******** Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this application enables support for connected isochronous (ISO) channels. Requirements ************ * BlueZ running on the host, or * A board with Bluetooth Low Energy 5.2 support Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_iso` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.