Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: AVRCP: connection and disconnection of AVRCP #75637

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Oct 14, 2024

  1. Bluetooth: AVCTP: Implementation of AVCTP.

    This patch implementing avctp.c
    New Kconfig BT_AVCTP is provided to enable this layer.
    avctp_internal.h shows the APIs for the upper layer, i.e., AVRCP.
    
    Only connection and disconnection interfaces are provided in this patch.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f5927a9 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Bluetooth: AVRCP: Implemation of AVRCP.

    This patch implementing avrcp.c
    New Kconfig BT_AVRCP is provided to enable this layer.
    BT_AVRCP_TARGET and BT_AVRCP_CONTROLLER are then
    provided to enable one of the two roles independently.
    avrcp.h shows the APIs for the upper layer.
    
    Only connection and disconnection interfaces are provided in this patch.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    d02b8d0 View commit details
    Browse the repository at this point in the history
  2. Bluetooth: AVRCP: Add SDP attributes.

    This patch add SDP records for both CT and TG role.
    
    The SDP attribute would be registered according to the configuration.
    
    OBEX and Browsing commands are optional and yet not supported.
    
    SDP registration is implemented at AVRCP level to simplify the
    workload of the upper layer. We assume the App can have limited
    knowledge on SDP structures.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    02601b9 View commit details
    Browse the repository at this point in the history
  3. Bluetooth: AVRCP: add shell tools for AVRCP functions.

    Only the basic functions for establishing an AVCTP connection
    are provided at this stage.
    An BR/EDR ACL connection is necessary before AVRCP function.
    Register callbacks before utilizing AVRCP.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e06c43f View commit details
    Browse the repository at this point in the history
  4. Bluetooth: AVCTP: allow to create and send AVCTP message

    This patch defines the message format for general AVCTP.
    They would be further called by AVRCP layer.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a222d41 View commit details
    Browse the repository at this point in the history
  5. Bluetooth: AVRCP: allow to create and send AVRCP unit message

    This patch defines the message format for AVCTP unit message.
    This is the first out of the four types of commands and can be
    used by the CT to obtain the unit info from the TG device.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4dcb840 View commit details
    Browse the repository at this point in the history
  6. Bluetooth: Shell: add command to obtain unit info

    This patch allow to acquire the unit info of the remote device.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    99ec248 View commit details
    Browse the repository at this point in the history
  7. Bluetooth: AVCTP: allow to receive an AVCTP message.

    This patch received an AVCTP message and forward to the
    upper layer, e.g., AVRCP.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    dcba86f View commit details
    Browse the repository at this point in the history
  8. Bluetooth : AVRCP: allow to receive an AVRCP message.

    This patch received an AVRCP message and remove timeout timers.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8cb6634 View commit details
    Browse the repository at this point in the history
  9. Bluetooth: AVRCP: fix bitfield issue.

    The bit order can be incorrect when use bit field definition.
    
    Signed-off-by: Zihao Gao <[email protected]>
    Zihao Gao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    d0cfd32 View commit details
    Browse the repository at this point in the history