Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HomeKit: Failed to compact HomeKit storage: sector data read error #179

Open
exrector opened this issue Nov 17, 2020 · 1 comment
Open

Comments

@exrector
Copy link

00:19:08.699 -> ets Jun 8 2016 00:22:57
00:19:08.699 ->
00:19:08.699 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
00:19:08.699 -> configsip: 0, SPIWP:0xee
00:19:08.699 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
00:19:08.699 -> mode:DIO, clock div:2
00:19:08.699 -> load:0x3fff0030,len:4
00:19:08.699 -> load:0x3fff0034,len:6964
00:19:08.699 -> load:0x40078000,len:13072
00:19:08.733 -> load:0x40080400,len:3896
00:19:08.733 -> entry 0x40080688
00:19:08.733 -> �[0;32mI (28) boot: ESP-IDF v4.1-dirty 2nd stage bootloader�[0m
00:19:08.733 -> �[0;32mI (28) boot: compile time 00:10:31�[0m
00:19:08.733 -> �[0;32mI (29) boot: chip revision: 1�[0m
00:19:08.733 -> �[0;32mI (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0�[0m
00:19:08.733 -> �[0;32mI (39) boot.esp32: SPI Speed : 40MHz�[0m
00:19:08.733 -> �[0;32mI (43) boot.esp32: SPI Mode : DIO�[0m
00:19:08.767 -> �[0;32mI (48) boot.esp32: SPI Flash Size : 2MB�[0m
00:19:08.767 -> �[0;32mI (52) boot: Enabling RNG early entropy source...�[0m
00:19:08.767 -> �[0;32mI (58) boot: Partition Table:�[0m
00:19:08.767 -> �[0;32mI (61) boot: ## Label Usage Type ST Offset Length�[0m
00:19:08.767 -> �[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00006000�[0m
00:19:08.767 -> �[0;32mI (76) boot: 1 phy_init RF data 01 01 0000f000 00001000�[0m
00:19:08.801 -> �[0;32mI (84) boot: 2 factory factory app 00 00 00010000 00100000�[0m
00:19:08.801 -> �[0;32mI (91) boot: End of partition table�[0m
00:19:08.801 -> �[0;32mI (95) boot_comm: chip revision: 1, min. application chip revision: 0�[0m
00:19:08.801 -> �[0;32mI (102) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1e954 (125268) map�[0m
00:19:08.868 -> �[0;32mI (159) esp_image: segment 1: paddr=0x0002e97c vaddr=0x3ffb0000 size=0x0169c ( 5788) load�[0m
00:19:08.868 -> �[0;32mI (162) esp_image: segment 2: paddr=0x00030020 vaddr=0x400d0020 size=0x92f14 (601876) map�[0m
00:19:09.076 -> �[0;32mI (395) esp_image: segment 3: paddr=0x000c2f3c vaddr=0x3ffb169c size=0x02844 ( 10308) load�[0m
00:19:09.109 -> �[0;32mI (399) esp_image: segment 4: paddr=0x000c5788 vaddr=0x40080000 size=0x00404 ( 1028) load�[0m
00:19:09.109 -> �[0;32mI (402) esp_image: segment 5: paddr=0x000c5b94 vaddr=0x40080404 size=0x14fa8 ( 85928) load�[0m
00:19:09.142 -> �[0;32mI (459) boot: Loaded app from partition at offset 0x10000�[0m
00:19:09.142 -> �[0;32mI (460) boot: Disabling RNG early entropy source...�[0m
00:19:09.179 -> �[0;32mI (460) cpu_start: Pro cpu up.�[0m
00:19:09.179 -> �[0;32mI (464) cpu_start: Application information:�[0m
00:19:09.179 -> �[0;32mI (468) cpu_start: Project name: button�[0m
00:19:09.179 -> �[0;32mI (473) cpu_start: App version: f8dcf29-dirty�[0m
00:19:09.179 -> �[0;32mI (479) cpu_start: Compile time: Nov 17 2020 00:10:15�[0m
00:19:09.179 -> �[0;32mI (485) cpu_start: ELF file SHA256: f06079c9ac4fb59a...�[0m
00:19:09.179 -> �[0;32mI (491) cpu_start: ESP-IDF: v4.1-dirty�[0m
00:19:09.215 -> �[0;32mI (496) cpu_start: Starting app cpu, entry point is 0x400812b4�[0m
00:19:09.215 -> �[0;32mI (0) cpu_start: App cpu up.�[0m
00:19:09.215 -> �[0;32mI (506) heap_init: Initializing. RAM available for dynamic allocation:�[0m
00:19:09.215 -> �[0;32mI (513) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM�[0m
00:19:09.215 -> �[0;32mI (519) heap_init: At 3FFB9F48 len 000260B8 (152 KiB): DRAM�[0m
00:19:09.215 -> �[0;32mI (526) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM�[0m
00:19:09.250 -> �[0;32mI (532) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM�[0m
00:19:09.250 -> �[0;32mI (538) heap_init: At 400953AC len 0000AC54 (43 KiB): IRAM�[0m
00:19:09.250 -> �[0;32mI (545) cpu_start: Pro cpu start user code�[0m
00:19:09.250 -> �[0;32mI (563) spi_flash: detected chip: generic�[0m
00:19:09.250 -> �[0;32mI (564) spi_flash: flash io: dio�[0m
00:19:09.250 -> �[0;33mW (564) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.�[0m
00:19:09.285 -> �[0;32mI (574) cpu_start: Starting scheduler on PRO CPU.�[0m
00:19:09.285 -> �[0;32mI (0) cpu_start: Starting scheduler on APP CPU.�[0m
00:19:09.323 -> I (680) wifi:wifi driver task: 3ffc274c, prio:23, stack:6656, core=0
00:19:09.323 -> �[0;32mI (680) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE�[0m
00:19:09.323 -> �[0;32mI (680) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE�[0m
00:19:09.361 -> I (710) wifi:wifi firmware version: 3ea4c76
00:19:09.361 -> I (710) wifi:config NVS flash: enabled
00:19:09.361 -> I (710) wifi:config nano formating: disabled
00:19:09.361 -> I (710) wifi:Init dynamic tx buffer num: 32
00:19:09.361 -> I (710) wifi:Init data frame dynamic rx buffer num: 32
00:19:09.397 -> I (720) wifi:Init management frame dynamic rx buffer num: 32
00:19:09.397 -> I (720) wifi:Init management short buffer num: 32
00:19:09.397 -> I (730) wifi:Init static rx buffer size: 1600
00:19:09.397 -> I (730) wifi:Init static rx buffer num: 10
00:19:09.397 -> I (740) wifi:Init dynamic rx buffer num: 32
00:19:09.497 -> �[0;32mI (840) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0�[0m
00:19:09.497 -> I (840) wifi:mode : sta (98:f4:ab:72:32:a8)
00:19:09.497 -> STA start
00:19:10.695 -> I (2050) wifi:new:<10,0>, old:<1,0>, ap:<255,255>, sta:<10,0>, prof:1
00:19:11.909 -> I (3250) wifi:state: init -> auth (b0)
00:19:11.909 -> I (3250) wifi:state: auth -> assoc (0)
00:19:11.909 -> I (3260) wifi:state: assoc -> run (10)
00:19:11.909 -> I (3270) wifi:connected with Reactor, aid = 11, channel 10, BW20, bssid = 1c:36:bb:05:fd:0e
00:19:11.942 -> I (3280) wifi:security: WPA2-PSK, phy: bgn, rssi: -52
00:19:11.942 -> I (3280) wifi:pm start, type: 1
00:19:11.942 ->
00:19:11.942 -> I (3290) wifi:AP's beacon interval = 102400 us, DTIM period = 3
00:19:13.809 -> �[0;32mI (5170) esp_netif_handlers: sta ip: 192.168.1.85, mask: 255.255.255.0, gw: 192.168.1.254�[0m
00:19:13.809 -> WiFI ready
00:19:13.842 -> >>> HomeKit: Starting server
00:19:13.842 -> !!! HomeKit: Failed to read HomeKit storage magic
00:19:13.842 -> >>> HomeKit: Formatting HomeKit storage at 0x200000
00:19:13.842 -> !!! HomeKit: Failed to erase HomeKit storage
00:19:13.842 -> >>> HomeKit: Resetting HomeKit storage
00:19:13.842 -> !!! HomeKit: Failed to reset HomeKit storage
00:19:13.842 -> >>> HomeKit: Generated new accessory ID: 9D:8B:6F:43:35:3B
00:19:13.842 -> !!! HomeKit: Failed to write accessory ID to HomeKit storage
00:19:14.512 -> >>> HomeKit: Generated new accessory key
00:19:14.512 -> !!! HomeKit: Failed to write accessory key to HomeKit storage
00:19:14.512 -> >>> HomeKit: Configuring mDNS
00:19:14.512 -> >>> homekit_run_server: Staring HTTP server
00:20:52.205 -> >>> HomeKit: Got new client connection: 55 from 192.168.1.80
00:20:52.205 -> >>> homekit_client_process: [Client 55] Got 124 incomming data
00:20:52.205 -> >>> homekit_server_on_pair_setup: Pair Setup
00:20:52.205 -> >>> homekit_server_on_pair_setup: Free heap: 212020
00:20:52.241 -> >>> tlv_debug: Got following TLV values:
00:20:52.241 -> >>> tlv_debug: Type 0 value (1 bytes): \x00
00:20:52.241 -> >>> tlv_debug: Type 6 value (1 bytes): \x01
00:20:52.241 -> >>> HomeKit: [Client 55] Pair Setup Step 1/3
00:20:52.241 -> >>> homekit_server_on_pair_setup: Free heap: 211968
00:20:52.241 -> >>> crypto_srp_new: Initializing SRP
00:20:52.241 -> >>> homekit_server_on_pair_setup: [Client 55] Initializing crypto
00:20:52.241 -> >>> homekit_server_on_pair_setup: Free heap: 211312
00:20:52.274 -> >>> homekit_server_on_pair_setup: [Client 55] Using user-specified password: 111-11-111
00:20:52.274 -> >>> crypto_srp_init: Generating salt
00:20:52.274 -> >>> crypto_srp_init: Setting SRP username
00:20:52.274 -> >>> crypto_srp_init: Setting SRP params
00:20:52.274 -> >>> crypto_srp_init: Setting SRP password
00:20:52.274 -> >>> crypto_srp_init: Getting SRP verifier
00:20:54.479 -> >>> crypto_srp_init: Setting SRP verifier
00:20:54.479 -> >>> crypto_srp_get_public_key: Calculating public key
00:20:55.620 -> >>> send_tlv_response: [Client 55] Sending TLV response
00:20:55.620 -> >>> tlv_debug: Got following TLV values:
00:20:55.620 -> >>> tlv_debug: Type 3 value (384 bytes): \x17\x937.\xA5sV\x9A\x99d\xBA\xE0\xA0FC8XO\x10\xCB\xBE\x1C\xEF\x9C\x11\xE8~\x1Bu\x1B\xB3X\x1DW\xFD\x04\xEE\x90\x1F\xD5\x15h=\x90\xEEp\x09\xD5\xF7c\x8E\xE3\x18\x85\xD11\x14\xAE\x0Fe\x99\xC9\x0E\xFF\x0F\x91\xB1\xFE\x8D\xA1\xB8\xC61>\xD6iXr\x9E\xC0p}\xAEY\x02\xE1\xDB\xC0\xD5P\xA9\xB5n\xF8\x11\xDD\xC9\xF8\x12\xA1\x8D\x86Qgw\xA8\x84\x03$%'/\xB9\xAF\x00\x07\xA8\x04yB\xA3\xDDZ\xF8\xD0\xDD\xED\x94\x03\x8F\xBE\x1A8'\xF8\xBFC\xFA\x92\xEB/-{\x1C\x0B\x00_ \xF0\x0C\x98M\xC5\x1E1g\xA5\xC7\x8C]]\xA2\x9D\xD8\xD0\xC9\xC3"\xE0j\xB9\xD4)h^\x1A\x9F\xBF0\xC3\xDB\xCB\xDAYi3~\xCE\xCB\x94\xFC\x93#<\x80c\x8E87\x9DJ\x07d\x92\x010p)\xD5\xB1\x8D\xF9\xC7\x8C7\xEC\x01\x9C\x82\x84\x18\xDA\xD9_Kj(\x96\xCA\xFD)\xA7O\xFC\x07\x00\xC3)\x874\xE0\xD4\x04\xB9%\xDC\xBE\xE9\xBD\xC7\xEC5SU\xE5\x96CXO{h\x1B\x01\x81\x88N\xCBC\x14\xFA\x19\x99\xE7Uo^7\xC1I\xB5\xE5m\x0C,:Y\xB9\xF2\xE1O2\xAC5\x13\x94?f|\xE5U\x1A\xE9\xF4K\xE0\x9C\xB38RYH�\xB98D^Ah\xC5\xE8\x8C\xE2>\x85\xCE\xA5\xD5uW}\xD6\xB0\xD6\xE9E\xF2\xAE\xF7~\x17\xC1\xB8T1\x8AQ\xC7i<\x12\x9C\xFC\x827\xD9Ds\xCB\xC8\x9CU\xB7\xFF\xD2LU\x81\x15\x18\x15/\xA0W\xC4\x0D\xEF\xC7\xE4\xBB 00:20:55.720 -> >>> tlv_debug: Type 2 value (16 bytes): \xFE\xD4\xACH\x07\x8B\x15\xC2\x1B6)\xE2\xC2aP\x8D 00:20:55.754 -> >>> tlv_debug: Type 6 value (1 bytes): \x02 00:20:55.754 -> >>> client_send: [Client 55] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 409\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x03\xFF\x17\x937.\xA5sV\x9A\x99d\xBA\xE0\xA0FC8XO\x10\xCB\xBE\x1C\xEF\x9C\x11\xE8~\x1Bu\x1B\xB3X\x1DW\xFD\x04\xEE\x90\x1F\xD5\x15h=\x90\xEEp\x09\xD5\xF7c\x8E\xE3\x18\x85\xD11\x14\xAE\x0Fe\x99\xC9\x0E\xFF\x0F\x91\xB1\xFE\x8D\xA1\xB8\xC61>\xD6iXr\x9E\xC0p}\xAEY\x02\xE1\xDB\xC0\xD5P\xA9\xB5n\xF8\x11\xDD\xC9\xF8\x12\xA1\x8D\x86Qgw\xA8\x84\x03$%'/\xB9\xAF\x00\x07\xA8\x04yB\xA3\xDDZ\xF8\xD0\xDD\xED\x94\x03\x8F\xBE\x1A8'\xF8\xBFC\xFA\x92\xEB/-{\x1C\x0B\x00_ \xF0\x0C\x98M\xC5\x1E1g\xA5\xC7\x8C]]\xA2\x9D\xD8\xD0\xC9\xC3"\xE0j\xB9\xD4)h^\x1A\x9F\xBF0\xC3\xDB\xCB\xDAYi3~\xCE\xCB\x94\xFC\x93#<\x80c\x8E87\x9DJ\x07d\x92\x010p)\xD5\xB1\x8D\xF9\xC7\x8C7\xEC\x01\x9C\x82\x84\x18\xDA\xD9_Kj(\x96\xCA\xFD)\xA7O\xFC\x07\x00\xC3)\x874\xE0\xD4\x04\xB9%\xDC\xBE\xE9\xBD\xC7\xEC\x03\x815SU\xE5\x96CXO{h\x1B\x01\x81\x88N\xCBC\x14\xFA\x19\x99\xE7Uo^7\xC1I\xB5\xE5m\x0C,:Y\xB9\xF2\xE1O2\xAC5\x13\x94?f|\xE5U\x1A\xE9\xF4K\xE0\x9C\xB38RYH�\xB98D^Ah\xC5\xE8\x8C\xE2>\x85\xCE\xA5\xD5uW}\xD6\xB0\xD6\xE9E\xF2\xAE\xF7~\x17\xC1\xB8T1\x8AQ\xC7i<\x12\x9C\xFC\x827\xD9Ds\xCB\xC8\x9CU\xB7\xFF\xD2LU\x81\x15\x18\x15/\xA0W\xC4\x0D\xEF\xC7\xE4\xBB\x02\x10\xFE\xD4\xACH\x07\x8B\x15\xC2\x1B6)\xE2\xC2aP\x8D\x06\x01\x02
00:20:55.863 -> >>> homekit_client_process: [Client 55] Finished processing
00:21:03.555 -> >>> homekit_client_process: [Client 55] Got 577 incomming data
00:21:03.555 -> >>> homekit_server_on_pair_setup: Pair Setup
00:21:03.555 -> >>> homekit_server_on_pair_setup: Free heap: 209384
00:21:03.593 -> >>> tlv_debug: Got following TLV values:
00:21:03.593 -> >>> tlv_debug: Type 6 value (1 bytes): \x03
00:21:03.593 -> >>> tlv_debug: Type 3 value (384 bytes): \x02\xA2\xEC\x89\xBA>QZbJ\x16\xF4 \x82\xE4\x07\xD7i\x9AN\xB1\x9B\x9CO\x9EL\xB0bq\x97\xD7\xD0\xF1m\xD3\xC2*\x18K\x0DQ\xFFD\xDE,\xE2\xFC\xD8\xF1vj\xCB\xA8!\xCC\xC9\xAC\xB6\"\x104\xFF\xAA\xFC\x93\x0B\x87{\x15\x88\xF7\xAEY\x1B\xBC\x05\xF2\xF1\xFD!yiw~q\xEFV\xA7'\xA9f\xDE6u\x01\xA4\xA0\xE1\xEA\x07\x91$\x1B\x91\xB2\xEDP\x90sQ:\xEDg\x81\xFB\xE2\x9B\x17\xAEkTuW\x11LPGYC\xBF\xD8\x1D>\xFD\x1E\x91\xBALL\x8C\x8AS]\xFB7sX^\xF0<-\xF4~\xEC\x12P\xDB\xA6\x1DL\x09\xF8t\xFC\xBA_\xF8\xEEw\xEF?\xEA\xFA\xDC\xE1\x1B\x1D0\xE2a\xB8\xF6Y\xD7\xDE\xE6p+=\xC3\x9E\xED\x18\xCD\xD1E\x86\xC2\xDE\xC4\xF0%\xFE\xD2\x1F\x09\x91F\x80\xD1\x1D\x0B\x1E\x8E\xD3\xA9{\xFF\xF5\x85\x03y\xC9\xC1\xAB\xE4\xC9-'I@\xEE>XA\xFE\xE0\xC8Q\xB2\xA6\x84\x9B\xC2\xE3\xF8\x8C\x99j\xF8J\\xD2\xBA;\x16\xFC\xC4\x03\x18W>p\x16EE\xDFi\xDD\x17\x97\x16\xE7\xA5\x1A\x12}\x01\x9F\x99V\xB8<\xE7\xEF\xAD\xC5\xB1\xBE{M\xF5Y\x0A\x95\xFE\xD1\xC8\x097n\x02\x00a/\x87\x80m\xA5\xE07\xA1\xE3i[\x1A\x00~\xE9@sF\xA0\xB0\xFE%\x8E\xDC\xC0E:\x95\\\x18\xC0EP\x07\x19\xCF\xFA-|\x94 p\x09\x93\xEA\xCF\xE0\x9C\xD5\xC2s\x10e^\x93\x0F&W\x0D\xF2g\xC2\x0B#!\xB3\xA7\xBDRHy\x859\x19\x92\xF7 00:21:03.699 -> >>> tlv_debug: Type 4 value (64 bytes): \x0E\x00\xF1\xBF\x16\xCF\xA9I\x87JA\xF3\xA9;\x06\xCC\x18eK>\x91\xD2\xA9\xAA\xCD\x13q\xEB O\xE7\x92\\_f\xB5p\x0AMO\xBD\x17\xDE4\x18mfG\xF4aT>p\xB0\x00\x01+\xB3\xA7\x0B<\x06\xEC\xA7 00:21:03.699 -> >>> HomeKit: [Client 55] Pair Setup Step 2/3 00:21:03.699 -> >>> homekit_server_on_pair_setup: Free heap: 208864 00:21:03.699 -> >>> homekit_server_on_pair_setup: [Client 55] Computing SRP shared secret 00:21:03.733 -> >>> homekit_server_on_pair_setup: Free heap: 208864 00:21:07.458 -> >>> homekit_server_on_pair_setup: [Client 55] Verifying peer's proof 00:21:07.492 -> >>> homekit_server_on_pair_setup: Free heap: 209176 00:21:07.492 -> >>> homekit_server_on_pair_setup: [Client 55] Generating own proof 00:21:07.492 -> >>> send_tlv_response: [Client 55] Sending TLV response 00:21:07.492 -> >>> tlv_debug: Got following TLV values: 00:21:07.492 -> >>> tlv_debug: Type 6 value (1 bytes): \x04 00:21:07.492 -> >>> tlv_debug: Type 4 value (64 bytes): \x9B\xB5\xC2\xA7\x03\x05\xCEi\xBCY0\xBA']\xFF\xACz+\xB6\xFDNAS/\x03\x9F\\\xAEp\xB3S\xB7\xA3-\xD6\xF4\x95u#\xABa/yH\x05\x1Cb\xD5\xAA\x90\xB3\xD7!m\xA8�e\x05\x87P\xD4\xA0X\xCD 00:21:07.531 -> >>> client_send: [Client 55] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 69\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x04\x04@\x9B\xB5\xC2\xA7\x03\x05\xCEi\xBCY0\xBA']\xFF\xACz+\xB6\xFDNAS/\x03\x9F\\\xAEp\xB3S\xB7\xA3-\xD6\xF4\x95u#\xABa/yH\x05\x1Cb\xD5\xAA\x90\xB3\xD7!m\xA8�e\x05\x87P\xD4\xA0X\xCD 00:21:07.567 -> >>> homekit_client_process: [Client 55] Finished processing 00:21:07.875 -> >>> homekit_client_process: [Client 55] Got 279 incomming data 00:21:07.875 -> >>> homekit_server_on_pair_setup: Pair Setup 00:21:07.875 -> >>> homekit_server_on_pair_setup: Free heap: 209996 00:21:07.875 -> >>> tlv_debug: Got following TLV values: 00:21:07.875 -> >>> tlv_debug: Type 5 value (154 bytes): \x94I5\xD2\xEA Q\xBD\x0C\xEB\xE5m@\x82\xA3\xC6N\xA8\xA0A~}\x0E"\xCDL\x9A\x85\x06\xB8\x19\x0F\xB7\x0FMu\xDDd\x911\xB2C\xFD\x9F\x1A\x8F\xBFU\xA3\x8D\xB3\x8F3b\xB2\x03L\xDD.\x04\x8Ej\xC0/;\x97[(\xA6\xAEI\x09V\xC0F\x89w=m\xBF\xBB\x8A\xD4,\xF4 G\xFC+\xC8\x81\xDE\x99\xB5\x15\xB4,;25f:'6\xB4Qs\x1D\xA0\x85\x915}r\xB4Gi88%\xAE\xF5x\x96OK\xAD\xD61\x06\x06\xE2\x97\xA5\xFC\x9D26\xE4\xE6\xCE;\xBE\x08\xF1\x89\x02�.\x9F\x0Bp\xD4
00:21:07.909 -> >>> tlv_debug: Type 6 value (1 bytes): \x05
00:21:07.909 -> >>> HomeKit: [Client 55] Pair Setup Step 3/3
00:21:07.944 -> >>> homekit_server_on_pair_setup: Free heap: 209788
00:21:07.944 -> >>> homekit_server_on_pair_setup: [Client 55] Calculating shared secret
00:21:07.944 -> >>> homekit_server_on_pair_setup: [Client 55] Decrypting payload
00:21:07.944 -> >>> homekit_server_on_pair_setup: [Client 55] Importing device public key
00:21:07.944 -> >>> homekit_server_on_pair_setup: [Client 55] Calculating DeviceX
00:21:07.944 -> >>> homekit_server_on_pair_setup: [Client 55] Verifying device signature
00:21:09.304 -> !!! HomeKit: Failed to compact HomeKit storage: sector data read error
00:21:09.338 -> !!! HomeKit: Failed to write pairing info to HomeKit storage: max number of pairings
00:21:09.338 -> !!! HomeKit: [Client 55] Failed to store pairing (code -2)
00:21:09.338 -> >>> send_tlv_response: [Client 55] Sending TLV response
00:21:09.338 -> >>> tlv_debug: Got following TLV values:
00:21:09.338 -> >>> tlv_debug: Type 6 value (1 bytes): \x06
00:21:09.338 -> >>> tlv_debug: Type 7 value (1 bytes): \x01
00:21:09.373 -> >>> client_send: [Client 55] Sending payload: HTTP/1.1 200 OK\x0D\x0AContent-Type: application/pairing+tlv8\x0D\x0AContent-Length: 6\x0D\x0AConnection: keep-alive\x0D\x0A\x0D\x0A\x06\x01\x06\x07\x01\x01
00:21:09.373 -> >>> homekit_client_process: [Client 55] Finished processing
00:21:09.406 -> >>> HomeKit: [Client 55] Closing client connection

@choosegit
Copy link

The SPI Flash Size is not correct
[0;32mI (48) boot.esp32: SPI Flash Size : 2MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants