Code Monkey home page Code Monkey logo

esp-idf-matter's People

Contributors

ivmarkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

oddlama

esp-idf-matter's Issues

Homekit controller denies subscription reports with an "Invalid Subscription" error

Noticed with @ivmarkov during the investigation of #2 that the Apple Home app was not reporting the toggling of the lightbulb state from the example

A sample of the log lines around the warning Got status response InvalidSubscription, aborting interaction

>>>>> UDP [fe80::10c7:e96a:b4fd:87e9%2]:62537 [SID:7,CTR:11e8e25][I|A,EID:8384,PROTO:0,OP:10,ACTR:ec857f5]
SC::MRPStandAloneAck
 => Standalone Ack, dropping
I (213625) rs_matter::data_model::core: Subscription 51e606df::3 created
I (213635) rs_matter::respond: Responder: Handler 0 / exchange 15::0: Completed
I (217775) light: Light toggled
I (217775) rs_matter::data_model::core: About to report data for subscription 51e606df::3
I (217775) rs_matter::transport::session: New exchange: 3::0 [SID:1,RSID:8dad,EID:3] :: Initiator(Owned)
I (217785) rs_matter::transport::core: Exchange 3::0 [SID:1,RSID:8dad,EID:3]: Initiated
I (217815) rs_matter::transport::exchange:
<<<<< UDP [fe80::c28:c959:bc1c:ecbe%2]:60672 [SID:8dad,CTR:b53a79][I|R,EID:3,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (217875) rs_matter::transport::core:
>>>>> UDP [fe80::c28:c959:bc1c:ecbe%2]:60672 [SID:1,CTR:523100][A|R,EID:3,PROTO:1,OP:1,ACTR:b53a79]
IM::StatusResponse
 => Processing
W (217885) rs_matter::data_model::core: Got status response InvalidSubscription, aborting interaction
I (217895) rs_matter::transport::exchange:
<<<<< UDP [fe80::c28:c959:bc1c:ecbe%2]:60672 [SID:8dad,CTR:b53a7a][I|A,EID:3,PROTO:0,OP:10,ACTR:523100]
SC::MRPStandAloneAck
 => Sending
I (217915) rs_matter::data_model::core: Subscription 51e606df::3 removed during reporting
I (222775) light: Light toggled
I (227785) light: Light toggled

Unable to pair `light` example with HomeKit / HomePod Mini

Description

First of all, that's really awesome work, thank you so much for all your efforts to bring Rust and Matter to embedded devices. This is really exiting for hobby / smart home devices

I got really excited when I was able to "pair" the https://github.com/project-chip/rs-matter onoff_light example with my HomePod / HomeKit.

However I was not able to reproduce that success with the esp-idf-matter light example. It fails about midway during the setup process and reports in the console the following error

rs_matter::data_model::objects::encoder: Error invoking command: CmdStatus { path: CmdPath { path: GenericPath { endpoint: Some(0), cluster: Some(49), leaf: Some(2) } }, status: Status { status: UnsupportedCommand, cluster_status: 0 } }`

I am a beginner with Matter but the way I understand the error message is that it points towards the (Root Node 0) Network Commissioning endpoint (49) Thread (2) is not implemented. Looking at the code I can't figure out with my HomePod tried to commission it as a Thread Device

I would be glad to help if you have some indications of where to start

Full log

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380622
0x40380622 - spiflash_start_default
    at /Users/ewen/Downloads/esp-idf-matter/.embuild/espressif/esp-idf/v5.1.2/components/spi_flash/esp_flash_api.c:192
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd5820,len:0x1714
load:0x403cc710,len:0x968
load:0x403ce710,len:0x2f9c
entry 0x403cc710
I (24) boot: ESP-IDF v5.1.2-342-gbcf1645e44 2nd stage bootloader
I (24) boot: compile time Dec 12 2023 10:50:58
I (25) boot: chip revision: v0.4
I (29) boot.esp32c3: SPI Speed      : 40MHz
I (34) boot.esp32c3: SPI Mode       : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (43) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (52) boot: ## Label            Usage          Type ST Offset   Length
I (59) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (67) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (74) boot:  2 factory          factory app      00 00 00010000 00300000
I (82) boot: End of partition table
I (86) esp_image: segment 0: paddr=00010020 vaddr=3c1c0020 size=7def8h (515832) map
I (209) esp_image: segment 1: paddr=0008df20 vaddr=3fc92e00 size=020f8h (  8440) load
I (211) esp_image: segment 2: paddr=00090020 vaddr=42000020 size=1b6444h (1795140) map
I (612) esp_image: segment 3: paddr=0024646c vaddr=3fc94ef8 size=0de4ch ( 56908) load
I (627) esp_image: segment 4: paddr=002542c0 vaddr=40380000 size=12c0ch ( 76812) load
I (655) boot: Loaded app from partition at offset 0x10000
I (655) boot: Disabling RNG early entropy source...
I (667) cpu_start: Unicore app
I (667) cpu_start: Pro cpu up.
I (676) cpu_start: Pro cpu start user code
I (676) cpu_start: cpu freq: 160000000 Hz
I (676) cpu_start: Application information:
I (679) cpu_start: Project name:     libespidf
I (684) cpu_start: App version:      347b5a5-dirty
I (689) cpu_start: Compile time:     May 27 2024 12:15:09
I (695) cpu_start: ELF file SHA256:  0000000000000000...
I (701) cpu_start: ESP-IDF:          v5.1.2
I (706) cpu_start: Min chip rev:     v0.3
I (711) cpu_start: Max chip rev:     v0.99
I (716) cpu_start: Chip rev:         v0.4
I (721) heap_init: Initializing. RAM available for dynamic allocation:
I (728) heap_init: At 3FCA7A10 len 000185F0 (97 KiB): DRAM
I (734) heap_init: At 3FCC0000 len 0001C710 (113 KiB): DRAM/RETENTION
I (741) heap_init: At 3FCDC710 len 00002950 (10 KiB): DRAM/RETENTION/STACK
I (749) heap_init: At 50000010 len 00001FD8 (7 KiB): RTCRAM
I (756) spi_flash: detected chip: generic
I (759) spi_flash: flash io: dio
W (764) timer_group: legacy driver is deprecated, please migrate to `driver/gptimer.h`
I (772) sleep: Configure to isolate all GPIO pins in sleep state
I (779) sleep: Enable automatic switching of GPIO sleep configuration
I (786) coexist: coex firmware version: b6d5e8c
I (791) coexist: coexist rom version 9387209
I (797) app_start: Starting scheduler on CPU0
I (801) main_task: Started on CPU0
I (801) main_task: Calling app_main()
I (811) light: Starting...
I (811) esp_idf_matter::stack: Async IO initialized; using `async-io-mini`
I (831) rs_matter_stack::wifible: Matter Stack memory: 52440B
I (831) esp_idf_svc::bt: Init bluetooth controller
I (831) BLE_INIT: BT controller compile version [59725b5]
I (841) BLE_INIT: Bluetooth MAC: dc:da:0c:88:be:92

I (841) esp_idf_svc::bt: Enable bluetooth controller
I (851) phy_init: phy_version 1130,b4e4b80,Sep  5 2023,11:09:30
W (851) phy_init: failed to load RF calibration data (0xffffffff), falling back to full calibration
I (901) esp_idf_svc::bt: Init bluedroid
I (911) esp_idf_svc::bt: Enable bluedroid
I (931) rs_matter_stack::wifible: BLE driver initialized
I (931) rs_matter_stack::wifible: Running Matter in commissioning mode (BLE)
I (931) esp_idf_matter::ble: BLE Gap and Gatts initialized
I (941) esp_idf_matter::ble: BLE Gap and Gatts subscriptions initialized
I (961) esp_idf_matter::ble: Gatts BTP app registered
I (961) rs_matter_stack: Responder memory: Responder=160B, Runner=10496B
I (961) rs_matter::respond: Responder: Creating 4 handlers
I (961) rs_matter::respond: Responder: Handlers size: 7976B
I (971) rs_matter::respond: Busy Responder: Creating 2 handlers
I (981) rs_matter::respond: Busy Responder: Handlers size: 648B
I (991) rs_matter::pairing::code: Pairing Code: 0087-6800-071
I (991) rs_matter::pairing::qr: QR Code Text: MT:Y.K90KQS02Z6Q66D33P084L90Z.I332SQ43I15T0
I (1051) rs_matter::pairing::qr: █████████████████████████████████████
I (1051) rs_matter::pairing::qr: █████████████████████████████████████
I (1061) rs_matter::pairing::qr: ████ ▄▄▄▄▄ █ ▄▄▄ ██▄ █ ▄ █ ▄▄▄▄▄ ████
I (1081) rs_matter::pairing::qr: ████ █   █ █▄▄▀▀▀██▄ ▄ █▄█ █   █ ████
I (1091) rs_matter::pairing::qr: ████ █▄▄▄█ █▄▀▀▀▄█▄  █▀▀ █ █▄▄▄█ ████
I (1101) rs_matter::pairing::qr: ████▄▄▄▄▄▄▄█▄█ █ ▀▄▀ █ ▀▄█▄▄▄▄▄▄▄████
I (1111) rs_matter::pairing::qr: ████ ██ ▄ ▄▄ ▀██▄ ██▀▀ ▄█▄▀▀ ▀▄  ████
I (1131) rs_matter::pairing::qr: ████▀  ▀ █▄▄█▄▀▄▄ █▄  ▀███▀▀ ▄ ▀ ████
I (1141) rs_matter::pairing::qr: ████ ▀▀▀▄▄▄█▀▀ ▄  ▀▄ ▀ █▀ ██ ▄▄▀▀████
I (1151) rs_matter::pairing::qr: ████ ▀█  ▄▄ ▀ ██▀▄█▀▄▀█▀▀▄▀▀ ▄█ █████
I (1171) rs_matter::pairing::qr: ████  ▀█▄▀▄▀▀▀▀█▄▀ █ ▄█▀█▄█▀▄█▀▀▄████
I (1181) rs_matter::pairing::qr: ████   █▀ ▄ ▀▀ █▄█▀▄█▄▄ ▀▄█  ▀█ ▀████
I (1191) rs_matter::pairing::qr: ████▄▄▄███▄█▀▀▀ █▄ ▄▄▀██ ▄▄▄ ▀█▀█████
I (1201) rs_matter::pairing::qr: ████ ▄▄▄▄▄ █ ▄ ▄ █ ▀█▄ ▀ █▄█ █▀  ████
I (1221) rs_matter::pairing::qr: ████ █   █ █ █ █▄▄▄█▄▀█▀ ▄▄ ▄█▄▀▄████
I (1231) rs_matter::pairing::qr: ████ █▄▄▄█ ██▀▀▄▀▄█▄ ▄▀▄▀▄  ▀██▄▄████
I (1241) rs_matter::pairing::qr: ████▄▄▄▄▄▄▄█▄██▄█▄█▄█▄▄▄▄▄█▄▄█▄▄█████
I (1261) rs_matter::pairing::qr: █████████████████████████████████████
I (1271) rs_matter::pairing::qr: █████████████████████████████████████
I (1291) rs_matter::transport::core: Running Matter transport
I (1291) rs_matter::transport::core: Waiting for orphaned RX packets
I (6301) light: Light toggled
I (11301) light: Light toggled
I (16311) light: Light toggled
I (21311) light: Light toggled
I (26311) light: Light toggled
I (31321) light: Light toggled
I (36321) light: Light toggled
I (39071) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [H|M|B|E,OP:6c]
HANDSHAKE REQ HandshakeReq { versions: 4, mtu: 517, window_size: 6 }
Selected version: 4, MTU: 244, window size: 6
I (39251) rs_matter::transport::network::btp::context: Subscribe request from 50:BD:D5:BC:44:E5
I (39261) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [H|M|B|E,OP:6c]
HANDSHAKE RESP HandshakeResp { version: 4, mtu: 244, window_size: 6 }
I (39311) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:0,CTR:0,LEN:62]
READ 98B
I (39321) rs_matter::transport::session: Creating a new exchange: f014/Responder(AcceptPending)
I (39321) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [S,SID:0,CTR:e974bab,SRC:547e5ec386d33dab][I,EID:f014,PROTO:0,OP:20]
SC::PBKDFParamRequest
 => Processing (new exchange)
I (39341) rs_matter::transport::core: Exchange 0::0: Accepted
I (39351) rs_matter::respond: Responder: Handler 0 / exchange 0::0: Starting
I (39361) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [U,SID:0,CTR:34ca251,DST:547e5ec386d33dab][EID:f014,PROTO:0,OP:21]
SC::PBKDFParamResponse
 => Sending
I (39371) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:0,CTR:1,LEN:8b]
WRITE 139B
I (39461) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:1,CTR:1,LEN:5c]
READ 92B
I (39471) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [S,SID:0,CTR:e974bac,SRC:547e5ec386d33dab][I,EID:f014,PROTO:0,OP:22]
SC::PASEPake1
 => Processing
I (41701) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [U,SID:0,CTR:34ca252,DST:547e5ec386d33dab][EID:f014,PROTO:0,OP:23]
SC::PASEPake2
 => Sending
I (41711) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:1,CTR:2,LEN:7f]
WRITE 127B
I (41721) light: Light toggled
I (41801) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:2,CTR:2,LEN:3b]
READ 59B
I (41811) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [S,SID:0,CTR:e974bad,SRC:547e5ec386d33dab][I,EID:f014,PROTO:0,OP:24]
SC::PASEPake3
 => Processing
I (41831) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [U,SID:0,CTR:34ca253,DST:547e5ec386d33dab][EID:f014,PROTO:0,OP:40]
SC::StatusReport
 => Sending
I (41841) rs_matter::respond: Responder: Handler 0 / exchange 0::0: Completed
I (41851) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:2,CTR:3,LEN:1e]
WRITE 30B
I (41921) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:3,CTR:3,LEN:33]
READ 51B
I (41931) rs_matter::transport::session: Creating a new exchange: f015/Responder(AcceptPending)
I (41941) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfab][I,EID:f015,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (41951) rs_matter::transport::core: Exchange 1::0: Accepted
I (41951) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (41971) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de1][EID:f015,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (41981) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (41991) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:3,CTR:4,LEN:41]
WRITE 65B
I (42041) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:4,CTR:4,LEN:33]
READ 51B
I (42051) rs_matter::transport::session: Creating a new exchange: f016/Responder(AcceptPending)
I (42051) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfac][I,EID:f016,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (42071) rs_matter::transport::core: Exchange 1::1: Accepted
I (42071) rs_matter::respond: Responder: Handler 0 / exchange 1::1: Starting
I (42091) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de2][EID:f016,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (42101) rs_matter::respond: Responder: Handler 0 / exchange 1::1: Completed
I (42111) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:4,CTR:5,LEN:53]
WRITE 83B
I (42161) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:5,CTR:5,LEN:34]
READ 52B
I (42171) rs_matter::transport::session: Creating a new exchange: f017/Responder(AcceptPending)
I (42181) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfad][I,EID:f017,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (42191) rs_matter::transport::core: Exchange 1::2: Accepted
I (42191) rs_matter::respond: Responder: Handler 0 / exchange 1::2: Starting
I (42211) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de3][EID:f017,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (42221) rs_matter::respond: Responder: Handler 0 / exchange 1::2: Completed
I (42231) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:5,CTR:6,LEN:40]
WRITE 64B
I (42311) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:6,CTR:6,LEN:33]
READ 51B
I (42321) rs_matter::transport::session: Creating a new exchange: f018/Responder(AcceptPending)
I (42321) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfae][I,EID:f018,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (42341) rs_matter::transport::core: Exchange 1::3: Accepted
I (42341) rs_matter::respond: Responder: Handler 0 / exchange 1::3: Starting
I (42361) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de4][EID:f018,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (42371) rs_matter::respond: Responder: Handler 0 / exchange 1::3: Completed
I (42381) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:6,CTR:7,LEN:3f]
WRITE 63B
I (42431) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:7,CTR:7,LEN:34]
READ 52B
I (42441) rs_matter::transport::session: Creating a new exchange: f019/Responder(AcceptPending)
I (42451) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfaf][I,EID:f019,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (42461) rs_matter::transport::core: Exchange 1::4: Accepted
I (42461) rs_matter::respond: Responder: Handler 0 / exchange 1::4: Starting
I (42481) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de5][EID:f019,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (42491) rs_matter::respond: Responder: Handler 0 / exchange 1::4: Completed
I (42501) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:7,CTR:8,LEN:40]
WRITE 64B
I (42551) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:8,CTR:8,LEN:83]
READ 131B
I (42571) rs_matter::transport::session: Creating a new exchange: f01a/Responder(AcceptPending)
I (42571) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb0][I,EID:f01a,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (42581) rs_matter::transport::core: Exchange 1::0: Accepted
I (42591) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (42601) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de6][EID:f01a,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (42621) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (42621) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:8,CTR:9,LEN:fe]
WRITE 239B
I (42631) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:a]
WRITE 15B
I (42791) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:a,CTR:9,LEN:6a]
READ 106B
I (42811) rs_matter::transport::session: Creating a new exchange: f01b/Responder(AcceptPending)
I (42811) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb1][I,EID:f01b,PROTO:1,OP:2]
IM::ReadRequest
 => Processing (new exchange)
I (42821) rs_matter::transport::core: Exchange 1::0: Accepted
I (42831) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (42841) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de7][EID:f01b,PROTO:1,OP:5]
IM::ReportData
 => Sending
I (42861) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (42861) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:9,CTR:b,LEN:c0]
WRITE 192B
I (42911) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:b,CTR:a,LEN:41]
READ 65B
I (42921) rs_matter::transport::session: Creating a new exchange: f01c/Responder(AcceptPending)
I (42931) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb2][I,EID:f01c,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (42941) rs_matter::transport::core: Exchange 1::0: Accepted
I (42941) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (42961) rs_matter::data_model::sdm::general_commissioning: Handling command ARM Fail Safe
I (42971) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de8][EID:f01c,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (42981) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (42991) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:a,CTR:c,LEN:3f]
WRITE 63B
I (43061) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:c,CTR:b,LEN:46]
READ 70B
I (43071) rs_matter::transport::session: Creating a new exchange: f01d/Responder(AcceptPending)
I (43081) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb3][I,EID:f01d,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (43091) rs_matter::transport::core: Exchange 1::0: Accepted
I (43091) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (43111) rs_matter::data_model::sdm::general_commissioning: Handling command Set Regulatory Config
I (43111) rs_matter::data_model::sdm::general_commissioning: Received country code: [78, 76]
I (43131) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2de9][EID:f01d,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (43141) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (43151) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:b,CTR:d,LEN:3f]
WRITE 63B
I (43211) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:d,CTR:c,LEN:3e]
READ 62B
I (43221) rs_matter::transport::session: Creating a new exchange: f01e/Responder(AcceptPending)
I (43231) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb4][I,EID:f01e,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (43241) rs_matter::transport::core: Exchange 1::0: Accepted
I (43241) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (43261) rs_matter::data_model::sdm::noc: Handling command CertChainRequest
I (43261) rs_matter::data_model::sdm::noc: Received data: 1: {
I (43271) rs_matter::data_model::sdm::noc: Received Cert Type:2
I (43281) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2dea][EID:f01e,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (43301) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (43311) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:c,CTR:e,LEN:20c]
WRITE 239B
I (43311) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C,CTR:f]
WRITE 242B
I (43331) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:10]
WRITE 43B
I (43511) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:10,CTR:d,LEN:3e]
READ 62B
I (43521) rs_matter::transport::session: Creating a new exchange: f01f/Responder(AcceptPending)
I (43531) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb5][I,EID:f01f,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (43541) rs_matter::transport::core: Exchange 1::0: Accepted
I (43541) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (43561) rs_matter::data_model::sdm::noc: Handling command CertChainRequest
I (43561) rs_matter::data_model::sdm::noc: Received data: 1: {
I (43571) rs_matter::data_model::sdm::noc: Received Cert Type:1
I (43581) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2deb][EID:f01f,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (43601) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (43611) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:d,CTR:11,LEN:229]
WRITE 239B
I (43621) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C,CTR:12]
WRITE 242B
I (43631) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:13]
WRITE 72B
I (43841) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:13,CTR:e,LEN:5e]
READ 94B
I (43851) rs_matter::transport::session: Creating a new exchange: f020/Responder(AcceptPending)
I (43861) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb6][I,EID:f020,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (43871) rs_matter::transport::core: Exchange 1::0: Accepted
I (43881) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (43891) rs_matter::data_model::sdm::noc: Handling command AttestationRequest
I (43891) rs_matter::data_model::sdm::noc: Received Attestation Nonce:OctetStr([54, 3, 188, 77, 9, 113, 93, 155, 19, 213, 193, 55, 13, 107, 210, 192, 201, 106, 173, 9, 11, 33, 161, 70, 92, 155, 60, 113, 224, 197, 148, 190])
I (44281) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2dec][EID:f020,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (44301) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (44311) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:e,CTR:14,LEN:2c9]
WRITE 239B
I (44311) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C,CTR:15]
WRITE 242B
I (44331) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:16]
WRITE 232B
I (46241) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:16,CTR:f,LEN:5e]
READ 94B
I (46251) rs_matter::transport::session: Creating a new exchange: f021/Responder(AcceptPending)
I (46251) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb7][I,EID:f021,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (46271) rs_matter::transport::core: Exchange 1::0: Accepted
I (46271) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (46291) rs_matter::data_model::sdm::noc: Handling command CSRRequest
I (46291) rs_matter::data_model::sdm::noc: Received CSR Nonce:OctetStr([84, 168, 250, 183, 99, 114, 173, 195, 103, 15, 246, 18, 107, 124, 37, 135, 15, 47, 180, 86, 192, 145, 55, 147, 114, 112, 51, 96, 113, 184, 236, 238])
I (47051) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2ded][EID:f021,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (47071) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (47071) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:f,CTR:17,LEN:171]
WRITE 239B
I (47081) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:18]
WRITE 130B
I (47091) light: Light toggled
I (47201) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:18,CTR:10,LEN:134]
READ 239B
I (47261) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:11]
READ 69B
I (47281) rs_matter::transport::session: Creating a new exchange: f022/Responder(AcceptPending)
I (47281) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb8][I,EID:f022,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (47301) rs_matter::transport::core: Exchange 1::0: Accepted
I (47301) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (47311) rs_matter::data_model::sdm::noc: Handling command AddTrustedRootCert
I (47321) rs_matter::data_model::sdm::noc: Received Trusted Cert:OctetStr([15, 30, 1, 1, 0, 24, 2, 1, 37, 3, 26, 14, 34, 4, f8, 4, 26, 15, f7, c0, a6, be, 18, 26, 4, 83, 1f, 53, 2c, 24, 5, 0, 37, 6, 26, 14, 34, 4, f8, 4, 26, 15, f7, c0, a6, be, 18, 24, 7, 1, 24, 8, 1, 30, 9, 41, 4, 59, 1b, 81, 31, 2, 6f, ef, c5, 71, 1a, f, a5, 94, b8, f1, b, 64, 15, d2, 5e, 22, 24, 4, 94, b8, 86, 5a, 8e, db, e8, 2b, 25, e0, 7d, 2c, a1, f6, 6b, 7d, bb, e8, 7, ca, dc, e0, d0, bb, 14, 10, 3d, 6c, c0, d9, 4a, 71, 77, da, 1e, 95, 97, c0, 94, 2d, 64, 37, a, 35, 1, 29, 1, 18, 24, 2, 60, 30, 4, 14, 65, 75, 90, c7, 9b, 47, f5, 43, 80, c9, d3, 14, 4f, 1, 9, be, 80, cf, e9, 41, 30, 5, 14, 65, 75, 90, c7, 9b, 47, f5, 43, 80, c9, d3, 14, 4f, 1, 9, be, 80, cf, e9, 41, 18, 30, b, 40, d8, e7, 2d, ff, 72, 36, aa, 6b, 86, 2c, 8a, b0, c6, 40, 57, f3, 97, f5, 64, f0, 5b, 12, bc, 42, 4b, 75, fe, 17, a5, 3, 5, 24, 9c, a1, 73, 84, 65, 9f, b6, 5c, db, e, 18, d4, 71, fa, 9a, f8, c6, 9b, 3f, f, 2f, ef, 5, d8, bd, 24, ad, c8, 5d, ac, 3f, b9, 18])
I (47411) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2dee][EID:f022,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (47431) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (47431) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:11,CTR:19,LEN:3f]
WRITE 63B
I (47501) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B,ACTR:19,CTR:12,LEN:15b]
READ 239B
I (47561) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [C|E,CTR:13]
READ 108B
I (47581) rs_matter::transport::session: Creating a new exchange: f023/Responder(AcceptPending)
I (47581) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfb9][I,EID:f023,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (47601) rs_matter::transport::core: Exchange 1::0: Accepted
I (47601) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
I (47611) rs_matter::data_model::sdm::noc: Handling command AddNOC
I (47621) rs_matter::data_model::sdm::noc: Received NOC as:  Version: [0]
      [2]
 Serial Num: [1]
 Signature Algorithm:
     ECDSA with SHA256
 Issuer:
             Chip Root CA Id:
              "0000000004F80434"
             Chip Fabric Id:
              "00000000BEA6C0F7"
 Validity:
     Not Before: 2024-05-31 20:15:57.0 +00:00:00
     Not After: 9999-12-31 23:59:59.0 +00:00:00
 Subject:
             Chip Fabric Id:
              "00000000BEA6C0F7"
             Chip Node Id:
              "000000004AA23048"
     Public Key Algorithm
         ECPubKey
         Prime256v1
     Public-Key: [4, 8a, e5, a6, 72, 63, bf, 23, de, 65, 17, c1, 4b, 22, f7, 26, b6, bd, b7, 81, 54, 75, 54, fd, 98, 5, 4f, c2, 8a, cc, e7, f5, 60, b8, d4, b3, bc, 99, 32, 23, bb, db, 83, 80, c6, 15, c7, b, a1, 6e, 82, 98, d, ae, 35, ad, 9c, e4, 9f, fd, fe, 8b, 8d, 97, 7]
 X509v3 extensions: [3]
         X509v3 Basic Constraints
             critical: true
             value:
         X509v3 Key Usage
             critical: true
             value:
                 digitalSignature  [80, 0]
         X509v3 Extended Key Usage
             critical: true
             value:
                     ClientAuth
                     ServerAuth
         Subject Key ID
             value:
                  [23, 2e, a0, 73, 34, 7e, d5, 80, b6, d6, 80, 85, 51, 15, 66, 10, 79, 10, d8, d5]
         Auth Key ID
             value:
                     [0][65, 75, 90, c7, 9b, 47, f5, 43, 80, c9, d3, 14, 4f, 1, 9, be, 80, cf, e9, 41]
Signature: [9c, fc, 5c, 6f, 86, d7, 18, 23, 91, 8, b, 74, 24, e8, 72, 82, 40, bf, 2c, 8e, b9, 88, fd, 7c, 20, ca, 37, 74, 5, 45, 80, b0, 40, 12, c6, 96, 38, b8, 6c, ca, af, bf, 99, 8c, a2, 2b, 5a, ca, f2, 49, 94, bd, cd, 41, ba, 73, 11, 36, ac, d6, 97, 7e, b4, 49]

I (47781) rs_matter::fabric: MDNS Service Name: 1BB7D1A63D26A524-000000004AA23048
I (47791) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2def][EID:f023,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (47801) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (47811) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:13,CTR:1a,LEN:42]
WRITE 66B
I (47861) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:1a,CTR:14,LEN:5b]
READ 91B
I (47871) rs_matter::transport::session: Creating a new exchange: f024/Responder(AcceptPending)
I (47881) rs_matter::transport::core:
>>>>> BTP 50:BD:D5:BC:44:E5 [SID:1,CTR:3b5dfba][I,EID:f024,PROTO:1,OP:8]
IM::InvokeRequest
 => Processing (new exchange)
I (47891) rs_matter::transport::core: Exchange 1::0: Accepted
I (47901) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Starting
E (47911) rs_matter::data_model::objects::encoder: Error invoking command: CmdStatus { path: CmdPath { path: GenericPath { endpoint: Some(0), cluster: Some(49), leaf: Some(2) } }, status: Status { status: UnsupportedCommand, cluster_status: 0 } }
I (47931) rs_matter::transport::exchange:
<<<<< BTP 50:BD:D5:BC:44:E5 [SID:eaaf,CTR:d6a2df0][EID:f024,PROTO:1,OP:9]
IM::InvokeResponse
 => Sending
I (47951) rs_matter::respond: Responder: Handler 0 / exchange 1::0: Completed
I (47951) rs_matter::transport::network::btp::session:
<<<<< (BTP IO) 50:BD:D5:BC:44:E5 [A|B|E,ACTR:14,CTR:1b,LEN:3f]
WRITE 63B
I (50501) rs_matter::transport::network::btp::session:
>>>>> (BTP IO) 50:BD:D5:BC:44:E5 [A,ACTR:1b,CTR:15]
READ 0B
I (52101) light: Light toggled
I (57101) light: Light toggled
I (62101) light: Light toggled
I (65501) rs_matter::transport::network::btp::context: Unsubscribe request from 50:BD:D5:BC:44:E5
I (65501) rs_matter::transport::network::btp::context: Session 50:BD:D5:BC:44:E5 removed
W (65561) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x13
I (65561) rs_matter::transport::network::btp::context: Unsubscribe request from 50:BD:D5:BC:44:E5

Missing BT related fields when trying to compile against riscv32imac-esp-espidf (esp32c6)

Transfer of esp-rs/esp-idf-svc#442; Summary:

When I'm trying to compile this for the esp32c6 using riscv32imc-esp-espidf, I run into the following issue:

   Compiling esp-idf-svc v0.49.0
error[E0425]: cannot find value `ESP_BT_CTRL_CONFIG_MAGIC_VAL` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:497:32
    |
497 |             magic: crate::sys::ESP_BT_CTRL_CONFIG_MAGIC_VAL,
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

It happens on esp-idf v5.2 and v5.2.2. EDIT: As we found out later it seems to be related to the architecture.

Full cargo build error
   Compiling esp-idf-svc v0.49.0
error[E0425]: cannot find value `ESP_BT_CTRL_CONFIG_MAGIC_VAL` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:497:32
    |
497 |             magic: crate::sys::ESP_BT_CTRL_CONFIG_MAGIC_VAL,
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `ESP_BT_CTRL_CONFIG_VERSION` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:498:34
    |
498 |             version: crate::sys::ESP_BT_CTRL_CONFIG_VERSION,
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_PINNED_TO_CORE` in module `crate::sys`
    --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:501:50
     |
501  |             controller_task_run_cpu: crate::sys::CONFIG_BT_CTRL_PINNED_TO_CORE as _,
     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `CONFIG_BLUEDROID_PINNED_TO_CORE`
     |
    ::: /home/nixuser/projects/embedded/esp-idf-matter/target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-c8d14348dff4d490/out/bindings.rs:1167:1
     |
1167 | pub const CONFIG_BLUEDROID_PINNED_TO_CORE: u32 = 0;
     | ---------------------------------------------- similarly named constant `CONFIG_BLUEDROID_PINNED_TO_CORE` defined here

error[E0425]: cannot find value `CONFIG_BT_CTRL_MODE_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:502:41
    |
502 |             bluetooth_mode: crate::sys::CONFIG_BT_CTRL_MODE_EFF as _,
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_BLE_MAX_ACT_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:503:38
    |
503 |             ble_max_act: crate::sys::CONFIG_BT_CTRL_BLE_MAX_ACT_EFF as _,
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_SLEEP_MODE_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:504:37
    |
504 |             sleep_mode: crate::sys::CONFIG_BT_CTRL_SLEEP_MODE_EFF as _,
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_SLEEP_CLOCK_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:505:38
    |
505 |             sleep_clock: crate::sys::CONFIG_BT_CTRL_SLEEP_CLOCK_EFF as _,
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:506:47
    |
506 |             ble_st_acl_tx_buf_nb: crate::sys::CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB as _,
    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_HW_CCA_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:507:43
    |
507 |             ble_hw_cca_check: crate::sys::CONFIG_BT_CTRL_HW_CCA_EFF as _,
    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_ADV_DUP_FILT_MAX` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:508:47
    |
508 |             ble_adv_dup_filt_max: crate::sys::CONFIG_BT_CTRL_ADV_DUP_FILT_MAX as _,
    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:509:38
    |
509 |             ce_len_type: crate::sys::CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF as _,
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_HCI_TL_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:510:38
    |
510 |             hci_tl_type: crate::sys::CONFIG_BT_CTRL_HCI_TL_EFF as _,
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:512:36
    |
512 |             txant_dft: crate::sys::CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF as _,
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:513:36
    |
513 |             rxant_dft: crate::sys::CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF as _,
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:514:36
    |
514 |             txpwr_dft: crate::sys::CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF as _,
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CFG_MASK` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:515:35
    |
515 |             cfg_mask: crate::sys::CFG_MASK,
    |                                   ^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `SCAN_DUPLICATE_MODE` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:516:46
    |
516 |             scan_duplicate_mode: crate::sys::SCAN_DUPLICATE_MODE as _,
    |                                              ^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `SCAN_DUPLICATE_TYPE_VALUE` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:517:46
    |
517 |             scan_duplicate_type: crate::sys::SCAN_DUPLICATE_TYPE_VALUE as _,
    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `NORMAL_SCAN_DUPLICATE_CACHE_SIZE` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:518:42
    |
518 |             normal_adv_size: crate::sys::NORMAL_SCAN_DUPLICATE_CACHE_SIZE as _,
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `MESH_DUPLICATE_SCAN_CACHE_SIZE` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:519:40
    |
519 |             mesh_adv_size: crate::sys::MESH_DUPLICATE_SCAN_CACHE_SIZE as _,
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EFF` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:521:29
    |
521 |                 crate::sys::CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EFF as _,
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF`
    |
   ::: /home/nixuser/projects/embedded/esp-idf-matter/target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-c8d14348dff4d490/out/bindings.rs:754:1
    |
754 | pub const CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF: u32 = 0;
    | --------------------------------------------------------- similarly named constant `CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF` defined here

error[E0425]: cannot find value `BLE_HW_TARGET_CODE_CHIP_ECO0` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:522:41
    |
522 |             hw_target_code: crate::sys::BLE_HW_TARGET_CODE_CHIP_ECO0 as _,
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `SLAVE_CE_LEN_MIN_DEFAULT` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:523:43
    |
523 |             slave_ce_len_min: crate::sys::SLAVE_CE_LEN_MIN_DEFAULT as _,
    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `AGC_RECORRECT_EN` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:524:42
    |
524 |             hw_recorrect_en: crate::sys::AGC_RECORRECT_EN as _,
    |                                          ^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `CONFIG_BT_CTRL_HW_CCA_VAL` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:525:37
    |
525 |             cca_thresh: crate::sys::CONFIG_BT_CTRL_HW_CCA_VAL as _,
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `BT_CTRL_50_FEATURE_SUPPORT` in module `crate::sys`
    --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:528:43
     |
528  |             ble_50_feat_supp: crate::sys::BT_CTRL_50_FEATURE_SUPPORT != 0,
     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXT_CSD_SEC_FEATURE_SUPPORT`
     |
    ::: /home/nixuser/projects/embedded/esp-idf-matter/target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-c8d14348dff4d490/out/bindings.rs:4935:1
     |
4935 | pub const EXT_CSD_SEC_FEATURE_SUPPORT: u32 = 231;
     | ------------------------------------------ similarly named constant `EXT_CSD_SEC_FEATURE_SUPPORT` defined here

error[E0425]: cannot find value `DUPL_SCAN_CACHE_REFRESH_PERIOD` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:529:50
    |
529 |             dup_list_refresh_period: crate::sys::DUPL_SCAN_CACHE_REFRESH_PERIOD as _,
    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0425]: cannot find value `BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX` in module `crate::sys`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:530:53
    |
