SDK 2.2.2 watch example and ancs

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

cross mob
Anonymous
Not applicable

Hi all.

I try to test the ancs service with watch example. (with BCM 20737 DK)

When I download the application firmware and connect with my iPhone, the bonding is completed.

However, when I check it with terminal (putty), there is no ancs message.

when I get a message, call, and etc. , it doesn't display anything.

Is there any setting steps for displaying ancs service?

+ when I check the watch_db.c there is no information about ancs service.

please check it. (I didn't change any codes)

Have a good day

Regards,

Kyu.

0 Likes
1 Solution
Anonymous
Not applicable

(for other developers)

OK. I got the solution from Broadcom support team.

Just put this line ancs_client_initialize function on ancs_client.c

.....

......

    ancs_client_initialize_complete_callback = initialize_complete_callback;

    memset (&ancs_client, 0, sizeof (ancs_client));

    ///////////////////////////////////////////////

    ancs_client.ancs_e_handle=e_handle;     <--- this

    //////////////////////////////////////////////

    ancs_client.state =      ANCS_CLIENT_STATE_WAIT_READ_ANCS_CHARACTERISTIC;

.....

.....

It is working well now.

Thanks.

Regards,

Jun-Kyu

View solution in original post

16 Replies