Closed albrownwood closed 5 months ago
@albrownwood Please see the switch's instructions. You need set Use coin cell button
of example to N
to simulate.
@lhespress yes I did compile with Use coin cell button = N and the error mentioned was present.
@albrownwood
The log level of switch use CONFIG_LOG_DEFAULT_LEVEL_NONE=y
as default, so there isn't any LOG output. you can check the function by the LOG of bulb:
I (5161) app_bulb: bind, uuid: 08:f9:e0:1f:9d:34, initiator_type: 513
I (17901) app_bulb: app_bulb_ctrl_data_cb, initiator_attribute: 513, responder_attribute: 1, value: 1
I (19171) app_bulb: app_bulb_ctrl_data_cb, initiator_attribute: 513, responder_attribute: 1, value: 0
I (28411) app_bulb: app_bulb_ctrl_data_cb, initiator_attribute: 513, responder_attribute: 1, value: 1
I (29931) app_bulb: app_bulb_ctrl_data_cb, initiator_attribute: 513, responder_attribute: 1, value: 0
I (31281) app_bulb: app_bulb_ctrl_data_cb, initiator_attribute: 513, responder_attribute: 1, value: 1
Of course, please change it to CONFIG_LOG_DEFAULT_LEVEL_INFO=y
if you want to show the LOG of switch, then you will see the LOG of switch as follows:
I (3981) app_switch: switch bind press
I (4000) espnow_ctrl: src_addr: 24:0a:c4:03:f5:14, espnow_ctrl_initiator_ack, channel: 1
I (6251) app_switch: switch send press
I (6289) espnow_ctrl: src_addr: 24:0a:c4:03:f5:14, espnow_ctrl_initiator_ack, channel: 1
I (9891) app_switch: switch send press
I (9911) espnow_ctrl: src_addr: 24:0a:c4:03:f5:14, espnow_ctrl_initiator_ack, channel: 1
I (12196) app_switch: switch send press
I (12267) espnow_ctrl: src_addr: 24:0a:c4:03:f5:14, espnow_ctrl_initiator_ack, channel: 1
@albrownwood Closing this issue since there has been no update on this. Please feel free to reopen if required.
Using ESP-IDF v5.1.2, ESP32, compilation and flashing without issue, I get the following text on boot and nothing happens:
The get-started and bulb examples execute correctly on the same prototype board (ESP devkit).