Skip to content
Commit c418d217 authored by Lyle Zhu's avatar Lyle Zhu Committed by Maureen Helm
Browse files

Bluetooth: GOEP: Improve TLV triplet encoding and parsing



Add a structure `struct bt_obex_tlv` to pass/save the one TLV info.

Use a array of `struct bt_obex_tlv` as the set of all TLV-triplets.
Update the following functions to  support the feature, including
`bt_obex_add_header_app_param`, `bt_obex_add_header_auth_challenge`,
and `bt_obex_add_header_auth_rsp`.

Add a function `bt_obex_tlv_parse` to parse the encoded TLV-triplets.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent 0dfae646
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment