ESP-IDF
bluetooth_sdp_record::hdr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bluetooth_sdp_record::hdr
bluetooth_sdp_record::hdr field
Syntax
Show:
Summary
Declaration
from
bt_sdp.h:105
bluetooth_sdp_hdr_overlay
hdr
;
Examples
References
from
examples
Code
Location
Referrer
bluetooth_sdp_hdr_overlay
hdr
;
bt_sdp.h:105
switch
(
record
->
hdr
.
type
)
{
btc_sdp.c:90
get_sdp_record_size()
records_size
+=
record
->
hdr
.
service_name_length
;
btc_sdp.c:97
get_sdp_record_size()
if
(
record
->
hdr
.
service_name_length
>
0
)
{
btc_sdp.c:98
get_sdp_record_size()
if
(
in_record
->
hdr
.
service_name
==
NULL
||
in_record
->
hdr
.
service_name_length
==
0
)
{
btc_sdp.c:242
copy_sdp_record_common()
out_record
->
hdr
.
service_name
=
NULL
;
btc_sdp.c:243
copy_sdp_record_common()
out_record
->
hdr
.
service_name_length
=
0
;
btc_sdp.c:244
copy_sdp_record_common()
out_record
->
hdr
.
service_name
=
(
char
*
)
free_ptr
;
// Update service_name pointer
btc_sdp.c:246
copy_sdp_record_common()
memcpy
(
free_ptr
,
in_record
->
hdr
.
service_name
,
in_record
->
hdr
.
service_name_length
)
;
btc_sdp.c:248
copy_sdp_record_common()
free_ptr
+=
in_record
->
hdr
.
service_name_length
;
btc_sdp.c:249
copy_sdp_record_common()
switch
(
in_record
->
hdr
.
type
)
{
btc_sdp.c:257
copy_sdp_record()
if
(
record
->
hdr
.
type
==
SDP_TYPE_DIP_SERVER
)
{
btc_sdp.c:272
check_if_primary_di_record()
return
record
->
hdr
.
type
==
SDP_TYPE_DIP_SERVER
?
true
:
false
;
btc_sdp.c:282
check_if_di_record()
switch
(
record
->
hdr
.
type
)
{
btc_sdp.c:934
btc_handle_create_record_event()
memcpy
(
&
service_uuid
,
&
record
->
hdr
.
uuid
,
sizeof
(
esp_bt_uuid_t
)
)
;
btc_sdp.c:937
btc_handle_create_record_event()
BTC_TRACE_DEBUG
(
"Record type %d is not supported"
,
record
->
hdr
.
type
)
;
btc_sdp.c:973
btc_handle_create_record_event()
uint32_t
src_service_name_length
=
src_record
->
hdr
.
service_name_length
;
btc_sdp.c:1047
btc_sdp_cb_arg_deep_copy()
char
*
src_service_name
=
src_record
->
hdr
.
service_name
;
btc_sdp.c:1048
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
service_name_length
=
0
;
btc_sdp.c:1049
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
service_name
=
NULL
;
btc_sdp.c:1050
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
service_name_length
=
src_service_name_length
;
btc_sdp.c:1057
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
service_name
=
service_name
;
btc_sdp.c:1058
btc_sdp_cb_arg_deep_copy()
int
src_user1_ptr_len
=
src_record
->
hdr
.
user1_ptr_len
;
btc_sdp.c:1065
btc_sdp_cb_arg_deep_copy()
uint8_t
*
src_user1_ptr
=
src_record
->
hdr
.
user1_ptr
;
btc_sdp.c:1066
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
user1_ptr_len
=
0
;
btc_sdp.c:1067
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
user1_ptr
=
NULL
;
btc_sdp.c:1068
btc_sdp_cb_arg_deep_copy()
if
(
src_record
->
hdr
.
type
==
SDP_TYPE_RAW
&&
src_user1_ptr
&&
src_user1_ptr_len
)
{
btc_sdp.c:1069
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
user1_ptr_len
=
src_user1_ptr_len
;
btc_sdp.c:1074
btc_sdp_cb_arg_deep_copy()
dest_record
->
hdr
.
user1_ptr
=
user1_ptr
;
btc_sdp.c:1075
btc_sdp_cb_arg_deep_copy()
if
(
record
->
hdr
.
service_name
)
{
btc_sdp.c:1096
btc_sdp_cb_arg_deep_free()
osi_free
(
record
->
hdr
.
service_name
)
;
btc_sdp.c:1097
btc_sdp_cb_arg_deep_free()
if
(
record
->
hdr
.
user1_ptr
)
{
btc_sdp.c:1100
btc_sdp_cb_arg_deep_free()
osi_free
(
record
->
hdr
.
user1_ptr
)
;
btc_sdp.c:1101
btc_sdp_cb_arg_deep_free()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bluetooth_sdp_record::hdr
is read by 8 functions:
All items filtered out
bluetooth_sdp_record::hdr
get_sdp_record_size()
copy_sdp_record_common()
copy_sdp_record()
check_if_primary_di_record()
check_if_di_record()
btc_handle_create_record_event()
btc_sdp_cb_arg_deep_copy()
btc_sdp_cb_arg_deep_free()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out