0% found this document useful (0 votes)
80 views6 pages

BLE GATT Write Events Log Analysis

The document contains log output from an ESP32 device. It includes information about initializing partitions and memory, starting tasks, reading data from flash memory, initializing the Bluetooth and PHY modules, reading ADC values and stopping timers.

Uploaded by

mohamad1384
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views6 pages

BLE GATT Write Events Log Analysis

The document contains log output from an ESP32 device. It includes information about initializing partitions and memory, starting tasks, reading data from flash memory, initializing the Bluetooth and PHY modules, reading ADC values and stopping timers.

Uploaded by

mohamad1384
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1 1.

180007
1 1.271340
1 1.483481
1 1.703620
1 1.778815
1 1.622270
1 1.469312
1 1.342773
1 1.274059
1 1.252487
1 1.274324
1 1.297132
1 1.307269
1 1.419657
1 1.523583
1 1.464599
1 1.416480
1 1.302426
1 1.249227
1 1.220341
1 1.171858
1 1.274886
I (317226) ble: GATT_WRITE_EVT, conn_id 0, trans_id 2366, handle 46

1 1.335799
I (317236) ble: GATT_WRITE_EVT, value len 4, value :
1 1.430566
I (317236) ble: 73 74 6f 70
1 1.375103
I (317236) adc: adc timer stop by ble command.
1 1.123461
ble stop
I (317246) adc: adc timer stop successfully

1 1.466109
I (317706) ble: GATT_WRITE_EVT, conn_id 0, trans_id 2367, handle 46

I (317716) ble: GATT_WRITE_EVT, value len 5, value :


I (317716) ble: 71 75 65 75 65
I (317716) adc: adc timer start by ble command
adc timer start successfully
1 1.407780

assert failed: spi_device_transmit spi_master.c:865 (ret_trans == trans_desc)

Backtrace:0x40375da2:0x3fcb5f200x4037f821:0x3fcb5f40 0x40386299:0x3fcb5f60
0x42061321:0x3fcb6080 0x42008afd:0x3fcb60b0 0x42008b2b:0x3fcb6100
0x42008bfc:0x3fcb6140 0x42008d98:0x3fcb6170 0x42009571:0x3fcb61b0
0x42009179:0x3fcb6450 0x4200f041:0x3fcb6480 0x42035ccf:0x3fcb64c0
0x42037e55:0x3fcb64e0 0x40382461:0x3fcb6500

ELF file SHA256: 307458383774adf2

