- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm trying to implement HIDOFF using GPIO.
It worked fine with WICED Studio 6.x.
However, it does not work well with ModusTollbox2.3 + BT SDK (3.0 / 3.1).
In the case of Modus, 20706 go to HIDOFF, but it wakes up after 5 seconds without GPIO operation.
For Example
wiced_hal_gpio_register_pin_for_interrupt( WICED_GPIO_BUTTON, NULL, NULL );
wiced_hal_gpio_configure_pin( WICED_GPIO_BUTTON,WICED_GPIO_BUTTON_SETTINGS(GPIO_EN_INT_FALLING_EDGE), WICED_GPIO_BUTTON_DEFAULT_STATE );
wiced_power_save_start(WICED_WAKE_SOURCE_GPIO, 0);
Please tell me the correct setting of HIDOFF for ModusToolbox/BTSDK.
I am testing with the CYBT-343026-EVAL01 board. GPIO uses P0.
Best Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update:
The issue showed up in multiple versions of SDK unevenly. It will be solved in the upcoming BTSDK (v3.3).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it periodically waking up at every 5 seconds?
Could you please share your full code with us? we will try check the code and reproduce the issue.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj
Thank you for your reply.
I attached the test app code of HIDOFF .
In the case of this test APP, it will be "HIDOFF" after startup soon. And then 30 seconds later it unintentionally wakes up.
...
[2021-08-30 12:43:13.099] Bluetooth Enabled (success)
[2021-08-30 12:43:13.147] Shutdown - Entering power save
[2021-08-30 12:43:42.976] **** App Start ****
[2021-08-30 12:43:43.086] Unhandled Bluetooth Management Event: 0x15 (21)
[2021-08-30 12:43:43.095] Bluetooth Enabled (success)
[2021-08-30 12:43:43.145] Shutdown - Entering power save
[2021-08-30 12:44:12.977] **** App Start ****
[2021-08-30 12:44:13.089] Unhandled Bluetooth Management Event: 0x15 (21)
...
Please check this code.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Did the attached test app work?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj
Do you have any update ?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update:
The issue showed up in multiple versions of SDK unevenly. It will be solved in the upcoming BTSDK (v3.3).