avdtp.h (ab2445a0204a8deaee8d62e6d3fba1e51a226576) avdtp.h (8366bc41ba8e93cae5ea0d70c7b9c32577d6261a)
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 42 unchanged lines hidden (view full) ---

51#include <stdint.h>
52#include "hci.h"
53#include "btstack_ring_buffer.h"
54
55#if defined __cplusplus
56extern "C" {
57#endif
58
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 42 unchanged lines hidden (view full) ---

51#include <stdint.h>
52#include "hci.h"
53#include "btstack_ring_buffer.h"
54
55#if defined __cplusplus
56extern "C" {
57#endif
58
59// Limit L2CAP MTU to fit largest packet for BR/EDR
60#define AVDTP_L2CAP_MTU (HCI_ACL_3DH5_SIZE - L2CAP_HEADER_SIZE)
61
59#define AVDTP_MAX_NUM_SEPS 10
60#define AVDTP_MAX_CSRC_NUM 15
61#define AVDTP_MAX_CONTENT_PROTECTION_TYPE_VALUE_LEN 10
62
63// Supported Features
64#define AVDTP_SOURCE_FEATURE_MASK_PLAYER 0x0001u
65#define AVDTP_SOURCE_FEATURE_MASK_MICROPHONE 0x0002u
66#define AVDTP_SOURCE_FEATURE_MASK_TUNER 0x0004u

--- 631 unchanged lines hidden ---
62#define AVDTP_MAX_NUM_SEPS 10
63#define AVDTP_MAX_CSRC_NUM 15
64#define AVDTP_MAX_CONTENT_PROTECTION_TYPE_VALUE_LEN 10
65
66// Supported Features
67#define AVDTP_SOURCE_FEATURE_MASK_PLAYER 0x0001u
68#define AVDTP_SOURCE_FEATURE_MASK_MICROPHONE 0x0002u
69#define AVDTP_SOURCE_FEATURE_MASK_TUNER 0x0004u

--- 631 unchanged lines hidden ---