Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d973a27 authored by Alice Kuo's avatar Alice Kuo Committed by Automerger Merge Worker
Browse files

Improve the document for the dump le audio tool am: 004038a9

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1849393

Change-Id: I1c9b623bf67d8c0babcdbdf85bceeac0e6dbcdcd
parents de2f5844 004038a9
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -27,14 +27,15 @@
# ./dump_le_audio.py BTSNOOP.cfa
#
# -v, --verbose to enable the verbose log
# --header, Add the header for LC3.TS.
# --header, Add the header for LC3 Conformance Interoperability Test Software V.1.0.3 from LC3 test specification.
#
# NOTE:
# Please make sure you HCI Snoop data file includes the following frames:
# GATT service discovery for "ASE Control Point" chracteristic
# GATT config codec via ASE Control Point
# HCI create CIS to point out the "Start stream", and the data frames.
# HCI remove ISO data path to trigger dump audio data
# HCI remove ISO data path would trigger dump audio data once
# After all hci packet parse finished, would dump all remain audio data as well
#
# Correspondsing Spec.
# ASCS_1.0
@@ -492,7 +493,10 @@ def main():
    parser = argparse.ArgumentParser()
    parser.add_argument("btsnoop_file", help="btsnoop file contains LE audio start procedure")
    parser.add_argument("-v", "--verbose", help="Enable verbose log.", action="store_true")
    parser.add_argument("--header", help="Add the header for LC3.TS.", action="store_true")
    parser.add_argument(
        "--header",
        help="Add the header for LC3 Conformance Interoperability Test Software V.1.0.3.",
        action="store_true")

    argv = parser.parse_args()
    BTSNOOP_FILE_NAME = argv.btsnoop_file