530 |             scan_backoff_upperlimitmax: crate::sys::BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX as _,
    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys`

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `magic`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:497:13
    |
497 |             magic: crate::sys::ESP_BT_CTRL_CONFIG_MAGIC_VAL,
    |             ^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `version`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:498:13
    |
498 |             version: crate::sys::ESP_BT_CTRL_CONFIG_VERSION,
    |             ^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `controller_task_run_cpu`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:501:13
    |
501 |             controller_task_run_cpu: crate::sys::CONFIG_BT_CTRL_PINNED_TO_CORE as _,
    |             ^^^^^^^^^^^^^^^^^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
501 |             controller_run_cpu: crate::sys::CONFIG_BT_CTRL_PINNED_TO_CORE as _,
    |             ~~~~~~~~~~~~~~~~~~

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `bluetooth_mode`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:502:13
    |
502 |             bluetooth_mode: crate::sys::CONFIG_BT_CTRL_MODE_EFF as _,
    |             ^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_max_act`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:503:13
    |
503 |             ble_max_act: crate::sys::CONFIG_BT_CTRL_BLE_MAX_ACT_EFF as _,
    |             ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `sleep_mode`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:504:13
    |
504 |             sleep_mode: crate::sys::CONFIG_BT_CTRL_SLEEP_MODE_EFF as _,
    |             ^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `sleep_clock`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:505:13
    |
