|
XenevaOS
|
#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | _bt_bond_rec_ |
Macros | |
| #define | SDP_PSM 1 |
| #define | SDP_ERR_RSP 0x01 |
| #define | SDP_SS_REQ 0x02 |
| #define | SDP_SS_RSP 0x03 |
| #define | SDP_SA_REQ 0x04 |
| #define | SDP_SA_RSP 0x05 |
| #define | SDP_SSA_REQ 0x06 |
| #define | SDP_SSA_RSP 0x07 |
| #define | SDP_UUID_AUDIOSINK 0x110B |
| #define | SDP_UUID_L2CAP 0x0100 |
| #define | SDP_UUID_AVDTP 0x0019 |
| #define | SDP_ATTR_PROTO_LIST 0x0004 |
| #define | BT_BOND_MAGIC 0x31444e42u /* 'BND1' little-endian */ |
Typedefs | |
| typedef struct _bt_bond_rec_ | BtBondRec |
Functions | |
| int | bt_ad_name (const uint8_t *ad, int len, char *out, int cap) |
| int | bt_hci_cmd (uint8_t *out, uint16_t opcode, const uint8_t *param, uint8_t plen) |
| int | bt_att_read_req (uint8_t *out, uint16_t handle) |
| int | bt_att_read_rsp (const uint8_t *pdu, int len, uint8_t *val, int cap) |
| int | sdp_build_search (uint8_t *o, uint16_t tid, uint16_t uuid16) |
| int | sdp_build_attr (uint8_t *o, uint16_t tid, uint32_t handle, uint16_t attr) |
| int | sdp_build_search_attr (uint8_t *o, uint16_t tid, uint16_t uuid16, uint16_t attr) |
| int | sdp_cont_get (const uint8_t *p, int len, const uint8_t **state) |
| int | sdp_cont_append (uint8_t *o, int clen, const uint8_t *state, int slen) |
| int | sdp_parse_search_rsp (const uint8_t *p, int len, uint16_t tid, uint32_t *handle) |
| int | sdp_parse_attr_psm (const uint8_t *p, int len, uint16_t tid, uint16_t *psm, uint16_t *ver) |
| int | sdp_parse_ssa_psm (const uint8_t *p, int len, uint16_t tid, uint16_t *psm, uint16_t *ver) |
| #define BT_BOND_MAGIC 0x31444e42u /* 'BND1' little-endian */ |
| #define SDP_ATTR_PROTO_LIST 0x0004 |
| #define SDP_ERR_RSP 0x01 |
| #define SDP_PSM 1 |
| #define SDP_SA_REQ 0x04 |
| #define SDP_SA_RSP 0x05 |
| #define SDP_SS_REQ 0x02 |
| #define SDP_SS_RSP 0x03 |
| #define SDP_SSA_REQ 0x06 |
| #define SDP_SSA_RSP 0x07 |
| #define SDP_UUID_AUDIOSINK 0x110B |
| #define SDP_UUID_AVDTP 0x0019 |
| #define SDP_UUID_L2CAP 0x0100 |
| typedef struct _bt_bond_rec_ BtBondRec |
| int bt_ad_name | ( | const uint8_t * | ad, |
| int | len, | ||
| char * | out, | ||
| int | cap | ||
| ) |
BSD 2-Clause License
Copyright (c) 2022-2026, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.