CONFIG_IBEACON_MODE
Posted: Thu Apr 02, 2020 11:15 am
Trying to setup iBecon demo.
ESP32 - running as iBeacon reciever.
Android phone - running Beacon Simulator(this enbales you phone to act as a iBeacon).
ESP firmware is built and running
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, 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:6368
ho 0 tail 12 room 4
load:0x40078000,len:13784
ho 0 tail 12 room 4
load:0x40080400,len:4260
entry 0x400806e4
I (32) boot: ESP-IDF v4.0-beta2 2nd stage bootloader
I (33) boot: compile time 11:02:30
I (33) 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 (53) boot: ## Label Usage Type ST Offset Length
I (61) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (68) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (76) boot: 2 factory factory app 00 00 00010000 00100000
I (83) boot: End of partition table
I (87) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1afd4 (110548) map
I (136) esp_image: segment 1: paddr=0x0002affc vaddr=0x3ffbdb60 size=0x02c04 ( 11268) load
I (140) esp_image: segment 2: paddr=0x0002dc08 vaddr=0x40080000 size=0x00400 ( 1024) load
I (143) esp_image: segment 3: paddr=0x0002e010 vaddr=0x40080400 size=0x02000 ( 8192) load
I (155) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x7168c (464524) map
I (326) esp_image: segment 5: paddr=0x000a16ac vaddr=0x40082400 size=0x100e0 ( 65760) load
I (365) boot: Loaded app from partition at offset 0x10000
I (365) boot: Disabling RNG early entropy source...
I (366) cpu_start: Pro cpu up.
I (369) cpu_start: Application information:
I (374) cpu_start: Project name: ble_ibeacon_demo
I (380) cpu_start: App version: 1
I (384) cpu_start: Compile time: Apr 2 2020 12:05:20
I (390) cpu_start: ELF file SHA256: 9c7ce50c5ab55af8...
I (396) cpu_start: ESP-IDF: v4.0-beta2
I (402) cpu_start: Starting app cpu, entry point is 0x4008125c
I (392) cpu_start: App cpu up.
I (412) heap_init: Initializing. RAM available for dynamic allocation:
I (419) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (425) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (431) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (437) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (443) heap_init: At 3FFC89F0 len 00017610 (93 KiB): DRAM
I (450) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (456) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (462) heap_init: At 400924E0 len 0000DB20 (54 KiB): IRAM
I (469) cpu_start: Pro cpu start user code
I (487) spi_flash: detected chip: generic
I (488) spi_flash: flash io: dio
I (488) cpu_start: Chip Revision: 1
W (489) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
I (499) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (575) BTDM_INIT: BT controller compile version [d6bb204]
I (585) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (685) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0
I (1005) IBEACON_DEMO: register callback
Issue is i never see the ESP32 dectect the iBeacon running on my phone.
ESP32 - running as iBeacon reciever.
Android phone - running Beacon Simulator(this enbales you phone to act as a iBeacon).
ESP firmware is built and running
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, 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:6368
ho 0 tail 12 room 4
load:0x40078000,len:13784
ho 0 tail 12 room 4
load:0x40080400,len:4260
entry 0x400806e4
I (32) boot: ESP-IDF v4.0-beta2 2nd stage bootloader
I (33) boot: compile time 11:02:30
I (33) 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 (53) boot: ## Label Usage Type ST Offset Length
I (61) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (68) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (76) boot: 2 factory factory app 00 00 00010000 00100000
I (83) boot: End of partition table
I (87) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1afd4 (110548) map
I (136) esp_image: segment 1: paddr=0x0002affc vaddr=0x3ffbdb60 size=0x02c04 ( 11268) load
I (140) esp_image: segment 2: paddr=0x0002dc08 vaddr=0x40080000 size=0x00400 ( 1024) load
I (143) esp_image: segment 3: paddr=0x0002e010 vaddr=0x40080400 size=0x02000 ( 8192) load
I (155) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x7168c (464524) map
I (326) esp_image: segment 5: paddr=0x000a16ac vaddr=0x40082400 size=0x100e0 ( 65760) load
I (365) boot: Loaded app from partition at offset 0x10000
I (365) boot: Disabling RNG early entropy source...
I (366) cpu_start: Pro cpu up.
I (369) cpu_start: Application information:
I (374) cpu_start: Project name: ble_ibeacon_demo
I (380) cpu_start: App version: 1
I (384) cpu_start: Compile time: Apr 2 2020 12:05:20
I (390) cpu_start: ELF file SHA256: 9c7ce50c5ab55af8...
I (396) cpu_start: ESP-IDF: v4.0-beta2
I (402) cpu_start: Starting app cpu, entry point is 0x4008125c
I (392) cpu_start: App cpu up.
I (412) heap_init: Initializing. RAM available for dynamic allocation:
I (419) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (425) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (431) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (437) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (443) heap_init: At 3FFC89F0 len 00017610 (93 KiB): DRAM
I (450) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (456) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (462) heap_init: At 400924E0 len 0000DB20 (54 KiB): IRAM
I (469) cpu_start: Pro cpu start user code
I (487) spi_flash: detected chip: generic
I (488) spi_flash: flash io: dio
I (488) cpu_start: Chip Revision: 1
W (489) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
I (499) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (575) BTDM_INIT: BT controller compile version [d6bb204]
I (585) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (685) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0
I (1005) IBEACON_DEMO: register callback
Issue is i never see the ESP32 dectect the iBeacon running on my phone.