Rebooting...
▒ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375a8c
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x164c
load:0x403b6000,len:0xb7c
load:0x403ba000,len:0x2f74
entry 0x403b6248
I (29) boot: ESP-IDF v4.4.1 2nd stage bootloader
I (29) boot: compile time 19:49:59
I (29) boot: chip revision: 0
I (31) boot.esp32s3: Boot SPI Speed : 80MHz
I (36) boot.esp32s3: SPI Mode : DIO
I (40) boot.esp32s3: SPI Flash Size : 8MB
I (45) boot: Enabling RNG early entropy source...
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 otadata OTA data 01 00 0000f000 00002000
I (76) boot: 2 phy_init RF data 01 01 00011000 00001000
I (84) boot: 3 ota_0 OTA app 00 10 00020000 001ce800
I (91) boot: 4 ota_1 OTA app 00 11 001f0000 001ce800
I (99) boot: 5 storage Unknown data 01 82 003be800 00019000
I (106) boot: End of partition table
I (110) esp_image: segment 0: paddr=00020020 vaddr=3c090020 size=2ed1ch (191772)
map
I (153) esp_image: segment 1: paddr=0004ed44 vaddr=3fc97f60 size=012d4h ( 4820)
load
I (155) esp_image: segment 2: paddr=00050020 vaddr=42000020 size=88654h (558676)
map
I (259) esp_image: segment 3: paddr=000d867c vaddr=3fc99234 size=02c1ch ( 11292)
load
I (262) esp_image: segment 4: paddr=000db2a0 vaddr=40374000 size=13f54h ( 81748)
load
I (283) esp_image: segment 5: paddr=000ef1fc vaddr=50000000 size=00010h ( 16)
load
I (283) esp_image: segment 6: paddr=000ef214 vaddr=600fe000 size=00028h ( 40)
load
I (297) boot: Loaded app from partition at offset 0x20000
I (297) boot: Disabling RNG early entropy source...
I (312) opi psram: vendor id : 0x0d (AP)
I (312) opi psram: dev id : 0x02 (generation 3)
I (312) opi psram: density : 0x03 (64 Mbit)
I (316) opi psram: good-die : 0x01 (Pass)
I (321) opi psram: Latency : 0x01 (Fixed)
I (325) opi psram: VCC : 0x01 (3V)
I (330) opi psram: SRF : 0x01 (Fast Refresh)
I (336) opi psram: BurstType : 0x01 (Hybrid Wrap)
I (341) opi psram: BurstLen : 0x01 (32 Byte)
I (346) opi psram: Readlatency : 0x02 (10 cycles@Fixed)
I (352) opi psram: DriveStrength: 0x00 (1/1)
I (357) spiram: Found 64MBit SPI RAM device
I (362) spiram: SPI RAM mode: sram 40m
I (366) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (373) cpu_start: Pro cpu up.
I (377) cpu_start: Starting app cpu, entry point is 0x40375474
I (362) cpu_start: App cpu up.
I (1114) spiram: SPI SRAM memory test OK
D (1120) clk: RTC_SLOW_CLK calibration value: 4294360
I (1125) cpu_start: Pro cpu start user code
I (1125) cpu_start: cpu freq: 160000000
I (1125) cpu_start: Application information:
I (1128) cpu_start: Project name: dyno
I (1133) cpu_start: App version: Force 1.1
I (1138) cpu_start: Compile time: Jun 23 2023 19:49:39
I (1144) cpu_start: ELF file SHA256: 307458383774adf2...
I (1151) cpu_start: ESP-IDF: v4.4.1
D (1156) memory_layout: Checking 5 reserved memory ranges:
D (1161) memory_layout: Reserved memory range 0x3d000000 - 0x3e000000
D (1168) memory_layout: Reserved memory range 0x3fc84000 - 0x3fc97f54
D (1174) memory_layout: Reserved memory range 0x3fc97f60 - 0x3fcb2938
D (1181) memory_layout: Reserved memory range 0x3fceee34 - 0x3fcf0000
D (1187) memory_layout: Reserved memory range 0x40374000 - 0x40387f54
D (1194) memory_layout: Building list of available memory regions:
D (1200) memory_layout: Available memory region 0x3fcb2938 - 0x3fcc0000
D (1206) memory_layout: Available memory region 0x3fcc0000 - 0x3fcd0000
D (1213) memory_layout: Available memory region 0x3fcd0000 - 0x3fce0000
D (1220) memory_layout: Available memory region 0x3fce0000 - 0x3fceee34
D (1227) memory_layout: Available memory region 0x3fcf0000 - 0x3fcf8000
I (1233) heap_init: Initializing. RAM available for dynamic allocation:
D (1241) heap_init: New heap initialised at 0x3fcb2938
I (1246) heap_init: At 3FCB2938 len 0002D6C8 (181 KiB): D/IRAM
I (1252) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
D (1259) heap_init: New heap initialised at 0x3fcf0000
I (1264) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (1271) spiram: Adding pool of 8192K of external SPI memory to heap allocator
D (1279) FLASH_HAL: extra_dummy: 0
D (1282) spi_flash: trying chip: issi
D (1286) spi_flash: trying chip: gd
D (1289) spi_flash: trying chip: mxic
D (1293) spi_flash: trying chip: winbond
D (1297) spi_flash: trying chip: boya
D (1301) spi_flash: trying chip: th
D (1304) spi_flash: trying chip: mxic (opi)
D (1309) spi_flash: trying chip: generic
I (1313) spi_flash: detected chip: generic
I (1317) spi_flash: flash io: dio
D (1321) cpu_start: calling init function: 0x42070f2c
D (1326) cpu_start: calling init function: 0x42068900
D (1331) cpu_start: calling init function: 0x4205ca24
D (1337) cpu_start: calling init function: 0x42003418
D (1342) intr_alloc: Connected src 59 to int 2 (cpu 0)
I (1347) sleep: Configure to isolate all GPIO pins in sleep state
I (1354) sleep: Enable automatic switching of GPIO sleep configuration
I (1361) coexist: coexist rom version e7ae62f
D (1366) intr_alloc: Connected src 79 to int 3 (cpu 0)
I (1371) cpu_start: Starting scheduler on PRO CPU.
D (1377) intr_alloc: Connected src 57 to int 9 (cpu 0)
D (1377) intr_alloc: Connected src 80 to int 2 (cpu 1)
I (1387) cpu_start: Starting scheduler on APP CPU.
D (1387) intr_alloc: Connected src 58 to int 3 (cpu 1)
D (1397) heap_init: New heap initialised at 0x3fce0000
I (1397) spiram: Reserving pool of 32K of internal memory for DMA/internal
allocations
D (1407) intr_alloc: Connected src 52 to int 12 (cpu 0)
D (1417) partition: Loading the partition table
D (1417) partition: Partition table MD5 verified
Opening Non-Volatile Storage (NVS) handle... Version: Force 1.1
I (1437) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0|
Pulldown: 0| Intr:0
I (1437) gpio: GPIO[48]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1|
Pulldown: 0| Intr:2
D (1447) intr_alloc: Connected src 16 to int 13 (cpu 0)
D (1457) spi: SPI3 use gpio matrix.
D (1457) intr_alloc: Connected src 22 to int 17 (cpu 0)
D (1467) spi_hal: eff: 1000, limit: 80000k(/0), 0 dummy, -1 delay
D (1467) spi_master: SPI3: New device added to CS0, effective clock: 1000kHz
===========================remove all weight for offset
removal============================
I (3487) adc: adc timer start by ble command
adc timer start successfully
D (3597) ledc: LEDC_PWM CHANNEL 0|GPIO 47|Duty 0007|Time 0
force command send
No load Offset: 125
===================================================================================
========
I (4587) adc: adc timer stop by ble command.
ble stop
I (4587) adc: adc timer stop successfully

I (4797) gpio: GPIO[6]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown:


0| Intr:0
W (4797) BT_INIT: esp_bt_controller_mem_release not implemented, return OK
I (4797) BT_INIT: BT controller compile version [d913766]
I (4807) phy_init: phy_version 501,94697a2,Apr 7 2022,20:49:08
D (4807) phy_init: loading PHY init data from application binary
D (4817) nvs: nvs_open_from_partition phy 0
D (4817) nvs: nvs_get cal_version 4
D (4827) nvs: nvs_get_str_or_blob cal_mac
D (4827) efuse: In EFUSE_BLK1__DATA1_REG is used 8 bits starting with 8 bit
D (4837) efuse: In EFUSE_BLK1__DATA1_REG is used 8 bits starting with 0 bit
D (4847) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 24 bit
D (4847) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 16 bit
D (4857) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 8 bit
D (4867) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 0 bit
D (4867) nvs: nvs_get_str_or_blob cal_data
D (4887) nvs: nvs_close 1
D (4887) efuse: In EFUSE_BLK1__DATA1_REG is used 8 bits starting with 8 bit
D (4887) efuse: In EFUSE_BLK1__DATA1_REG is used 8 bits starting with 0 bit
D (4887) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 24 bit
D (4897) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 16 bit
D (4907) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 8 bit
D (4917) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 0 bit
I (5017) system_api: Base MAC address is not set
I (5017) system_api: read default base MAC address from EFUSE
D (5017) efuse: In EFUSE_BLK1__DATA1_REG is used 8 bits starting with 8 bit
D (5017) efuse: In EFUSE_BLK1__DATA1_REG is used 8 bits starting with 0 bit
D (5027) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 24 bit
D (5037) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 16 bit
D (5037) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 8 bit
D (5047) efuse: In EFUSE_BLK1__DATA0_REG is used 8 bits starting with 0 bit
I (5057) BT_INIT: Bluetooth MAC: f4:12:fa:e1:8d:7a

