-
Notifications
You must be signed in to change notification settings - Fork 172
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
Disabling CHIPoBLE service due to error: Error CHIP:0x000000AC (CON-908) #749
Comments
@GeeklinkSmart Can you recreate this issue using any of the existing examples in esp-matter? If not, please share a patch that we can apply to test this out. Also, it will be helpful if you can attach (not paste) the entire logs since bootup |
Missing the address? |
ESP-ROM:esp32s3-20210327 I (0) cpu_start: App cpu up. I (00:00:00.014) phy_init: phy_version 620,ec7ec30,Sep 5 2023,13:49:13 I (1263) wifi:mode : sta (48:27:e2:08:d4:f0) E (1504) BT_APPL: bta_dm_ble_set_adv_params_all(), fail to set ble adv params. Here is the entire logs since bootup .I test the belmesh_bridge in esp-matter/examples and it works ok ,but after I used it in my project , the problem occured |
Yeah, I don't know why,in my project i haven't set any address or call any function about ble init. extern "C" void app_main()
// Check_IO_Statue(); #ifdef MATTER_ENABLE
endpoint_t *aggregator = endpoint::aggregator::create(node, &aggregator_config, ENDPOINT_FLAG_NONE, NULL);
#endif } |
After i choose nimble instead of bluedroid in menuconfig ,It works ok now |
@GeeklinkSmart Ok. Is there a specific reason you want to use Bluedroid instead of NimBLE host? |
@dhrishi I use it to connece with computer or other device to do something about playing music such as volume control ,next ,stop/play etc. when i choose NimBLE, I can't do this. |
@GeeklinkSmart , the error appears in the case of |
I am developing a bridge product using ESP MATTER SDK, but after the program runs, it will prompt this error, which makes it impossible to use chiptool to debug the product. Here are the related logs.
My idf version :V5.1.1
Device :ESP32S3
logs:
I (1066) wifi:wifi driver task: 3fcf7a64, prio:23, stack:6656, core=0
I (1075) wifi:wifi firmware version: dc6ffb6
I (1075) wifi:wifi certification version: v7.0
I (1079) wifi:config NVS flash: enabled
I (1083) wifi:config nano formating: disabled
I (1087) wifi:Init data frame dynamic rx buffer num: 32
I (1092) wifi:Init static rx mgmt buffer num: 5
I (1096) wifi:Init management short buffer num: 32
I (1100) wifi:Init static tx buffer num: 16
I (1104) wifi:Init tx cache buffer num: 32
I (1108) wifi:Init static tx FG buffer num: 2
I (1112) wifi:Init static rx buffer size: 1600
I (1116) wifi:Init static rx buffer num: 10
I (1119) wifi:Init dynamic rx buffer num: 32
I (00:00:00.301) wifi_init: rx ba win: 6
I (00:00:00.305) wifi_init: tcpip mbox: 32
I (00:00:00.310) wifi_init: udp mbox: 6
I (00:00:00.314) wifi_init: tcp mbox: 6
I (00:00:00.319) wifi_init: tcp tx win: 5744
I (00:00:00.323) wifi_init: tcp rx win: 5744
I (00:00:00.328) wifi_init: tcp mss: 1460
I (00:00:00.333) wifi_init: WiFi/LWIP prefer SPIRAM
I (00:00:00.338) wifi_init: WiFi IRAM OP enabled
I (00:00:00.344) wifi_init: WiFi RX IRAM OP enabled
I (1184) chip[DL]: NVS set: chip-counters/reboot-count = 63 (0x3F)
I (1187) chip[DL]: Real time clock set to 946684800 (0100/00/01 00:00:00 UTC)
I (00:00:00.001) BLE_INIT: BT controller compile version [59725b5]
I (00:00:00.008) BLE_INIT: Bluetooth MAC: 48:27:e2:08:d4:f2
I (00:00:00.014) phy_init: phy_version 620,ec7ec30,Sep 5 2023,13:49:13
I (1256) chip[DL]: I (1257) chip[BLE]: Starting ESP WiFi layerGATT Event: 0 (if 3)
I (1258) wifi:mode : sta (48:27:e2:08:d4:f0)
I (1259) wifi:enable tsf
W (1261) wifi:Haven't to connect to a suitable AP now!
I (1266) chip[DL]: Done driving station state, nothing else to do...
W (1273) wifi:Haven't to connect to a suitable AP now!
I (1278) chip[DL]: Done driving station state, nothing else to do...
I (1285) chip[SVR]: Initializing subscription resumption storage...
I (1292) chip[SVR]: Server initializing...
I (1297) chip[TS]: Last Known Good Time: 2023-11-21T15:15:01
I (1303) chip[DMG]: AccessControl: initializing
I (1307) chip[DMG]: Examples::AccessControlDelegate::Init
I (1313) chip[DMG]: AccessControl: setting
I (1318) chip[DMG]: DefaultAclStorage: initializing
I (1323) chip[DMG]: DefaultAclStorage: 0 entries loaded
I (1340) chip[ZCL]: Using ZAP configuration...
I (00:00:00.153) esp_matter_cluster: Cluster plugin init common callback
I (1342) chip[DMG]: AccessControlCluster: initializing
I (1347) chip[ZCL]: 0x3c1358a4ep 0 clus 0x0000_0030 attr 0x0000_0000 not supported
I (1356) chip[ZCL]: Initiating Admin Commissioning cluster.
E (1362) chip[ZCL]: Duplicate attribute override registration failed
I (1370) chip[DIS]: Updating services using commissioning mode 1
I (1376) chip[DIS]: CHIP minimal mDNS started advertising.
I (1382) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (1392) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 78B5D97F0DE8DDC0.
I (1403) chip[DIS]: mDNS service published: _matterc._udp
I (1409) chip[IN]: CASE Server enabling CASE session setups
I (1415) chip[SVR]: Joining Multicast groups
I (1420) chip[SVR]: Server Listening...
I (00:00:00.237) esp_matter_core: Dynamic endpoint 0 added
I (00:00:00.243) esp_matter_core: Dynamic endpoint 1 added
I (1437) chip[DL]: WIFI_EVENT_STA_START
W (1441) wifi:Haven't to connect to a suitable AP now!
I (1446) chip[DL]: Done driving station state, nothing else to do...
I (00:00:00.265) app_main: Commissioning window opened
I (1460) chip[BLE]: GATT Event: 22 (if 3)
I (1463) chip[BLE]: GAP Event: 22
I (1467) chip[BLE]: GATT Event: 12 (if 3)
I (1471) chip[DL]: CHIPoBLE GATT service started
I (1477) chip[BLE]:
I (1481) chip[BLE]: GAP Event: 4
I (1483) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable, device name )
E (1492) BT_BTM: No random address yet, please set random address and try
E (1500) BT_APPL: bta_dm_ble_set_adv_params_all(), fail to set ble adv params.
I (1508) chip[BLE]: GAP Event: 6
E (1511) chip[DL]: ESP_GAP_BLE_ADV_START_COMPLETE_EVT error: 1
E (1518) chip[DL]: Disabling CHIPoBLE service due to error: Error CHIP:0x000000AC
I (1526) chip[BLE]: GAP Event: 6
E (1530) chip[DL]: ESP_GAP_BLE_ADV_START_COMPLETE_EVT error: 13
E (1536) chip[DL]: Disabling CHIPoBLE service due to error: Error CHIP:0x000000AC
W (00:00:00.358) esp_matter_core: Server Cluster 0x0000001D on endpoint 0x0002 already exists. Not creating again.
W (00:00:00.368) esp_matter_core: Attribute 0x00000000 on cluster 0x0000001D already exists. Not creating again.
W (00:00:00.379) esp_matter_core: Attribute 0x00000001 on cluster 0x0000001D already exists. Not creating again.
W (00:00:00.389) esp_matter_core: Attribute 0x00000002 on cluster 0x0000001D already exists. Not creating again.
W (00:00:00.400) esp_matter_core: Attribute 0x00000003 on cluster 0x0000001D already exists. Not creating again.
W (00:00:00.411) esp_matter_core: Attribute 0x0000FFFC on cluster 0x0000001D already exists. Not creating again.
W (00:00:00.422) esp_matter_core: Attribute 0x0000FFFD on cluster 0x0000001D already exists. Not creating again.
I (00:00:00.435) esp_matter_bridge: Cluster plugin init for the new added endpoint
E (1628) chip[ZCL]: Duplicate attribute override registration failed
I (00:00:00.448) esp_matter_attribute: ********** W : Endpoint 0x0002's Cluster 0x00000003's Attribute 0x00000001 is 0 **********
The text was updated successfully, but these errors were encountered: