Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

WaSu_1697556
New Contributor II

My question loosely related to the below post.

Re: BCM20736S HIDOFF problem

In the above post the questioner was advised to register NOP callbacks to bleprofile_regAppEvtHandler() in order to properly retain the GPIO state.

Is the NOP part of the workaround or is it OK to do whatever the process necessary?


void application_create(void)

{

...... all other initialization here....

    bleprofile_regAppEvtHandler(BLECM_APP_EVT_ENTERING_HIDOFF,(BLECM_NO_PARAM_FUNC)app_enter_hidoff);

    bleprofile_regAppEvtHandler(BLECM_APP_EVT_ABORTING_HIDOFF,(BLECM_NO_PARAM_FUNC)app_abort_hidoff);

}

void app_enter_hidoff(void) { /* Do nothing */ }

void app_abort_hidoff(void) { /* Do nothing */ }

0 Likes
1 Solution
Anonymous
Not applicable

Hello Wataru,

Yes, you are allowed to do whatever process is necessary.

Thanks,

JT

View solution in original post

0 Likes
2 Replies
MichaelF_56
Moderator
Moderator

We will look into this with the developers.

0 Likes
Anonymous
Not applicable

Hello Wataru,

Yes, you are allowed to do whatever process is necessary.

Thanks,

JT

View solution in original post

0 Likes