D (5067) nvs: nvs_open_from_partition bt_config.conf 1


D (5067) nvs: nvs_get_str_or_blob bt_cfg_key0
D (5067) nvs: nvs_get_str_or_blob bt_cfg_key0
D (5077) nvs: nvs_close 2
D (5077) nvs: nvs_open_from_partition bt_config.conf 1
D (5087) nvs: nvs_set_blob bt_cfg_key0 216
D (5087) nvs: nvs_close 3
D (5107) nvs: nvs_open_from_partition dyno 0
D (5107) nvs: nvs_get_str_or_blob ble_name
D (5107) nvs: nvs_get_str_or_blob ble_name
D (5107) nvs: nvs_close 4
ble_name: FH-1006
I (5107) ble: REGISTER_APP_EVT, status 0, app_id 0

I (5117) ble: CREATE_SERVICE_EVT, status 0, service_handle 40

I (5127) ble: SERVICE_START_EVT, status 0, service_handle 40

I (5127) ble: ADD_CHAR_EVT, status 0, attr_handle 42, service_handle 40

I (5137) ble: the gatts demo char length = 3

I (5137) ble: prf_char[0] =11

I (5147) ble: prf_char[1] =22

I (5147) ble: prf_char[2] =33

I (5157) ble: ADD_DESCR_EVT, status 0, attr_handle 43, service_handle 40

I (5157) ble: REGISTER_APP_EVT, status 0, app_id 1

I (5167) ble: CREATE_SERVICE_EVT, status 0, service_handle 44

I (5177) ble: SERVICE_START_EVT, status 0, service_handle 44

I (5177) ble: ADD_CHAR_EVT, status 0, attr_handle 46, service_handle 44

I (5187) ble: ADD_DESCR_EVT, status 0, attr_handle 47, service_handle 44

I (5197) ble: create attribute table successfully, the number handle = 5

I (5207) ble: SERVICE_START_EVT, status 0, service_handle 48


I (5207) gpio: GPIO[7]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown:
0| Intr:3
E (5217) gpio: gpio_install_isr_service(449): GPIO isr service already installed
I (10017) ble: ESP_GATTS_CONNECT_EVT, conn_id 0, remote 41:76:1c:4d:a9:23:
I (10017) ble: CONNECT_EVT, conn_id 0, remote 41:76:1c:4d:a9:23:
I (10017) ble: ESP_GATTS_CONNECT_EVT, conn_id = 0
I (10027) ble: 41 76 1c 4d a9 23
W (10027) BT_L2CAP: l2cble_start_conn_update, the last connection update command
still pending.
I (10407) ble: update connection params status = 0, min_int = 16, max_int =
32,conn_int = 24,latency = 0, timeout = 400
I (10747) ble: update connection params status = 0, min_int = 16, max_int =
32,conn_int = 6,latency = 0, timeout = 500
I (10967) ble: ESP_GATTS_MTU_EVT, MTU 500
I (10967) ble: ESP_GATTS_MTU_EVT, MTU 500
I (10967) ble: ESP_GATTS_MTU_EVT, MTU 500
I (11067) ble: update connection params status = 0, min_int = 0, max_int =
0,conn_int = 24,latency = 0, timeout = 1000
I (27027) ble: GATT_WRITE_EVT, conn_id 0, trans_id 1, handle 46

I (27027) ble: GATT_WRITE_EVT, value len 4, value :


I (27037) ble: 73 74 6f 70
E (27037) adc: adc timer stop failed

ble stop failed

You might also like