Scaning - length of name

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

cross mob
Anonymous
Not applicable

Hello, 

   

can me somebody help please? 

   

I need store the device name during scaning. My problem is, that I don't know the length of field for the name. For example, I find the 10 devices, but every device has different name. 

   

Can I find somehow the length of field for the device name during scaning?

   

Thx

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi ,

   

From your description, "I need store the device name during scaning", I hope you are reading the device name from the ADV packets from the peripheral. Am I correct?

   

If then, from the adv packet itself you can get the length of the name. See the ADV packet structure in the attached ppt.

   

Thanks,

   

Anjana

View solution in original post

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi ,

   

From your description, "I need store the device name during scaning", I hope you are reading the device name from the ADV packets from the peripheral. Am I correct?

   

If then, from the adv packet itself you can get the length of the name. See the ADV packet structure in the attached ppt.

   

Thanks,

   

Anjana

0 Likes