puart_control write handle and read handle problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

hi sir,

I use two BCM92073X kit do test,

I add a characteristic and handle 0x001A like this :

11111111111.jpg

then I open two smart UART Controller ,

and I write "aaaaaaaaaaaaaaaaaaaa"(length 20) to handle 0x001A , Written correctly :

11111111111.jpg

But when I write "aaaaaaaaaaaaaaa"(length 15) to handle 0x001A, Write value Weird :


why appear  "9f" ??


11111111111.jpg



and sometimes i write any value(such as "hhhhh") to handle 0x001A ,the peer device 

No value is written


11111111111.jpg


How can I solve this problem ?

thanks Sir !

0 Likes
1 Solution

not sure if it answers your question but hhhhh is not a valid hex string.  Valid hex characters are 0-9 and A-F.

View solution in original post

0 Likes
5 Replies
Anonymous
Not applicable

Hello Yaocing,

You need to add Permissions Variable length.

Thanks,

JT

0 Likes
Anonymous
Not applicable

Hi j.t

I have joined this LEGATTDB_PERM_VARIABLE_LENGTH as follows

11111111111.jpg

Other places also needs?

0 Likes
Anonymous
Not applicable

Anyone can answer my questions?

0 Likes

not sure if it answers your question but hhhhh is not a valid hex string.  Valid hex characters are 0-9 and A-F.

0 Likes
Anonymous
Not applicable

Thank you at least I know the range about hex characters .

0 Likes