Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
YaTr_3516311
Level 5
Level 5
25 sign-ins First solution authored 100 replies posted

Dear friends,

I use ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release FW with CYBT-343026-01 to testing. I want to realize the beacon function to transmit UUID, major, minor information.

Below is my setting, but APP in my phone can not get the setted data.

SAP,F=2

SAD,D=FF120F0001020304050607080910111213141516

pastedImage_4.png

below is my app testing screen shot.

pastedImage_5.png

What's wrong with my setting?

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Please check the format of your advertisement data. It should be [length, type, value ...]. You may refer to the example in 3.4.3 in the user guide: https://www.cypress.com/file/455966/download

View solution in original post

0 Likes
5 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Please check the format of your advertisement data. It should be [length, type, value ...]. You may refer to the example in 3.4.3 in the user guide: https://www.cypress.com/file/455966/download

0 Likes

Dear OwenZ,

It is OK now with the correct format of [length, type, value ...] . Thank you.

By the way, I use type "FF"(BTM_BLE_ADVERT_TYPE_MANUFACTURER) to do the beacon function with UUID, major, minor information(SAD,D=17FF310101020304050607080910111213141516aaaa1010), Is this type correct?

0 Likes

Yes, it's correct to use the type 0xFF. For ibeacon and eddystone, there are some different packet format. You need to check the definition for each application.

For example, you can find the eddystone packet format here: eddystone/protocol-specification.md at master · google/eddystone · GitHub

0 Likes

I have a doubt, why cannot use type "03"(BTM_BLE_ADVERT_TYPE_16SRV_COMPLETE) to do the beacon function with UUID? And I don't know which type are suitable to major and minor.

0 Likes

The packet format for ibeacon and eddystone are specified by Apple and Google. You can find the definition on their website.