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

Bluetooth: OBEX: Check if the added string is valid



There are types of string can be added by using OBEX adding header
function bt_obex_add_header_*(). One is byte sequence. Another is null
terminated Unicode text.

Add a function bt_obex_string_is_valid() to check if the added string
is valid. And add a function bt_obex_unicode_is_valid() dedicated to
check Unicode string.

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