I found this site and already tried, but always i get a fail.
but sleeping and waking up with pin is working.
Am I doing something wrong in the C code?
I can found if i look in V5.0.6 commands, but if i look in V4.4.7 there is no command for wakeup with BT
It's it looks like it only works from version 5 but then with version 5 Bluetooth does not work with Flowcode
I think most of the variants turn off BT when in sleep too. Not sure if there is an easy solution - unless the BT can get a fix for v5?
As a cheat (and a test)- connect BT using C (use the example programs - can add to supplementary code - and rename app_main()) and see if it works with sleep. I can maybe have a try this evening...
I have Python3.7 and Idf 5.1.2 on an another computer installed. I can compile using the "BT sleep command"
Bluetooth is working this way but it's not wakeup correct like the port wakeup.
i guess i should not use python 3.7 and Idf 5.1.2 better a higher version python.
But then i can not start the config menue and BT will not work
Hmm - something is awry with the BT - even using espressif examples.
I upgraded to v5.2 (brave maybe - not sure I recommend this at the moment) - and get the message/error:
I (569) coexist: coex firmware version: 77cd7f8
I (575) main_task: Started on CPU0
I (585) main_task: Calling app_main()
I (615) BTDM_INIT: BT controller compile version [a38dc5c]
I (625) BTDM_INIT: Bluetooth MAC: a4:cf:12:82:16:da
E (625) GAP: c_app_main enable controller failed: ESP_ERR_INVALID_ARG
This after enabling BT classic (using menuconfig) I'll play some more see it's just a config issue.
As another issue - is wake on BT only available with BLE?