505 |             sleep_clock: crate::sys::CONFIG_BT_CTRL_SLEEP_CLOCK_EFF as _,
    |             ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_st_acl_tx_buf_nb`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:506:13
    |
506 |             ble_st_acl_tx_buf_nb: crate::sys::CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB as _,
    |             ^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_hw_cca_check`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:507:13
    |
507 |             ble_hw_cca_check: crate::sys::CONFIG_BT_CTRL_HW_CCA_EFF as _,
    |             ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_adv_dup_filt_max`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:508:13
    |
508 |             ble_adv_dup_filt_max: crate::sys::CONFIG_BT_CTRL_ADV_DUP_FILT_MAX as _,
    |             ^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ce_len_type`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:509:13
    |
509 |             ce_len_type: crate::sys::CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF as _,
    |             ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hci_tl_type`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:510:13
    |
510 |             hci_tl_type: crate::sys::CONFIG_BT_CTRL_HCI_TL_EFF as _,
    |             ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hci_tl_funcs`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:511:13
    |
511 |             hci_tl_funcs: core::ptr::null_mut(),
    |             ^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `txant_dft`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:512:13
    |
512 |             txant_dft: crate::sys::CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF as _,
    |             ^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `rxant_dft`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:513:13
    |
513 |             rxant_dft: crate::sys::CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF as _,
    |             ^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `txpwr_dft`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:514:13
    |
