SDP init

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

cross mob
wenchilo
Level 4
Level 4
First like received 25 replies posted 25 sign-ins

Hi, I'm develop with CYBT-343026 on modus2.4. And I am trying to combine SPP abd iAP. Bur I found it seems that wiced_bt_sdp_db_init can only init once. How can I initial both 

wiced_bt_sdp_db_init((uint8_t *)iap2_sdp_db, sizeof(iap2_sdp_db));
and
wiced_bt_sdp_db_init((uint8_t *)sdp_database, sdp_database_len);
 
thanks
0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hello @wenchilo 

You should not call wiced_bt_sdp_db_init multiple times. If you want to use more than one profile in a project, you should call wiced_bt_sdp_db_init once with different SDP records added w.r.t each profiles in the SDP database. For example, refer the example projects in MTB like watch .

Regards,

Anjana

View solution in original post

0 Likes
1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hello @wenchilo 

You should not call wiced_bt_sdp_db_init multiple times. If you want to use more than one profile in a project, you should call wiced_bt_sdp_db_init once with different SDP records added w.r.t each profiles in the SDP database. For example, refer the example projects in MTB like watch .

Regards,

Anjana

0 Likes