- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My question loosely related to the below post.
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 */ }
Solved! Go to Solution.
- Labels:
-
SDK 2.X
-
Sleep Modes
-
WICED Sense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Wataru,
Yes, you are allowed to do whatever process is necessary.
Thanks,
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We will look into this with the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Wataru,
Yes, you are allowed to do whatever process is necessary.
Thanks,
JT