514 |             txpwr_dft: crate::sys::CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF as _,
    |             ^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `cfg_mask`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:515:13
    |
515 |             cfg_mask: crate::sys::CFG_MASK,
    |             ^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `scan_duplicate_mode`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:516:13
    |
516 |             scan_duplicate_mode: crate::sys::SCAN_DUPLICATE_MODE as _,
    |             ^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `scan_duplicate_type`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:517:13
    |
517 |             scan_duplicate_type: crate::sys::SCAN_DUPLICATE_TYPE_VALUE as _,
    |             ^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `normal_adv_size`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:518:13
    |
518 |             normal_adv_size: crate::sys::NORMAL_SCAN_DUPLICATE_CACHE_SIZE as _,
    |             ^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `mesh_adv_size`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:519:13
    |
519 |             mesh_adv_size: crate::sys::MESH_DUPLICATE_SCAN_CACHE_SIZE as _,
    |             ^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hw_target_code`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:522:13
    |
522 |             hw_target_code: crate::sys::BLE_HW_TARGET_CODE_CHIP_ECO0 as _,
    |             ^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `slave_ce_len_min`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:523:13
    |
523 |             slave_ce_len_min: crate::sys::SLAVE_CE_LEN_MIN_DEFAULT as _,
    |             ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hw_recorrect_en`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:524:13
    |
524 |             hw_recorrect_en: crate::sys::AGC_RECORRECT_EN as _,
    |             ^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `cca_thresh`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:525:13
    |
525 |             cca_thresh: crate::sys::CONFIG_BT_CTRL_HW_CCA_VAL as _,
    |             ^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `coex_param_en`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:526:13
    |
526 |             coex_param_en: false,
    |             ^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `coex_use_hooks`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:527:13
    |
527 |             coex_use_hooks: false,
    |             ^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_50_feat_supp`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:528:13
    |
528 |             ble_50_feat_supp: crate::sys::BT_CTRL_50_FEATURE_SUPPORT != 0,
    |             ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `dup_list_refresh_period`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:529:13
    |
529 |             dup_list_refresh_period: crate::sys::DUPL_SCAN_CACHE_REFRESH_PERIOD as _,
    |             ^^^^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `scan_backoff_upperlimitmax`
   --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:530:13
    |
530 |             scan_backoff_upperlimitmax: crate::sys::BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX as _,
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field
    |
    = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others

Some errors have detailed explanations: E0425, E0560.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `esp-idf-svc` (lib) due to 58 previous errors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.