- root@ubuntu:~/esp/gatt_server_service_table# make monitor
- Toolchain path: /home/kyle/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
- Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
- Compiler version: 5.2.0
- Python requirements from /home/kyle/esp/esp-idf/requirements.txt are satisfied.
- MONITOR
- --- idf_monitor on /dev/ttyUSB0 115200 ---
- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
- ets Jun 8 2016 00:22:57
- rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
- configsip: 0, SPIWP:0xee
- clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
- mode:DIO, clock div:2
- load:0x3fff0018,len:4
- load:0x3fff001c,len:6160
- ho 0 tail 12 room 4
- load:0x40078000,len:10168
- ho 0 tail 12 room 4
- load:0x40080400,len:6552
- entry 0x40080764
- I (32) boot: ESP-IDF v3.3-dev-270-g6f8e2b018 2nd stage bootloader
- I (32) boot: compile time 11:37:06
- I (32) boot: Enabling RNG early entropy source...
- I (38) boot: SPI Speed : 40MHz
- I (42) boot: SPI Mode : DIO
- I (46) boot: SPI Flash Size : 4MB
- I (50) boot: Partition Table:
- I (54) boot: ## Label Usage Type ST Offset Length
- I (61) boot: 0 nvs WiFi data 01 02 00009000 00006000
- I (69) boot: 1 phy_init RF data 01 01 0000f000 00001000
- I (76) boot: 2 factory factory app 00 00 00010000 00100000
- I (84) boot: End of partition table
- I (88) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x230b4 (143540) map
- I (147) esp_image: segment 1: paddr=0x000330dc vaddr=0x3ff80000 size=0x00000 ( 0) load
- I (147) esp_image: segment 2: paddr=0x000330e4 vaddr=0x3ff80000 size=0x00000 ( 0) load
- I (154) esp_image: segment 3: paddr=0x000330ec vaddr=0x3ffbdb60 size=0x02db0 ( 11696) load
- I (167) esp_image: segment 4: paddr=0x00035ea4 vaddr=0x3ffc0910 size=0x00000 ( 0) load
- I (172) esp_image: segment 5: paddr=0x00035eac vaddr=0x40080000 size=0x00400 ( 1024) load
- 0x40080000: _WindowOverflow4 at /home/kyle/esp/esp-idf/components/freertos/xtensa_vectors.S:1685
- I (181) esp_image: segment 6: paddr=0x000362b4 vaddr=0x40080400 size=0x09d5c ( 40284) load
- I (206) esp_image: segment 7: paddr=0x00040018 vaddr=0x400d0018 size=0x7cbf4 (510964) map
- 0x400d0018: _flash_cache_start at ??:?
- I (385) esp_image: segment 8: paddr=0x000bcc14 vaddr=0x4008a15c size=0x07b38 ( 31544) load
- 0x4008a15c: coex_arbit_clean_overtime_until at ??:?
- I (399) esp_image: segment 9: paddr=0x000c4754 vaddr=0x400c0000 size=0x00000 ( 0) load
- I (399) esp_image: segment 10: paddr=0x000c475c vaddr=0x50000000 size=0x00000 ( 0) load
- I (406) esp_image: segment 11: paddr=0x000c4764 vaddr=0x50000000 size=0x00000 ( 0) load
- I (425) boot: Loaded app from partition at offset 0x10000
- I (425) boot: Disabling RNG early entropy source...
- I (426) cpu_start: Pro cpu up.
- I (430) cpu_start: Starting app cpu, entry point is 0x400811d8
- 0x400811d8: call_start_cpu1 at /home/kyle/esp/esp-idf/components/esp32/cpu_start.c:246
- I (0) cpu_start: App cpu up.
- I (440) heap_init: Initializing. RAM available for dynamic allocation:
- I (447) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
- I (453) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
- I (459) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
- I (465) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
- I (472) heap_init: At 3FFC9A58 len 000165A8 (89 KiB): DRAM
- I (478) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
- I (484) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
- I (491) heap_init: At 40091C94 len 0000E36C (56 KiB): IRAM
- I (497) cpu_start: Pro cpu start user code
- I (179) cpu_start: Starting scheduler on PRO CPU.
- I (0) cpu_start: Starting scheduler on APP CPU.
- I (222) BTDM_INIT: BT controller compile version [6eb4acf]
- I (222) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
- I (312) phy: phy_version: 4000, b6198fa, Sep 3 2018, 15:11:06, 0, 0
- I (682) GATTS_TABLE_DEMO: create attribute table successfully, the number handle = 8
- I (682) GATTS_TABLE_DEMO: SERVICE_START_EVT, status 0, service_handle 40
- I (692) GATTS_TABLE_DEMO: advertising start successfully
- I (11652) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
- I (11652) GATTS_TABLE_DEMO: 74 88 6b cb 09 cf
- I (12152) GATTS_TABLE_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 32,latency = 0, timeout = 400
- I (17352) GATTS_TABLE_DEMO: ESP_GATTS_DISCONNECT_EVT, reason = 0x13
- I (17362) GATTS_TABLE_DEMO: advertising start successfully
- I (36582) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
- I (36582) GATTS_TABLE_DEMO: 74 88 6b cb 09 cf
- I (37032) GATTS_TABLE_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 32,latency = 0, timeout = 400
- I (1687362) GATTS_TABLE_DEMO: ESP_GATTS_DISCONNECT_EVT, reason = 0x13
- I (1687372) GATTS_TABLE_DEMO: advertising start successfully
- I (1688782) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
- I (1688782) GATTS_TABLE_DEMO: 69 d0 d9 4c 2c ac
- I (1689282) GATTS_TABLE_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 32,latency = 0, timeout = 400
- I (1693882) GATTS_TABLE_DEMO: ESP_GATTS_DISCONNECT_EVT, reason = 0x13
- I (1693892) GATTS_TABLE_DEMO: advertising start successfully
- I (1813452) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
- I (1813462) GATTS_TABLE_DEMO: 5f cb c1 f0 1b 15
- I (1813912) GATTS_TABLE_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 32,latency = 0, timeout = 400
- I (1817192) GATTS_TABLE_DEMO: ESP_GATTS_DISCONNECT_EVT, reason = 0x13
- I (1817202) GATTS_TABLE_DEMO: advertising start successfully
- I (2105192) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
- I (2105192) GATTS_TABLE_DEMO: 5f cb c1 f0 1b 15
- I (2105642) GATTS_TABLE_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 32,latency = 0, timeout = 400
手机为:honor 7x
现象:见截图
关键日志为: