Last active
July 29, 2023 11:15
-
-
Save WJKPK/bfe1930a0b2c79077bcefadf8aa42048 to your computer and use it in GitHub Desktop.
Disconnecting ESP32C3 esp-wifi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling thermo-esp v0.1.0 (/home/kruppenfield/Programowanie/thermo-esp) | |
Finished dev [unoptimized + debuginfo] target(s) in 0.41s | |
Running `espflash flash --monitor target/riscv32imc-unknown-none-elf/debug/thermo-esp` | |
[2023-07-28T22:16:26Z INFO ] 🚀 A new version of espflash is available: v2.0.1 | |
[2023-07-28T22:16:26Z INFO ] Serial port: '/dev/ttyACM0' | |
[2023-07-28T22:16:26Z INFO ] Connecting... | |
[2023-07-28T22:16:26Z INFO ] Using flash stub | |
Chip type: esp32c3 (revision v0.4) | |
Crystal frequency: 40MHz | |
Flash size: 4MB | |
Features: WiFi, BLE | |
MAC address: 70:04:1d:77:13:80 | |
App/part. size: 657,664/4,128,768 bytes, 15.93% | |
[2023-07-28T22:16:32Z INFO ] Flashing has completed! | |
Commands: | |
CTRL+R Reset chip | |
CTRL+C Exit | |
ESP-ROM:esp32c3-api1-20210207 | |
Build:Feb 7 2021 | |
rst:0x15 (USB_UART_CHIP_RESET),boot:0xd (SPI_FAST_FLASH_BOOT) | |
Saved PC:0x40380812[38;5;11m | |
0x40380812 - esp_wifi::ble::btdm::interrupt_enable | |
at /home/kruppenfield/.cargo/git/checkouts/esp-wifi-836f3b2af57fa847/c7ca849/esp-wifi/src/ble/btdm.rs:119[39m | |
SPIWP:0xee | |
mode:DIO, clock div:2 | |
load:0x3fcd5820,len:0x16ec[38;5;11m | |
0x3fcd5820 - _stack_start | |
at ??:??[39m | |
load:0x403cc710,len:0x95c[38;5;11m | |
0x403cc710 - ram_bt_set_tx_gain | |
at ??:??[39m | |
load:0x403ce710,len:0x2dc0[38;5;11m | |
0x403ce710 - ram_bt_set_tx_gain | |
at ??:??[39m | |
SHA-256 comparison failed: | |
Calculated: 692c10f3e7d531666ff34d02d3da161b3daa41ea629010d031fe3706fbada122 | |
Expected: 9fafed52ab0387e903bde368d0d6bfffe0dcc3d2f90dca069a4db891108c387c | |
Attempting to boot anyway... | |
entry 0x403cc710[38;5;11m | |
0x403cc710 - ram_bt_set_tx_gain | |
at ??:??[39m | |
[0;32mI (43) boot: ESP-IDF v5.0-beta1-764-gdbcf640261 2nd stage bootloader[0m | |
[0;32mI (43) boot: compile time 11:30:26[0m | |
[0;32mI (43) boot: chip revision: V004[0m | |
[0;32mI (46) boot_comm: chip revision: 4, min. bootloader chip revision: 3[0m | |
[0;32mI (53) boot.esp32c3: SPI Speed : 40MHz[0m | |
[0;32mI (58) boot.esp32c3: SPI Mode : DIO[0m | |
[0;32mI (63) boot.esp32c3: SPI Flash Size : 4MB[0m | |
[0;32mI (68) boot: Enabling RNG early entropy source...[0m | |
[0;32mI (73) boot: Partition Table:[0m | |
[0;32mI (77) boot: ## Label Usage Type ST Offset Length[0m | |
[0;32mI (84) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m | |
[0;32mI (91) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m | |
[0;32mI (99) boot: 2 factory factory app 00 00 00010000 003f0000[0m | |
[0;32mI (106) boot: End of partition table[0m | |
[0;32mI (111) boot_comm: chip revision: 4, min. application chip revision: 3[0m | |
[0;32mI (118) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=12afch ( 76540) map[0m | |
[0;32mI (143) esp_image: segment 1: paddr=00022b24 vaddr=3fc85a88 size=00500h ( 1280) load[0m | |
[0;32mI (144) esp_image: segment 2: paddr=0002302c vaddr=3fc9bbc8 size=00040h ( 64) load[0m | |
[0;32mI (149) esp_image: segment 3: paddr=00023074 vaddr=40380000 size=05a84h ( 23172) load[0m | |
[0;32mI (163) esp_image: segment 4: paddr=00028b00 vaddr=00000000 size=07518h ( 29976) [0m | |
[0;32mI (172) esp_image: segment 5: paddr=00030020 vaddr=42000020 size=808b0h (526512) map[0m | |
[0;32mI (291) boot: Loaded app from partition at offset 0x10000[0m | |
[0;32mI (291) boot: Disabling RNG early entropy source...[0m | |
[34mDEBUG - ble init[0m | |
[34mDEBUG - BT controller compile version 85b425c[0m | |
[34mDEBUG - !!!! unimplemented srand 420[0m | |
[34mDEBUG - The btdm_controller_init was initialized[0m | |
[34mDEBUG - coex_schm_status_bit_clear 1 -1[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Connector created | |
[34mDEBUG - coex_schm_status_bit_clear 1 -1[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Ok(CommandComplete { num_packets: 5, opcode: 3075, data: [0] }) | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Ok(CommandComplete { num_packets: 5, opcode: 8198, data: [0] }) | |
Ok(CommandComplete { num_packets: 5, opcode: 8200, data: [0] }) | |
[34mDEBUG - coex_schm_status_bit_set 1 1[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Ok(CommandComplete { num_packets: 5, opcode: 8202, data: [0] }) | |
started advertising | |
[34mDEBUG - coex_schm_status_bit_clear 1 1[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
[34mDEBUG - coex_schm_status_bit_set 1 4[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 1 - because original implementation does the same[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
[33mWARN - Ignoring unknown event 3e data = [01, 00, 01, 00, 01, 01, 62, 56, a8, a3, 5b, 43, 26, 00, 00, 00, f4, 01, 00][0m | |
[34mDEBUG - polled: Some(Event(Unknown))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [7, 0, 4, 0, 10, 1, 0, ff, ff, 0, 28] }))[0m | |
[34mDEBUG - att: ReadByGroupTypeReq { start: 1, end: ffff, group_type: Uuid16(2800) }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - found! 1[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [11, 14, 1, 0, 6, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93][0m | |
[34mDEBUG - encoded_l2cap [16, 0, 4, 0, 11, 14, 1, 0, 6, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93][0m | |
[34mDEBUG - writing [2, 1, 20, 1a, 0, 16, 0, 4, 0, 11, 14, 1, 0, 6, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [7, 0, 4, 0, 10, 7, 0, ff, ff, 0, 28] }))[0m | |
[34mDEBUG - att: ReadByGroupTypeReq { start: 7, end: ffff, group_type: Uuid16(2800) }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 2[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93]) 3[0m | |
[34mDEBUG - Check attribute Uuid16(2902) 4[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 5[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95]) 6[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1, 10, 7, 0, a][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1, 10, 7, 0, a][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1, 10, 7, 0, a][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [7, 0, 4, 0, 8, 1, 0, 6, 0, 2, 28] }))[0m | |
[34mDEBUG - att: ReadByTypeReq { start: 1, end: 6, attribute_type: Uuid16(2802) }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 2[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93]) 3[0m | |
[34mDEBUG - Check attribute Uuid16(2902) 4[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 5[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95]) 6[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1, 8, 1, 0, a][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1, 8, 1, 0, a][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1, 8, 1, 0, a][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [7, 0, 4, 0, 8, 1, 0, 6, 0, 3, 28] }))[0m | |
[34mDEBUG - att: ReadByTypeReq { start: 1, end: 6, attribute_type: Uuid16(2803) }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 2[0m | |
[34mDEBUG - found! Uuid16(2803) 2[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [9, 15, 2, 0, 12, 3, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93][0m | |
[34mDEBUG - encoded_l2cap [17, 0, 4, 0, 9, 15, 2, 0, 12, 3, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93][0m | |
[34mDEBUG - writing [2, 1, 20, 1b, 0, 17, 0, 4, 0, 9, 15, 2, 0, 12, 3, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [7, 0, 4, 0, 8, 3, 0, 6, 0, 3, 28] }))[0m | |
[34mDEBUG - att: ReadByTypeReq { start: 3, end: 6, attribute_type: Uuid16(2803) }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 2[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93]) 3[0m | |
[34mDEBUG - Check attribute Uuid16(2902) 4[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 5[0m | |
[34mDEBUG - found! Uuid16(2803) 5[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [9, 15, 5, 0, 8, 6, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95][0m | |
[34mDEBUG - encoded_l2cap [17, 0, 4, 0, 9, 15, 5, 0, 8, 6, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95][0m | |
[34mDEBUG - writing [2, 1, 20, 1b, 0, 17, 0, 4, 0, 9, 15, 5, 0, 8, 6, 0, 38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [7, 0, 4, 0, 8, 6, 0, 6, 0, 3, 28] }))[0m | |
[34mDEBUG - att: ReadByTypeReq { start: 6, end: 6, attribute_type: Uuid16(2803) }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 2[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93]) 3[0m | |
[34mDEBUG - Check attribute Uuid16(2902) 4[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 5[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95]) 6[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1, 8, 6, 0, a][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1, 8, 6, 0, a][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1, 8, 6, 0, a][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [5, 0, 4, 0, 4, 4, 0, 4, 0] }))[0m | |
[34mDEBUG - att: FindInformation { start_handle: 4, end_handle: 4 }[0m | |
[34mDEBUG - Check attribute Uuid16(2800) 1[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 2[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 93]) 3[0m | |
[34mDEBUG - Check attribute Uuid16(2902) 4[0m | |
[34mDEBUG - found! Uuid16(2902) 4[0m | |
[34mDEBUG - Check attribute Uuid16(2803) 5[0m | |
[34mDEBUG - Check attribute Uuid128([38, cf, 62, a, c3, fb, 10, 9f, eb, 11, 54, 23, e0, 12, 73, 95]) 6[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [5, 1, 4, 0, 2, 29][0m | |
[34mDEBUG - encoded_l2cap [6, 0, 4, 0, 5, 1, 4, 0, 2, 29][0m | |
[34mDEBUG - writing [2, 1, 20, a, 0, 6, 0, 4, 0, 5, 1, 4, 0, 2, 29][0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 1 - because original implementation does the same[0m | |
[33mWARN - Ignoring unknown event 3e data = [03, 00, 01, 00, 06, 00, 00, 00, f4, 01][0m | |
[34mDEBUG - polled: Some(Event(Unknown))[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
[33mWARN - Ignoring unknown event 3e data = [03, 00, 01, 00, 26, 00, 00, 00, f4, 01][0m | |
[34mDEBUG - polled: Some(Event(Unknown))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [3, 0, 4, 0, a, 3, 0] }))[0m | |
[34mDEBUG - att: ReadReq { handle: 3 }[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [b, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [3, 0, 4, 0, b, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 7, 0, 3, 0, 4, 0, b, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [5, 0, 4, 0, 12, 4, 0, 1, 0] }))[0m | |
[34mDEBUG - att: WriteReq { handle: 4, data: [1, 0] }[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [13][0m | |
[34mDEBUG - encoded_l2cap [1, 0, 4, 0, 13][0m | |
[34mDEBUG - writing [2, 1, 20, 5, 0, 1, 0, 4, 0, 13][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(AsyncData(AclPacket { handle: 1, boundary_flag: FirstAutoFlushable, bc_flag: PointToPoint, data: [4, 0, 4, 0, 12, 6, 0, 1] }))[0m | |
[34mDEBUG - att: WriteReq { handle: 6, data: [1] }[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [13][0m | |
[34mDEBUG - encoded_l2cap [1, 0, 4, 0, 13][0m | |
[34mDEBUG - writing [2, 1, 20, 5, 0, 1, 0, 4, 0, 13][0m | |
[34mDEBUG - Heating: actual: 28 expected: 29[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 28 expected: 30[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - Heating: actual: 28 expected: 31[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - Heating: actual: 28 expected: 32[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - Heating: actual: 28 expected: 33[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - Heating: actual: 28 expected: 34[0m | |
[34mDEBUG - src_handle 1[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 1, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - coex_schm_status_bit_clear 1 4[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 1, completed_packets: 1 }))[0m | |
[34mDEBUG - polled: Some(Event(DisconnectComplete { handle: 1, status: Okay, reason: ConnectionTimeout }))[0m | |
[34mDEBUG - coex_schm_status_bit_clear 1 -1[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Ok(CommandComplete { num_packets: 5, opcode: 3075, data: [0] }) | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Ok(CommandComplete { num_packets: 5, opcode: 8198, data: [0] }) | |
Ok(CommandComplete { num_packets: 5, opcode: 8200, data: [0] }) | |
[34mDEBUG - coex_schm_status_bit_set 1 1[0m | |
[34mDEBUG - ignored coex_wifi_sleep_set 0 - because original implementation does the same[0m | |
Ok(CommandComplete { num_packets: 5, opcode: 8202, data: [0] }) | |
started advertising | |
[34mDEBUG - Heating: actual: 28 expected: 35[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 27 expected: 36[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 27 expected: 37[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 28 expected: 38[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 28 expected: 39[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 28 expected: 40[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 28 expected: 41[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 27 expected: 42[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 28 expected: 43[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1c, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m | |
[34mDEBUG - Heating: actual: 27 expected: 44[0m | |
[34mDEBUG - src_handle 0[0m | |
[34mDEBUG - data [1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - encoded_l2cap [5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - writing [2, 0, 20, 9, 0, 5, 0, 4, 0, 1b, 3, 0, 1b, 0][0m | |
[34mDEBUG - polled: Some(Event(NumberOfCompletedPackets { number_of_connection_handles: 1, connection_handles: 0, completed_packets: 1 }))[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nRF Connect, 2023-07-29 | |
ESP32-C3 (72:04:1D:77:13:81) | |
V 00:16:38.033 Connecting to 72:04:1D:77:13:81... | |
D 00:16:38.033 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M) | |
D 00:16:40.400 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED | |
D 00:16:40.433 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) | |
I 00:16:40.433 Connected to 72:04:1D:77:13:81 | |
V 00:16:40.457 Discovering services... | |
D 00:16:40.457 gatt.discoverServices() | |
I 00:16:42.803 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms) | |
D 00:16:42.872 [Callback] Services discovered with status: 0 | |
I 00:16:42.873 Services discovered | |
V 00:16:42.891 Unknown Service (937312e0-2354-11eb-9f10-fbc30a62cf38) | |
- Unknown Characteristic [N R] (937312e0-2354-11eb-9f10-fbc30a62cf38) | |
Client Characteristic Configuration (0x2902) | |
- Unknown Characteristic [W] (957312e0-2354-11eb-9f10-fbc30a62cf38) | |
D 00:16:42.892 gatt.setCharacteristicNotification(937312e0-2354-11eb-9f10-fbc30a62cf38, true) | |
I 00:16:43.064 Connection parameters updated (interval: 47.5ms, latency: 0, timeout: 5000ms) | |
V 00:16:52.733 Reading characteristic 937312e0-2354-11eb-9f10-fbc30a62cf38 | |
D 00:16:52.733 gatt.readCharacteristic(937312e0-2354-11eb-9f10-fbc30a62cf38) | |
I 00:16:53.041 Read Response received from 937312e0-2354-11eb-9f10-fbc30a62cf38, value: (0x) 1C-00 | |
A 00:16:53.041 "(0x) 1C-00" received | |
V 00:16:57.168 Enabling notifications for 937312e0-2354-11eb-9f10-fbc30a62cf38 | |
D 00:16:57.168 gatt.setCharacteristicNotification(937312e0-2354-11eb-9f10-fbc30a62cf38, true) | |
D 00:16:57.169 gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100) | |
I 00:16:57.505 Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00 | |
A 00:16:57.505 "Notifications enabled" sent | |
V 00:16:57.522 Notifications enabled for 937312e0-2354-11eb-9f10-fbc30a62cf38 | |
V 00:17:06.909 Writing request to characteristic 957312e0-2354-11eb-9f10-fbc30a62cf38 | |
D 00:17:06.909 gatt.writeCharacteristic(957312e0-2354-11eb-9f10-fbc30a62cf38, value=0x01) | |
I 00:17:07.253 Notification received from 937312e0-2354-11eb-9f10-fbc30a62cf38, value: (0x) 1C-00 | |
A 00:17:07.253 "(0x) 1C-00" received | |
I 00:17:07.256 Data written to 957312e0-2354-11eb-9f10-fbc30a62cf38, value: (0x) 01 | |
A 00:17:07.257 "(0x) 01" sent | |
D 00:17:12.307 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0) | |
E 00:17:12.308 Error 8 (0x8): GATT CONN TIMEOUT | |
I 00:17:12.308 Disconnected | |
D 00:17:12.377 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED | |
D 00:17:29.543 gatt.close() | |
D 00:17:29.544 wait(200) | |
V 00:17:29.746 Connecting to 72:04:1D:77:13:81... | |
D 00:17:29.746 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M) | |
D 00:17:30.116 [Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0) | |
E 00:17:30.116 Error 133 (0x85): GATT ERROR | |
I 00:17:30.116 Disconnected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment