19#ifndef BTIF_SOCK_SDP_H
20#define BTIF_SOCK_SDP_H
21static const UINT8 UUID_OBEX_OBJECT_PUSH[] = {0x00, 0x00, 0x11, 0x05, 0x00, 0x00, 0x10, 0x00,
22 0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0xFB};
23static const UINT8 UUID_PBAP_PSE[] = {0x00, 0x00, 0x11, 0x2F, 0x00, 0x00, 0x10, 0x00,
24 0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0xFB};
25static const UINT8 UUID_SPP[] = {0x00, 0x00, 0x11, 0x01, 0x00, 0x00, 0x10, 0x00,
26 0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0xFB};
28static inline BOOLEAN is_uuid_empty(
const uint8_t* uuid)
30 static uint8_t empty_uuid[16];
31 return uuid == NULL || memcmp(uuid, empty_uuid,
sizeof(empty_uuid)) == 0;
34int add_rfc_sdp_rec(
const char* name,
const uint8_t* uuid,
int scn);
35void del_rfc_sdp_rec(
int handle);
36BOOLEAN is_reserved_rfc_channel(
int channel);
37int get_reserved_rfc_channel(
const uint8_t* uuid);