Skip to content

Commit

Permalink
Bluetooth: OBEX: Check if the added string is valid
Browse files Browse the repository at this point in the history
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: Lyle Zhu <lyle.zhu@nxp.com>
  • Loading branch information
lylezhu2012 committed Jan 14, 2025
1 parent 0b1334b commit 2177c21
Showing 1 changed file with 178 additions and 38 deletions.
Loading

0 comments on commit 2177c21

Please sign in to comment.