cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

LeCa_2156671
New Contributor II

Hi BCM Pals,

     We are now developping with 20736, which should work both in central and peripheral mode. Our code starts with Hello Client. there are some questions which need your help as below:

1.central_role_patches, where is the lib head file?

we could not find the head file in the D:\WICED\WICED-Smart-SDK-2.1.1\SDK\WICED-Smart-SDK\Wiced-Smart\tier2\brcm\libraries\inc

2.The readme in this lib, there is the description:

"

------------------------------------------------------------------

central_role_patches

------------------------------------------------------------------

All mandatory patches for applications that need to support central role. "

We need 20736S work both in central and periphral, though we include this lib, but we do not call any functions in this lib, and we do not know the meaning of “mandatory patches”. Could U pls help us with much more detail introduction about this lib ?

3.blecm_enablescatternet()

There is no index of this function in WICED, and we find out that, this function is called by function of init() in hello client, but we could not find much more description about this function, Could U pls help us with much more detail introduction about this function?

    Many thanks...

0 Likes
1 Solution
ArvindS_76
Employee

The application just needs to include this library. The library has patches for central role and there are no application accessible API in this library.

View solution in original post

0 Likes
3 Replies
BoonT_56
Employee

I suggest that you first check out hello_client.c and test it out from there. Refer to the below for the verification procedure.

Testing Master and Slave Roles

0 Likes
LeCa_2156671
New Contributor II

maxsong How to use the central_role_patch lib? and what functions in this patch lib must be called when 20736 works in central role ??

     Could you help me also with this question?

     Many thanks...

0 Likes
ArvindS_76
Employee

The application just needs to include this library. The library has patches for central role and there are no application accessible API in this library.

View solution in original post

0 Likes