Hello!!
I am trying the gatt_server(default,I did not modify) sample, but I fail at pairing.
The error message differs between Win10Pro and Android(Ver 4.4.2).
Connection failed on Win10 and Android.
In Linux (Mint 18.2), ESP can not be found by retrieving Device.
Git is the latest.
https://github.com/espressif/esp-idf/tr ... att_server
Is there someone in the same situation?
Does anyone have a solution?
The following is log.
Thank you very much.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
MONITOR
--- idf_monitor on C:/msys32/dev/COM3 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:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (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:1
load:0x3fff0010,len:4
load:0x3fff0014,len:5428
load:0x40078000,len:0
load:0x40078000,len:12028
entry 0x40078f24
I (45) boot: ESP-IDF v3.0-dev-265-g969f1bb9 2nd stage bootloader
I (45) boot: compile time 14:06:54
I (46) boot: Enabling RNG early entropy source...
I (63) boot: SPI Speed : 80MHz
I (75) boot: SPI Mode : DIO
I (88) boot: SPI Flash Size : 4MB
I (100) boot: Partition Table:
I (111) boot: ## Label Usage Type ST Offset Length
I (134) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (157) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (181) boot: 2 factory factory app 00 00 00010000 00100000
I (204) boot: End of partition table
I (217) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x28a10 (166416) map
I (392) esp_image: segment 1: paddr=0x00038a38 vaddr=0x3ffc0000 size=0x027d8 ( 10200) load
I (403) esp_image: segment 2: paddr=0x0003b218 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _iram_start at ??:?
I (414) esp_image: segment 3: paddr=0x0003b620 vaddr=0x40080400 size=0x049f0 ( 18928) load
I (461) esp_image: segment 4: paddr=0x00040018 vaddr=0x400d0018 size=0x61948 (399688) map
0x400d0018: _stext at ??:?
I (820) esp_image: segment 5: paddr=0x000a1968 vaddr=0x40084df0 size=0x0ec24 ( 60452) load
0x40084df0: vTaskSwitchContext at C:/msys32/home/takaz/esp/esp-idf/components/freertos/tasks.c
:4476
I (886) esp_image: segment 6: paddr=0x000b0594 vaddr=0x400c0000 size=0x00000 ( 0) load
I (922) boot: Loaded app from partition at offset 0x10000
I (922) boot: Disabling RNG early entropy source...
I (924) cpu_start: Pro cpu up.
I (935) cpu_start: Starting app cpu, entry point is 0x40080ec0
0x40080ec0: call_start_cpu1 at C:/msys32/home/takaz/esp/esp-idf/components/esp32/cpu_start.c:1
92
I (0) cpu_start: App cpu up.
I (967) heap_init: Initializing. RAM available for dynamic allocation:
I (988) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (1006) heap_init: At 3FFCA270 len 00015D90 (87 KiB): DRAM
I (1026) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (1045) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1065) heap_init: At 40093A14 len 0000C5EC (49 KiB): IRAM
I (1085) cpu_start: Pro cpu start user code
I (1141) cpu_start: Starting scheduler on PRO CPU.
I (188) cpu_start: Starting scheduler on APP CPU.
I (208) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EF
USE
I (458) phy: phy_version: 357.0, a6bf95b, Jul 25 2017, 12:28:06, 0, 0
I (508) GATTS_DEMO: REGISTER_APP_EVT, status 0, app_id 0
I (508) GATTS_DEMO: CREATE_SERVICE_EVT, status 0, service_handle 40
I (508) GATTS_DEMO: SERVICE_START_EVT, status 0, service_handle 40
I (518) GATTS_DEMO: ADD_CHAR_EVT, status 0, attr_handle 42, service_handle 40
I (518) GATTS_DEMO: the gatts demo char length = 3
I (528) GATTS_DEMO: prf_char[0] =11
I (528) GATTS_DEMO: prf_char[1] =22
I (538) GATTS_DEMO: prf_char[2] =33
I (538) GATTS_DEMO: ADD_DESCR_EVT, status 0, attr_handle 43, service_handle 40
I (548) GATTS_DEMO: REGISTER_APP_EVT, status 0, app_id 1
I (558) GATTS_DEMO: CREATE_SERVICE_EVT, status 0, service_handle 44
I (558) GATTS_DEMO: SERVICE_START_EVT, status 0, service_handle 44
I (568) GATTS_DEMO: ADD_CHAR_EVT, status 0, attr_handle 46, service_handle 44
I (578) GATTS_DEMO: ADD_DESCR_EVT, status 0, attr_handle 47, service_handle 44
I (125248) GATTS_DEMO: ESP_GATTS_CONNECT_EVT, conn_id 0, remote 00:28:f8:68:87:05:, is_conn 1
I (125248) GATTS_DEMO: CONNECT_EVT, conn_id 0, remote 00:28:f8:68:87:05:, is_conn 1
E (125608) BT: MTU request PDU with MTU size 517
I (126188) GATTS_DEMO: update connetion params status = 0, min_int = 48, max_int = 80,conn_int
= 80,latency = 0, timeout = 400
E (150088) BT: L2CA_RemoveFixedChnl() CID: 0x0006 BDA: 0028f8688705 not connected
E (150088) BT: Device not found
E (150088) BT: BTA got unregistered event id 31
E (150098) BT: BTA got unregistered event id 31
I (404078) GATTS_DEMO: ESP_GATTS_CONNECT_EVT, conn_id 0, remote 88:c9:d0:05:fa:2b:, is_conn 1
I (404088) GATTS_DEMO: CONNECT_EVT, conn_id 0, remote 88:c9:d0:05:fa:2b:, is_conn 1
I (410088) GATTS_DEMO: update connetion params status = 16, min_int = 48, max_int = 80,conn_in
t = 0,latency = 0, timeout = 400
E (434088) BT: btm_sec_clr_temp_auth_service() - no dev CB
E (434088) BT: Device not found
E (434088) BT: BTA got unregistered event id 31
E (434098) BT: BTA got unregistered event id 31
I (2807138) GATTS_DEMO: ESP_GATTS_CONNECT_EVT, conn_id 0, remote 88:c9:d0:05:fa:2b:, is_conn 1
I (2807138) GATTS_DEMO: CONNECT_EVT, conn_id 0, remote 88:c9:d0:05:fa:2b:, is_conn 1
I (2813148) GATTS_DEMO: update connetion params status = 16, min_int = 48, max_int = 80,conn_i
nt = 0,latency = 0, timeout = 400
E (2837128) BT: L2CA_RemoveFixedChnl() CID: 0x0006 BDA: 88c9d005fa2b not connected
E (2837128) BT: Device not found
E (2837128) BT: BTA got unregistered event id 31
E (2837128) BT: BTA got unregistered event id 31
ESP-IDF Can not connection gatt_server default examples
Who is online
Users browsing this forum: No registered users and 93 guests