Coder Social home page Coder Social logo

stm32-hotspot / stm32wb-matter-device-over-thread Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 5.0 74.39 MB

Matter device over thread for STM32WB

License: Other

HTML 38.28% CSS 2.18% C 55.13% CMake 0.09% Assembly 1.16% Batchfile 0.04% Python 0.06% C++ 0.46% JavaScript 2.59%
stm32 stm32wb ble matter openthread

stm32wb-matter-device-over-thread's Introduction

STM32WB Matter Device Over Thread MCU Firmware Package

latest tag

Overview

The matter device over thread package shows several matter end device sample applications. Those examples are based on Matter and behave as a Matter accessory communicating over a 802.15.4 Thread network. It can be paired into an existing matter network and can be controlled by this network.

This Hotspot FW package includes:

  • Application example under "Projects\P-NUCLEO-WB55.Nucleo\Applications\Matter" called Lighting-App.
  • Application example under "Projects\P-NUCLEO-WB55.Nucleo\Applications\Matter" called Window-App.
  • Application example under "Projects\STM32WB5MM-DK\Applications\Matter" called Lighting-App.
  • Application example under "Projects\STM32WB5MM-DK\Applications\Matter" called Window-App.

Keywords

MATTER, CHIP, Connectedhomeip, IoT, Internet of Things, Network, Connectivity, FreeRTOS, LwIP, commissioning, CSA, Connectivity Standard Alliance, STM32 , P-NUCLEO-WB55 , STM32WB5MM-DK, OpenThread, BLE.

Release note

Details about the content of this release are available in the release note here.

Boards Needed

Requirements

The STM32WB5MM-DK and P-NUCLEO-WB55 are complete development platform, based on Arm® Cortex®-M4 and Arm® Cortex®-M0+ cores. Those examples are based on BLE and Thread protocol working in concurrent mode.

See the process to load the wireless stack here.

To make the program work, you must do the following:

  • Open STM32CubeIDE toolchain version >= 1.9.0 is required.

  • Build the desired application and load your image.

  • Flash the application and Thread RCP binary(if needed) with STM32CubeProgrammer version >= 2.9.0 both at address 0x08000000.

  • If needed, install the CHIPTool .apk on an Android from Utilities/APK Smartphone (see below).

  • If using the onboarding payload for commissioning, use this QR code:

    UG_IMAGE_2

Setting up the environment

In a matter ecosystem with an end device over thread , a thread border router is required. You can use one of the following combinations

  • Follow those guides to install the OpenThread Border Router (OTBR) on Raspberry Pi platform.

    • if using the Radio Co-Processor(RCP) design from ST, flash the binary from Project/P-NUCLEO-WB55.Nucleo/Binary_Thread_RCP/ with the right Copro Wireless Binary and connect the P-NUCLEO-WB55 to Raspberry Pi 4(recommended) as follow: Communication with the Raspberry Pi 4 is done through a serial connection. UART Rx/Tx are routed to external connector Cn10 pin35(Tx) and pin 37(Rx). So please use a FTDI cable do to the connection.

    UG_IMAGE_4

    • Or follow this link and use this example to setup your own RCP.
  • Or use a border router available in the market

Using Android CHIPTool

  • Install and setup Android Application:

    Open the Settings app on your Android device

    In the Settings menu, tap Apps.

    Tap Special app access(or Advanced > Special app access)

    Tap Install unknown apps

    Select the Chip-toolAPK V1.1 from the file management apps.

    Tap the Allow from this source slider to allow APK files to be installed.

    Allow CHIPTool to access the device's location and to take pictures and record video. If you have Android 12 or higher allow app to find and connect to nearby devices.

    CHIPTool offers the following features:

    • Scan the Matter QR code and display payload information to the user.
    • Commission a Matter device
    • Send echo request to the Matter echo server
    • Send ON/OFF cluster requests to a Matter device
Click on "PROVISION CHIP DEVICE WITH THREAD" and scan the QR Code to start the commissioning.

UG_IMAGE_1

Click on "LIGHT ON/OFF & LEVEL CLUSTER" to control the LED when the commissioning is complete.

UG_IMAGE_4

Note: Android CHIPTool cannot be used for the Window-App application.

Bluetooth LE advertising

In this example, to commission the device onto a Matter network, it must be discoverable over Bluetooth LE. After powering up the device, the device will advertise automatically for 30 seconds. After this delay, you will need to reset the device to start the commissioning procedure.

Bluetooth LE rendezvous

In Matter, the commissioning procedure is done over Bluetooth LE between a Matter device and the Matter controller(here the Android app), where the controller has the commissioner role.

To start the rendezvous, the controller must get the commissioning information from the Matter device. The data payload is encoded within a QR code, printed to the UART console.

Thread provisioning

The provisioning operation, which is the Last part of the rendezvous procedure, involves sending the Thread network credentials from the Matter controller to the Matter device. As a result, the device joins the Thread network via a OpenThread border Router (OTBR) and can communicate with other devices in the network.

P-NUCLEO-WB55

The blue LED is ON when the BLE rendezvous started. The green LED is ON when the board joined a thread network. The red LED is used when using "LIGHT ON/OFF & LEVEL CLUSTER" on Android phone.

STM32WB5MM-DK

The LCD screen displays "BLE connected" when the BLE rendezvous started. The LCD screen displays "Network Join" when the board joins thread network. The LCD screen displays "LED ON" + the light level when using "LIGHT ON/OFF & LEVEL CLUSTER" and pressing "On" and erase this line when pressing "Off" on Android phone.

Known issues

  • SRP cache on the OpenThread border router needs to be flushed each time a new commissioning process is attempted. For this, factory reset the device by pressing SW1 or B1 for at least 10sec, then do a hardware reset then reset the RCP device or execute in the raspberry terminal ot-ctl srp server disable ; ot-ctl srp server enable, then restart the Android application . After this step, the commissioning process of the device can start.
  • Due to some MDNS issues, the commissioning with some Wi-Fi access point may fail.
  • The upstream application build is supported on Windows, MacOS and Linux. However the package itself has only been tested on a Windows 10 host.

Troubleshooting

Caution:

  • OTA is currently not supported by ST.
  • Android application has only been tested on arm64 smartphone CPU architecture.

For any other question related to the product, the hardware performance or characteristics, the tools, the environment, you can submit it to the ST Community on the STM32 MCUs related page.

stm32wb-matter-device-over-thread's People

Contributors

alabstm avatar styoannzamaron 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

stm32wb-matter-device-over-thread's Issues

Linux include directory error

In GNU C and GNU C++ include directories, the following paths are wrong

  • ../../../../../../Middlewares/Third_Party/mbedTLS/library
  • ../../../../../../Middlewares/Third_Party/mbedTLS/include

All letters in the mbedTLS folder are in lower case, causing malfunction in Linux because of how the file system works
I fixed this by changing the mbedTLS in include directories to mbedtls

Failed to connect to Google Nest Hub 2nd Generation

Product ID (0xFFF1) and Vendor ID (0x8004) were added to Google Developer Console.
During Commissioning process Blue led was turned on then turned off. Next green led was turned on.
Logs:

�[0m[M4 APPLICATION] Matter Over Thread Lighting-App starting...
�[0m[M4 APPLICATION]  Init matter layer 
�[0m[M4 APPLICATION] Init CHIP stack
CHIP:DL: BLEManagerImpl::Init() complete
�[0m[M4 APPLICATION] 1- Initialisation of BLE Stack...
�[0m[M4 APPLICATION] 2- Initialisation of OpenThread Stack. FW info :
�[0m[M4 APPLICATION] **********************************************************
�[0m[M4 APPLICATION] WIRELESS COPROCESSOR FW:
�[0m[M4 APPLICATION] VERSION ID = 1.0.1
�[0m[M4 APPLICATION] FW Type : Dynamic Concurrent Mode BLE/Thread for Matter 
�[0m[M4 APPLICATION] **********************************************************
�[0m[M4 APPLICATION] Start init matter
CHIP:-: Current Software Version: 1.0
CHIP:SVR: Server initializing...
CHIP:TS: Last Known Good Time: [unknown]
CHIP:TS: Setting Last Known Good Time to firmware build time 2023-07-07T13:09:56
CHIP:DMG: AccessControl: initializing
CHIP:DMG: Examples::AccessControlDelegate::Init
CHIP:DMG: AccessControl: setting
CHIP:DMG: DefaultAclStorage: initializing
CHIP:DMG: DefaultAclStorage: 0 entries loaded
CHIP:ZCL: Using ZAP configuration...
CHIP:DMG: AccessControlCluster: initializing
CHIP:ZCL: Initiating Admin Commissioning cluster.
CHIP:ZCL: On/Off set value: 1 0
CHIP:ZCL: On/off already set to new value
CHIP:ZCL: Cluster LevelControl: attribute CurrentLevel set to hu
CHIP:-: LightMgr:LEVEL: lev:64->1
CHIP:DIS: Updating services using commissioning mode 0
CHIP:DIS: Failed to finalize service update: 1c
CHIP:DIS: Delaying proxy of operational discovery: missing delegate
CHIP:IN: CASE Server enabling CASE session setups
CHIP:SVR: Server Listening...
CHIP:DL: Device Configuration:
CHIP:DL:   Serial Number: (not set)
CHIP:DL:   Vendor Id: 65521 (0xFFF1)
CHIP:DL:   Product Id: 32772 (0x8004)
CHIP:DL:   Hardware Version: 0
CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 2560 (0xA00)
CHIP:DL: Invalid manufacturing date: DL
CHIP:DL:   Manufacturing Date: (not set)
CHIP:DL:   Device Type: 257 (0x101)
CHIP:SVR: SetupQRCode: [MT:4CT9142C00C60648G00]
CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:4CT9142C00C60648G00
CHIP:SVR: Manual pairing code: [23331712339]
CHIP:DIS: Updating services using commissioning mode 1
CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32772 discriminator=2560/10 cm=1
CHIP:DIS: Failed to advertise commissionable node: 3
CHIP:DIS: Failed to finalize service update: 1c
�[0m[M4 APPLICATION] BLE advertising started. Waiting for Pairing.
�[0m[M4 APPLICATION] App Task started
CHIP:DL: kAsyncInitCompleted done
CHIP:DL: CHIPoBLE start advertising
CHIP:DL: state return update adv: 0
First index in 0 state 

[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE APPLICATION STARTS ADV => Radio granted to BLEcheck set discoverable , result: 0 
Successfully Start Fast Advertising 

[RTSM] - BLE LL FSM 1 -> 2EVT_LE_CONN_COMPLETE for connection handle 0x801
CHIP:DL: Gap connect
CHIP:DL: BLE GATT connection established 
CHIP:DL: CHIPoBLE advertising stopped


** CONNECTION UPDATE EVENT WITH CLIENT 
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 9)
CHIP:BLE: local and remote recv window sizes = 6
CHIP:BLE: selected BTP version 4
CHIP:BLE: using BTP fragment sizes rx 128 / tx 128.
Subscribe for c2 notification
-- Matter APPLICATION SERVER : INDICATE ENABLED
 

CHIP:DL: Write request received for CHIPoBLE TX characteristic CCCD (con 2049, len 0)
CHIP:DL: CHIPoBLE subscribe received


** CONNECTION UPDATE EVENT WITH CLIENT 
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 73)
CHIP:EM: >>> [E:31485r M:102094459] (U) Msg RX from 0:FC01655813703D15 [0000] --- Type 0000:20 (SecureChannel:PBKDFParamRequest)
CHIP:EM: <<< [E:31485r M:72792681] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:21 (SecureChannel:PBKDFParamResponse)
CHIP:IN: (U) Sending msg 72792681 to IP address 'BLE'
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 97)
CHIP:EM: >>> [E:31485r M:102094460] (U) Msg RX from 0:FC01655813703D15 [0000] --- Type 0000:22 (SecureChannel:PASE_Pake1)
CHIP:EM: <<< [E:31485r M:72792682] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:23 (SecureChannel:PASE_Pake2)
CHIP:IN: (U) Sending msg 72792682 to IP address 'BLE'
CHIP:DL: Long dispatch time: 4956 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 64)
CHIP:EM: >>> [E:31485r M:102094461] (U) Msg RX from 0:FC01655813703D15 [0000] --- Type 0000:24 (SecureChannel:PASE_Pake3)
CHIP:EM: <<< [E:31485r M:72792683] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
CHIP:IN: (U) Sending msg 72792683 to IP address 'BLE'
CHIP:SC: SecureSession[0x200118b8]: Moving from state 'kEstablishing' --> 'kActive'
CHIP:SVR: Commissioning completed session establishment step
CHIP:DIS: Updating services using commissioning mode 0
CHIP:DIS: Failed to finalize service update: 1c
CHIP:SVR: Device completed Rendezvous process
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31486r M:158885997] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31486r M:240811201] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811201 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31487r M:158885998] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31487r M:240811202] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811202 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31488r M:158885999] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31488r M:240811203] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811203 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31489r M:158886000] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31489r M:240811204] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811204 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31490r M:158886001] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31490r M:240811205] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811205 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31491r M:158886002] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31491r M:240811206] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811206 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 57)
CHIP:EM: >>> [E:31492r M:158886003] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31492r M:240811207] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811207 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 44)
CHIP:EM: >>> [E:31493r M:158886004] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:0a (IM:TimedRequest)
CHIP:EM: <<< [E:31493r M:240811208] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:01 (IM:StatusResponse)
CHIP:IN: (S) Sending msg 240811208 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 70)
CHIP:EM: >>> [E:31493r M:158886005] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:FS: GeneralCommissioning: Received ArmFailSafe (120s)
CHIP:EM: <<< [E:31493r M:240811209] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811209 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31494r M:158886006] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31494r M:240811210] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811210 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 44)
CHIP:EM: >>> [E:31495r M:158886007] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:0a (IM:TimedRequest)
CHIP:EM: <<< [E:31495r M:240811211] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:01 (IM:StatusResponse)
CHIP:IN: (S) Sending msg 240811211 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 75)
CHIP:EM: >>> [E:31495r M:158886008] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:EM: <<< [E:31495r M:240811212] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811212 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 67)
CHIP:EM: >>> [E:31496r M:158886009] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Certificate Chain request received for DAC
CHIP:EM: <<< [E:31496r M:240811213] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811213 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 66)
CHIP:EM: >>> [E:31497r M:158886010] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Certificate Chain request received for PAI
CHIP:EM: <<< [E:31497r M:240811214] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811214 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 98)
CHIP:EM: >>> [E:31498r M:158886011] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received an AttestationRequest command
CHIP:ZCL: OpCreds: AttestationRequest successful.
CHIP:EM: <<< [E:31498r M:240811215] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811215 on secure session with LSID: 23556
CHIP:DL: Long dispatch time: 1024 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 101)
CHIP:EM: >>> [E:31499r M:158886012] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received a CSRRequest command
CHIP:ZCL: OpCreds: AllocatePendingOperationalKey succeeded
CHIP:ZCL: OpCreds: CSRRequest successful.
CHIP:EM: <<< [E:31499r M:240811216] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811216 on secure session with LSID: 23556
CHIP:DL: Long dispatch time: 2982 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 119)
CHIP:EM: >>> [E:31500r M:158886013] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received an AddTrustedRootCertificate command
CHIP:ZCL: OpCreds: AddTrustedRootCertificate successful.
CHIP:EM: <<< [E:31500r M:240811217] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811217 on secure session with LSID: 23556
CHIP:DL: Long dispatch time: 2025 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 88)
CHIP:EM: >>> [E:31501r M:158886014] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received an AddNOC command
CHIP:FP: Validating NOC chain
			[RX :xbf|B0(0/1)|IT:000|157,0]	530a -> ffff	(15)

CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:FP: NOC chain validation successful
CHIP:FP: Added new fabric at index: 0x1
CHIP:FP: Assigned compressed fabric ID: 0x24E0364BBFAD1AE7, node ID: 0x00000000A26FBAD3
CHIP:TS: Last Known Good Time: 2023-07-07T13:09:56
CHIP:TS: New proposed Last Known Good Time: 2023-07-07T15:00:21
CHIP:TS: Updating pending Last Known Good Time to 2023-07-07T15:00:21
CHIP:ZCL: OpCreds: ACL entry created for Fabric index 0x1 CASE Admin Subject 0xFFFFFFFD00010001
CHIP:DIS: Advertise operational node 24E0364BBFAD1AE7-00000000A26FBAD3
CHIP:ZCL: OpCreds: successfully created fabric index 0x1 via AddNOC
CHIP:EM: <<< [E:31501r M:240811218] (S) Msg TX to 1:FFFFFFFB00000000 [1AE7] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811218 on secure session with LSID: 23556
CHIP:DL: Long dispatch time: 4081 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 48)
CHIP:EM: >>> [E:31502r M:158886015] (S) Msg RX from 1:FFFFFFFB00000000 [1AE7] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:EM: <<< [E:31502r M:240811219] (S) Msg TX to 1:FFFFFFFB00000000 [1AE7] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811219 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:31503r M:158886016] (S) Msg RX from 1:FFFFFFFB00000000 [1AE7] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:31503r M:240811220] (S) Msg TX to 1:FFFFFFFB00000000 [1AE7] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 240811220 on secure session with LSID: 23556
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 78)
CHIP:EM: >>> [E:31504r M:158886017] (S) Msg RX from 1:FFFFFFFB00000000 [1AE7] --- Type 0001:08 (IM:InvokeCommandRequest)
(0020880 > 6008)	[TX :xa5|00811000|..|xa5,0000]	c772 -> ffff	(17)

			[RXa:xf6|B0(0/1)|IT:001|164,0]	f88d -> c772	(17)

			[RXa:xf6|B1(0/1)|IT:002|178,0]	f88d -> c772	(17)

			[RXa:xc3|B0(0/1)|IT:003|157,0]	2505 -> c772	(17)

			[RXa:xe3|B0(0/1)|IT:004|126,0]	63fc -> c772	(17)

			[RXa:x69|B1(0/1)|IT:005|70,0]	cadd -> c772	(17)

00011400|..|xa5,0015]	c772 -> ffff	(17)

			[TX  xa5] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041760 > 6008)	[TX :xa5|00011000|..|xa5,0000]	c772 -> ffff	(17)

			[RX :xe4|B0(0/1)|IT:006|70,0]	63fc -> cadd	(17)

			[RX :x6a|B0(0/1)|IT:007|122,0]	cadd -> 63fc	(17)

			[RX :x6b|B0(0/1)|IT:008|70,0]	cadd -> ffff	(17)

(0032496 > 8504)	[TXa:xa6|OK|xa6,0000]	c772 -> f88d	(17)

			[RXa:xf7|B0(0/1)|IT:010|178,0]	f88d -> c772	(17)

			[RXa:xf8|B0(0/1)|IT:011|182,0]	f88d -> c772	(17)

CHIP:DL: SRP Client was started, detected server: fdc9:ff9e:800e:0000:49b3:7d91:d0d2:bd55
CHIP:SVR: Joining Multicast groups
CHIP:EM: <<< [E:31504r M:240811221] (S) Msg TX to 1:FFFFFFFB00000000 [1AE7] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 240811221 on secure session with LSID: 23556
CHIP:DIS: Advertise operational node 24E0364BBFAD1AE7-00000000A26FBAD3
CHIP:SVR: Operational advertising enabled
			[RX :x6c|B0(0/1)|IT:012|157,0]	cadd -> 2505	(17)

(0010096 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

			[TXa xa7] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 7960)	[TXa:xa7|00111000|..|xa7,0014]	c772 -> f88d	(17)

(0034016 > 7960)	[TXa:xa7|00111000|..|xa7,0014]	c772 -> f88d	(17)

(0025024 > 7960)	[TXa:xa7|00111000|..|xa7,0014]	c772 -> f88d	(17)

(0014672 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

			[TXa xa7] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

(0025024 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

			[TXa xa7] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

(0031536 > 7960)	[TXa:xa7|00000500|..|xa7,0015]	c772 -> f88d	(17)

(0017536 > 7960)	[TXa:xa7|00111000|..|xa7,0014]	c772 -> f88d	(17)

			[TXa xa7] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

(0027856 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

(0016544 > 7960)	[TXa:xa7|00911000|..|xa7,0014]	c772 -> f88d	(17)

			[TXa xa7] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 7960)	[TXa:xa7|OK|xa7,0000]	c772 -> f88d	(17)

			[RXa:xf9|B0(0/1)|IT:014|178,0]	f88d -> c772	(17)

			[RXa:xf9|B0(0/1)|IT:015|178,0]	f88d -> c772	(17)

			[RXa:xf9|B1(0/1)|IT:016|178,0]	f88d -> c772	(17)

			[RX :xf6|B0(0/1)|IT:017|178,0]	f88d -> 6000	(17)

(0033472 > 8952)	[TXa:xa8|00911000|..|xa8,0014]	600c -> 6000	(17)

(0020512 > 8952)	[TXa:xa8|OK|xa8,0000]	600c -> 6000	(17)

(0013184 > 8952)	[TXa:xa9|00000400|..|xa9,0000]	600c -> 6000	(17)

			[TXa xaa] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 8984)	[TXa:xaa|00111000|..|xaa,0014]	600c -> 6000	(17)

(0028080 > 8984)	[TXa:xaa|00111000|..|xaa,0014]	600c -> 6000	(17)

(0016784 > 8984)	[TXa:xaa|00111000|..|xaa,0014]	600c -> 6000	(17)

			[TXa xaa] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0041744 > 8984)	[TXa:xaa|OK|xaa,0000]	600c -> 6000	(17)

[RTSM] - BLE LL FSM 2 -> 0
[RTSM] - BLE LL FSM 2 -> 0
[RTSM] - BLE DISCONNECTION Reason : BLE_REASON_MASTER_CLOSE => Task to switch Radio
[RTSM] - TASK Trigged Switch => Radio granted to 15.4

** DISCONNECTION EVENT WITH CLIENT 
CHIP:DL: Gap disconnect
			[RX :xc5|B0(0/1)|IT:020|122,0]	2505 -> 63fc	(17)

			[RX :xe5|B0(0/1)|IT:021|157,0]	63fc -> 2505	(17)

			[RX :xfa|B0(0/1)|IT:022|126,0]	f88d -> 63fc	(17)

			[RX :x6d|B0(0/1)|IT:023|126,0]	cadd -> 63fc	(17)

			[RX :xe7|B0(0/1)|IT:024|70,0]	63fc -> cadd	(17)

			[RX :xe7|B0(0/1)|IT:025|70,0]	63fc -> cadd	(17)

CHIP:DL: SRP update error: timed out waiting on server response
			[RX :xf7|B0(0/1)|IT:026|175,0]	63fc -> 6000	(17)

			[RX :xfb|B0(0/1)|IT:027|122,0]	f88d -> 63fc	(17)

			[RX :xe8|B0(0/1)|IT:028|175,0]	63fc -> f88d	(17)

(-000001 > 8952)	[TXa:xab|00911000|..|xab,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xab|OK|xab,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xac|00010000|..|xac,0000]	600c -> 6000	(17)

(-000001 > 8984)	[TXa:xad|OK|xad,0000]	600c -> 6000	(17)

			[RXa:xfc|B0(0/1)|IT:031|178,0]	6000 -> 600c	(17)

CHIP:DIS: Setting operational delegate post init
CHIP:DIS: Updating services using commissioning mode 0
CHIP:DIS: Advertise operational node 24E0364BBFAD1AE7-00000000A26FBAD3
CHIP:DL: advertising srp service: 24E0364BBFAD1AE7-00000000A26FBAD3._matter._tcp
(-000001 > 8952)	[TXa:xae|00911000|..|xae,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xae|OK|xae,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xaf|00010000|..|xaf,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb0|OK|xb0,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb1|00010000|..|xb1,0000]	600c -> 6000	(17)

(-000001 > 9016)	[TXa:xb2|00111000|..|xb2,0014]	600c -> 6000	(17)

(-000001 > 9016)	[TXa:xb2|OK|xb2,0000]	600c -> 6000	(17)

			[RX :xf8|B0(0/1)|IT:035|157,0]	0100 -> 6000	(17)

CHIP:DL: SRP update error: timed out waiting on server response
(-000001 > 8952)	[TXa:xb3|OK|xb3,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb4|00010000|..|xb4,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb5|00111000|..|xb5,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb5|OK|xb5,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb6|00010000|..|xb6,0000]	600c -> 6000	(17)

(-000001 > 9016)	[TXa:xb7|00111000|..|xb7,0014]	600c -> 6000	(17)

(-000001 > 9016)	[TXa:xb7|OK|xb7,0000]	600c -> 6000	(17)

CHIP:DL: SRP update error: timed out waiting on server response
(-000001 > 8952)	[TXa:xb8|OK|xb8,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xb9|00010000|..|xb9,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xba|OK|xba,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xbb|00010000|..|xbb,0000]	600c -> 6000	(17)

(-000001 > 9016)	[TXa:xbc|00111000|..|xbc,0014]	600c -> 6000	(17)

(-000001 > 9016)	[TXa:xbc|OK|xbc,0000]	600c -> 6000	(17)

			[RXa:xfd|B0(0/1)|IT:042|171,0]	6000 -> 600c	(17)

			[RXa:xfd|B1(0/1)|IT:043|178,0]	6000 -> 600c	(17)

			[RX :xfa|B0(0/1)|IT:044|175,0]	0100 -> 6000	(17)

			[RX :xfb|B0(0/1)|IT:045|175,0]	0100 -> 6000	(17)

CHIP:BLE: ack recv timeout, closing ep 0x20014de8
CHIP:BLE: Releasing end point's BLE connection back to application.
CHIP:DL: Closing BLE GATT connection con 45324
			[RX :xfc|B0(0/1)|IT:046|178,0]	0100 -> 6000	(17)

			[RX :xfd|B0(0/1)|IT:047|178,0]	0100 -> 6000	(17)

			[RX :xff|B0(0/1)|IT:048|171,0]	0100 -> 6000	(17)

			[RX :xfe|B0(0/1)|IT:049|171,0]	f88d -> ffff	(17)

			[RX :x00|B0(0/1)|IT:050|168,0]	ae40 -> 6000	(17)

			[RX :xe9|B0(0/1)|IT:051|122,0]	63fc -> ffff	(17)

			[RX :x01|B0(0/1)|IT:052|171,0]	8a68 -> 6000	(17)

			[RX :x02|B0(0/1)|IT:053|171,0]	8a68 -> 6000	(17)

			[RX :x03|B0(0/1)|IT:054|171,0]	8a68 -> 6000	(17)

			[RX :xff|B0(0/1)|IT:055|175,0]	6000 -> ffff	(17)

			[RX :xc8|B0(0/1)|IT:056|157,0]	8000 -> ffff	(17)

			[RX :x00|B0(0/1)|IT:057|175,0]	6000 -> ffff	(17)

			[RX :x6f|B0(0/1)|IT:058|80,0]	1400 -> ffff	(17)

			[RX :xc9|B0(0/1)|IT:059|161,0]	8000 -> ffff	(17)

			[RX :x04|B0(0/1)|IT:060|171,0]	0100 -> 6000	(17)

			[RX :x01|B0(0/1)|IT:061|178,0]	0100 -> 6006	(17)

			[RX :xca|B0(0/1)|IT:062|157,0]	2505 -> ffff	(17)

			[RX :x06|B0(0/1)|IT:063|150,0]	aa22 -> 6000	(17)

			[RX :x08|B0(0/1)|IT:064|171,0]	aa22 -> 6000	(17)

			[RXa:x02|B0(0/1)|IT:065|171,0]	6000 -> 600c	(17)

			[RXa:x03|B0(0/1)|IT:066|171,0]	6000 -> 600c	(17)

			[RXa:x03|B0(0/1)|IT:067|164,0]	6000 -> 600c	(17)

			[RXa:x03|B0(0/1)|IT:068|171,0]	6000 -> 600c	(17)

			[RXa:x04|B0(0/1)|IT:069|171,0]	6000 -> 600c	(17)

CHIP:EM: >>> [E:31505r M:102094462] (U) Msg RX from 0:0AB29642C1749568 [0000] --- Type 0000:30 (SecureChannel:CASE_Sigma1)
CHIP:IN: CASE Server received Sigma1 message. Starting handshake. EC 0x20013078
CHIP:IN: CASE Server disabling CASE session setups
CHIP:EM: <<< [E:31505r M:72792684 (Ack:102094462)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 72792684 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
CHIP:SC: Received Sigma1 msg
(-000001 > 7640)	[TXa:xbd|CHIP:SC: CASE matched destination ID: fabricIndex 1, NodeID 0x00000000A26FBAD3
OK|xbd,0000]	600c -> 6000	(17)

			[RX :x09|B0(0/1)|IT:071|150,0]	0100 -> 6000	(17)

CHIP:EM: <<< [E:31505r M:72792685 (Ack:102094462)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:31 (SecureChannel:CASE_Sigma2)
CHIP:IN: (U) Sending msg 72792685 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
CHIP:SC: Sent Sigma2 msg
CHIP:DL: Long dispatch time: 3005 ms, for event type 3
(-000001 > 8984)	[TXa:xbe|OK|xbe,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xbf|00010000|..|xbf,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc0|00111000|..|xc0,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc0|OK|xc0,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc1|00010000|..|xc1,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc2|00111000|..|xc2,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc2|OK|xc2,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc3|00010000|..|xc3,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc4|00111000|..|xc4,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc4|OK|xc4,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc5|00010000|..|xc5,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc6|00111000|..|xc6,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc6|00111000|..|xc6,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc6|OK|xc6,0000]	600c -> 6000	(17)

(-000001 > 7256)	[TXa:xc7|00010000|..|xc7,0000]	600c -> 6000	(17)

CHIP:IN: (U) Sending msg 72792685 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
(-000001 > 8984)	[TXa:xc8|00111000|..|xc8,0014]	600c -> 6000	(17)

(-000001 > 8984)	[TXa:xc8|00111000|..|xc8,0014]	600c -> 6000	(17)

(-000001 > 8984)	[TXa:xc8|OK|xc8,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xc9|00010000|..|xc9,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xca|OK|xca,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xcb|00010000|..|xcb,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xcc|00111000|..|xcc,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xcc|OK|xcc,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xcd|00010000|..|xcd,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xce|OK|xce,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xcf|00010000|..|xcf,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd0|OK|xd0,0000]	600c -> 6000	(17)

(-000001 > 7256)	[TXa:xd1|00010000|..|xd1,0000]	600c -> 6000	(17)

			[RX :xd1|B0(0/1)|IT:082|175,0]	0100 -> 6000	(17)

CHIP:IN: (U) Sending msg 72792685 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
(-000001 > 8984)	[TXa:xd2|00111000|..|xd2,0014]	600c -> 6000	(17)

(-000001 > 8984)	[TXa:xd2|00111000|..|xd2,0014]	600c -> 6000	(17)

(-000001 > 8984)	[TXa:xd2|00111000|..|xd2,0014]	600c -> 6000	(17)

(-000001 > 8984)	[TXa:xd2|OK|xd2,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd3|00010000|..|xd3,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd4|OK|xd4,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd5|00010000|..|xd5,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd6|00111000|..|xd6,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd6|00111000|..|xd6,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd6|OK|xd6,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd7|00010000|..|xd7,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd8|00111000|..|xd8,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd8|00111000|..|xd8,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd8|OK|xd8,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xd9|00010000|..|xd9,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xda|00111000|..|xda,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xda|OK|xda,0000]	600c -> 6000	(17)

(-000001 > 7256)	[TXa:xdb|00010000|..|xdb,0000]	600c -> 6000	(17)

			[RX :x0a|B0(0/1)|IT:088|175,0]	0100 -> 6000	(17)

CHIP:IN: (U) Sending msg 72792685 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
(-000001 > 8984)	[TXa:xdc|OK|xdc,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xdd|00010000|..|xdd,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xde|00111000|..|xde,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xde|OK|xde,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xdf|00010000|..|xdf,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe0|OK|xe0,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe1|00010000|..|xe1,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe2|OK|xe2,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe3|00010000|..|xe3,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe4|00111000|..|xe4,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe4|OK|xe4,0000]	600c -> 6000	(17)

(-000001 > 7256)	[TXa:xe5|00010000|..|xe5,0000]	600c -> 6000	(17)

			[RX :xe5|B0(0/1)|IT:094|175,0]	0100 -> 6000	(17)

			[RX :x0b|B0(0/1)|IT:095|175,0]	0100 -> 6000	(17)

			[RX :xec|B0(0/1)|IT:096|126,0]	63fc -> ffff	(17)

			[RX :x0c|B0(0/1)|IT:097|182,0]	8a68 -> ffff	(17)

			[RX :x0d|B0(0/1)|IT:098|178,0]	8a68 -> 6000	(17)

			[RX :x71|B0(0/1)|IT:099|84,0]	cadd -> ffff	(17)

CHIP:IN: (U) Sending msg 72792685 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
(-000001 > 8984)	[TXa:xe6|OK|xe6,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe7|00010000|..|xe7,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe8|OK|xe8,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xe9|00010000|..|xe9,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xea|00111000|..|xea,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xea|00111000|..|xea,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xea|OK|xea,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xeb|00010000|..|xeb,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xec|00111000|..|xec,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xec|00111000|..|xec,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xec|00111000|..|xec,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xec|00111000|..|xec,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xec|00111000|..|xec,0014]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xec|OK|xec,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xed|00010000|..|xed,0000]	600c -> 6000	(17)

(-000001 > 8952)	[TXa:xee|OK|xee,0000]	600c -> 6000	(17)

(-000001 > 7256)	[TXa:xef|00010000|..|xef,0000]	600c -> 6000	(17)

			[RX :xef|B0(0/1)|IT:105|171,0]	5621 -> ffff	(17)

			[RX :x05|B0(0/1)|IT:106|171,0]	f88d -> ffff	(17)

			[RX :x10|B0(0/1)|IT:107|171,0]	ae40 -> 6000	(17)

			[RX :x11|B0(0/1)|IT:108|171,0]	ae40 -> 6000	(17)

			[RX :x12|B0(0/1)|IT:109|157,0]	ae40 -> 6000	(17)

			[RX :x13|B0(0/1)|IT:110|185,0]	ae40 -> 6000	(17)

			[RX :xcb|B0(0/1)|IT:111|164,0]	2505 -> ffff	(17)

			[RX :x14|B0(0/1)|IT:112|182,0]	aa22 -> 6000	(17)

			[RX :x16|B0(0/1)|IT:113|192,0]	aa22 -> 6000	(17)

			[RX :x17|B0(0/1)|IT:114|182,0]	aa22 -> 6000	(17)

CHIP:EM: Failed to Send CHIP MessageCounter:72792685 on exchange 31505r sendCount: 4 max retries: 4
			[RX :x18|B0(0/1)|IT:115|164,0]	aa22 -> 6000	(17)

			[RX :x19|B0(0/1)|IT:116|182,0]	aa22 -> 6000	(17)

			[RX :x1a|B0(0/1)|IT:117|185,0]	aa22 -> 6000	(17)

			[RX :x06|B0(0/1)|IT:118|185,0]	f88d -> ffff	(17)

			[RX :x1b|B0(0/1)|IT:119|185,0]	ae40 -> 6000	(17)

			[RX :xed|B0(0/1)|IT:120|129,0]	63fc -> ffff	(17)

			[RX :x1d|B0(0/1)|IT:121|189,0]	8a68 -> 6000	(17)

CHIP:SC: CASESession timed out while waiting for a response from the peer. Current state was 2
CHIP:IN: CASE Session establishment failed: 32
CHIP:IN: CASE Server enabling CASE session setups
			[RX :x1e|B0(0/1)|IT:122|199,0]	8a68 -> 6000	(17)

			[RX :xee|B0(0/1)|IT:123|56,0]	63fc -> cadd	(17)

			[RX :x73|B0(0/1)|IT:124|126,0]	cadd -> 63fc	(17)

			[RX :x73|B0(0/1)|IT:125|122,0]	cadd -> 63fc	(17)

			[RX :xcc|B0(0/1)|IT:126|52,0]	2505 -> cadd	(17)

			[RX :x74|B0(0/1)|IT:127|157,0]	cadd -> 2505	(17)

			[RX :x74|B0(0/1)|IT:128|157,0]	cadd -> 2505	(17)

			[RX :x1f|B0(0/1)|IT:129|203,0]	cadd -> 6000	(17)

CHIP:FS: Fail-safe timer expired
CHIP:SVR: Failsafe timer expired
CHIP:SC: SecureSession[0x200118b8]: Moving from state 'kActive' --> 'kPendingEviction'
CHIP:SVR: Commissioning failed (attempt 1): 32
CHIP:DIS: Updating services using commissioning mode 1
CHIP:DIS: Advertise operational node 24E0364BBFAD1AE7-00000000A26FBAD3
CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32772 discriminator=2560/10 cm=1
CHIP:DL: advertising srp service: 336B3408E4146DE2._matterc._udp
CHIP:ZCL: OpCreds: Got FailSafeTimerExpired
CHIP:ZCL: OpCreds: Proceeding to FailSafeCleanup on fail-safe expiry!
CHIP:FP: Reverting pending fabric data for fabric 0x1
CHIP:FP: Warning: metadata not found during delete of fabric 0x1
CHIP:FP: Fabric (0x1) deleted.
CHIP:ZCL: UserLabel: Last Fabric index 0x1 was removed
CHIP:ZCL: OpCreds: Fabric index 0x1 was removed
CHIP:TS: Pending Last Known Good Time: 2023-07-07T15:00:21
CHIP:TS: Previous Last Known Good Time: 2023-07-07T13:09:56
CHIP:TS: Reverted Last Known Good Time to previous value
CHIP:FP: Warning: metadata not found during delete of fabric 0x1
CHIP:ZCL: OpCreds: failed to delete fabric at index 1: d8
CHIP:NP: Reverting Thread operational dataset
CHIP:FS: Fail-safe cleanly disarmed
CHIP:DL: CHIPoBLE start advertising
CHIP:DL: state return update adv: 0
First index in 0 state 

[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE APPLICATION STARTS ADV => Radio granted to BLEcheck set discoverable , result: 0 
Successfully Start Fast Advertising 
  

** STOP ADVERTISING **  

CHIP:DL: state return update adv: 0
First index in 0 state 

[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE APPLICATION STARTS ADV => Radio granted to BLEcheck set discoverable , result: 0 
Successfully Start Fast Advertising 
(0065616 > 6008)	[TX :xf0|00811000|..|xf0,0000]	c772 -> ffff	(17)

			[RXa:xcd|B0(0/1)|IT:130|150,0]	2505 -> c772	(17)

			[RXa:x07|B0(0/1)|IT:131|203,0]	f88d -> c772	(17)

			[RXa:xcd|B1(0/1)|IT:132|157,0]	2505 -> c772	(17)

			[RXa:x75|B0(0/1)|IT:133|77,0]	cadd -> c772	(17)

			[RXa:xef|B0(0/1)|IT:134|122,0]	63fc -> c772	(17)

(0087968 > 8792)	[TXa:xf1|OK|xf1,0000]	c772 -> f88d	(17)

			[RXa:x08|B0(0/1)|IT:136|206,0]	f88d -> c772	(17)

			[RXa:x09|B0(0/1)|IT:137|206,0]	f88d -> c772	(17)

(0041456 > 8952)	[TXa:xf2|00911000|..|xf2,0014]	600c -> 6000	(17)

(0033280 > 8952)	[TXa:xf2|OK|xf2,0000]	600c -> 6000	(17)

(0025648 > 8952)	[TXa:xf3|00010000|..|xf3,0000]	600c -> 6000	(17)

(0023424 > 8952)	[TXa:xf4|00111000|..|xf4,0014]	600c -> 6000	(17)

(0011904 > 8952)	[TXa:xf4|OK|xf4,0000]	600c -> 6000	(17)

			[TXa xf5] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0088736 > 8952)	[TXa:xf5|00010000|..|xf5,0000]	600c -> 6000	(17)

(0086512 > 8952)	[TXa:xf6|00111000|..|xf6,0014]	600c -> 6000	(17)

(0072464 > 8952)	[TXa:xf6|00111000|..|xf6,0014]	600c -> 6000	(17)

(0054208 > 8952)	[TXa:xf6|OK|xf6,0000]	600c -> 6000	(17)

(0046256 > 8120)	[TXa:xf7|00010000|..|xf7,0000]	600c -> 6000	(17)

			[RX :xf7|B0(0/1)|IT:141|206,0]	f88d -> c772	(17)

			[RXa:x0a|B0(0/1)|IT:142|206,0]	6000 -> 600c	(17)

			[RX :x20|B0(0/1)|IT:143|203,0]	0100 -> 6000	(17)

			[RX :x21|B0(0/1)|IT:144|192,0]	0100 -> 6000	(17)

			[RX :x22|B0(0/1)|IT:145|182,0]	0100 -> 6000	(17)

			[RX :x23|B0(0/1)|IT:146|199,0]	0100 -> 6000	(17)

			[RX :xf0|B0(0/1)|IT:147|115,0]	63fc -> ffff	(17)

			[RX :xce|B0(0/1)|IT:148|157,0]	2505 -> ffff	(17)

			[RX :x24|B0(0/1)|IT:149|196,0]	aa22 -> 6000	(17)

			[RX :x25|B0(0/1)|IT:150|192,0]	aa22 -> 6000	(17)

			[RX :x0b|B0(0/1)|IT:151|192,0]	f88d -> ffff	(17)

			[RX :x26|B0(0/1)|IT:152|192,0]	ae40 -> 6000	(17)

			[RXa:x0c|B0(0/1)|IT:153|192,0]	6000 -> 600c	(17)

			[RXa:x0d|B0(0/1)|IT:154|192,0]	6000 -> 600c	(17)

			[RXa:x0e|B0(0/1)|IT:155|192,0]	6000 -> 600c	(17)

CHIP:EM: >>> [E:31506r M:102094463] (U) Msg RX from 0:709D0C96DFF34410 [0000] --- Type 0000:30 (SecureChannel:CASE_Sigma1)
CHIP:IN: CASE Server received Sigma1 message. Starting handshake. EC 0x20013078
CHIP:IN: CASE Server disabling CASE session setups
CHIP:EM: <<< [E:31506r M:72792686 (Ack:102094463)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 72792686 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
CHIP:SC: Received Sigma1 msg
CHIP:SC: CASE failed to match destination ID with local fabrics
CHIP:EM: <<< [E:31506r M:72792687 (Ack:102094463)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
(0015600 > 7640)	[TXa:xf8|CHIP:IN: (U) Sending msg 72792687 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
CHIP:IN: CASE Session establishment failed: 71
CHIP:IN: CASE Server enabling CASE session setups
CHIP:EM: OnMessageReceived failed, err = 71
CHIP:IN: CASE Server enabling CASE session setups
OK|xf8,0000]	600c -> 6000	(17)

			[TXa xf9] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...

(0086736 > 7896)	[TXa:xf9|00010000|..|xf9,0000]	600c -> 6000	(17)

			[RX :xf9|B0(0/1)|IT:157|192,0]	0100 -> 600c	(17)

			[RXa:x0f|B0(0/1)|IT:158|192,0]	6000 -> 600c	(17)

CHIP:EM: >>> [E:31506r M:102094464 (Ack:72792687)] (U) Msg RX from 0:709D0C96DFF34410 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
			[RX :x27|B0(0/1)|IT:159|192,0]	0100 -> 6000	(17)

			[RX :x10|B0(0/1)|IT:160|192,0]	6000 -> ffff	(17)

			[RX :xf1|B1(0/1)|IT:161|129,0]	c800 -> ffff	(17)

			[RX :x11|B0(0/1)|IT:162|192,0]	6000 -> ffff	(17)

			[RX :xcf|B0(0/1)|IT:163|157,0]	8000 -> ffff	(17)

			[RXa:x12|B0(0/1)|IT:164|192,0]	6000 -> 600c	(17)

			[RX :xd0|B1(0/1)|IT:165|157,0]	8000 -> ffff	(17)

			[RXa:x13|B0(0/1)|IT:166|192,0]	6000 -> 600c	(17)

			[RXa:x13|B0(0/1)|IT:167|199,0]	6000 -> 600c	(17)

			[RXa:x13|B0(0/1)|IT:168|192,0]	6000 -> 600c	(17)

			[RXa:x14|B0(0/1)|IT:169|192,0]	6000 -> 600c	(17)

CHIP:EM: >>> [E:31507r M:102094465] (U) Msg RX from 0:0128CFBC1F76FD3F [0000] --- Type 0000:30 (SecureChannel:CASE_Sigma1)
CHIP:IN: CASE Server received Sigma1 message. Starting handshake. EC 0x20013078
CHIP:IN: CASE Server disabling CASE session setups
CHIP:EM: <<< [E:31507r M:72792688 (Ack:102094465)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 72792688 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
CHIP:SC: Received Sigma1 msg
CHIP:SC: CASE failed to match destination ID with local fabrics
CHIP:EM: <<< [E:31507r M:72792689 (Ack:102094465)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
(0062656 > 7640)	[TXa:xfa|CHIP:IN: (U) Sending msg 72792689 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
CHIP:IN: CASE Session establishment failed: 71
CHIP:IN: CASE Server enabling CASE session setups
CHIP:EM: OnMessageReceived failed, err = 71
CHIP:IN: CASE Server enabling CASE session setups
OK|xfa,0000]	600c -> 6000	(17)

(0032096 > 7896)	[TXa:xfb|00010000|..|xfb,0000]	600c -> 6000	(17)

CHIP:IN: (U) Sending msg 72792689 to IP address 'UDP:[fdae:651e:36d7:3a74:9812:753f:b074:e094%ot]:36487'
(0053792 > 7896)	[TXa:xfc|OK|xfc,0000]	600c -> 6000	(17)

			[RXa:x15|B0(0/1)|IT:172|192,0]	6000 -> 600c	(17)

CHIP:EM: >>> [E:31507r M:102094466 (Ack:72792689)] (U) Msg RX from 0:0128CFBC1F76FD3F [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
			[RX :x28|B0(0/1)|IT:173|192,0]	0100 -> 6000	(17)

[RTSM] - 000002b2|0|0			[RX :x29|B0(0/1)|IT:174|192,0]	0100 -> 6000	(17)

			[RX :x78|B0(0/1)|IT:175|56,0]	cadd -> ffff	(17)

			[RX :x2b|B0(0/1)|IT:176|192,0]	5621 -> 6000	(17)

			[RX :x2c|B0(0/1)|IT:177|189,0]	5621 -> 6000	(17)

			[RX :x2d|B0(0/1)|IT:178|192,0]	5621 -> 6000	(17)

			[RX :x2e|B0(0/1)|IT:179|192,0]	5621 -> 6000	(17)

			[RX :xd1|B0(0/1)|IT:180|161,0]	2505 -> ffff	(17)

Official Link for "ForMatter" Coprocessor Binary

This repository contains a binary called stm32wb5x_BLE_Thread_ForMatter_fw.bin. Release notes in this repo indicate a version number of 1.0.1. Presumably this is officially signed by ST, however it's being released here in an unofficial (presumably third-party) repository. Can someone explain what is going on here? (I want to build a commercial product on top of this IC, and the binary stack is a very important but mysterious aspect of this chip.)

STM32CubeIDE problem

In STM32CubeIDE 1.11.2 the following problem occurs when the project (Lighting-App for NUCLEO-WB55) is opened:
image

Simultaneously C/C++ Indexer is stuck:
image

NUCLEO-WB55RG Matter Thread end device commissioning failed

Hello,

I am trying to commissioning NUCLEO-WB55RG Matter thread end device. It fails to commission and connect.

Reference Source Code used:
Matter beta version for STM32 Github repo: https://github.com/stm32-hotspot/stm32wb-matter-device-over-thread

Setup:

  1. Matter Thread End Device

Below binaries flashed on the STM32 Matter Thread End Device(NUCLEO-WB55).

1.1. FUS: "stm32wb-matter-device-over-thread-main\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_FUS_fw.bin"

1.2. BLE Stack: "stm32wb-matter-device-over-thread-main\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_BLE_Thread_ForMatter_fw.bin"

1.3. Application: "stm32wb-matter-device-over-thread-main\Projects\P-NUCLEO-WB55.Nucleo\Applications\Matter\Lighting-App\Lighting-App.bin"

  1. Border router

Raspberrypi(Host)

RCP Device(Silabs RCP device)

  1. Host as a mobile app(chiptool)

Also find the Attached logs captured on End device and Android Application while doing commissioning.

Please share us the working logs if any & also share us the working procedure as well working source code or binaries.

Thank you

Pavan

Longer operation or continuous sending of commands will result in loss of response

Environment 

  • NUCLOE-WB55RG
  • Home Pod mini
  • iPhone SE

Reproduction steps

  1. Clone stm32wb-matter-device-over-thread Tags v1.0.0.
  2. Build the cloned git using STM32CubuIDE.
  3. Write the following binaries using STMcubuProgrammer (written binaries and locations are listed below).
  • stm32wb5x_BLE_Thread_ForMatter_fw.bin [0x0807F000] because FUS Version is v1.2.0.0
  • Lighting-App.bin or Window-App.bin [0x08000000]
  1. Perform commissioning using the iPhone Home app and successful commissioning and control of the device.
  2. Prolonged use or continuous sending of commands (though GUI controlled on the home app) will result in loss of response.
    When the debugging function of CubeIDE was used to check the situation at the time of response, the following function is stuck in an infinite loop.
    [static void Wait_Getting_Ack_From_M0(void)]
    It appears that FlagReceiveAckFromM0 is not getting out of the loop because it is not getting up.Below is the status of the Task at that time
Taskname Status
APPTASK Blocked
IDLE Ready
PUSH_BUTTON_EVT_PROCESS Suspended
SHCI_USER_EVT_PROCESS Blocked
STM32WB TASK Running
THREAD_MSG_M0_TO_M4_PROSESS Suspended
Tmr Svc Blocked

Bug prevalence

Always

Failure Commissioning Example with Apple HomePod Mini

I'm attempting to use the Lighting-App example, commissioned by an Apple HomePod Mini.

I've tried a few times the QR code and discovery ways of setting up. Both go through the Blue then Blue+Green then only Green LED codes on the Nucleo board, but finally fail with "Unable to add Accessory (Accessory is not reachable)" in the Apple Home app.

Is there some reason why the example would not work with off-the-shelf Matter commissioner such as Apple HomePod mini?

Full logs for a discovery-based setup below.

␛[0m[M4 APPLICATION] Matter Over Thread Lighting-App starting...
␛[0m[M4 APPLICATION]  Init matter layer
␛[0m[M4 APPLICATION] Init CHIP stack
CHIP:DL: BLEManagerImpl::Init() complete
␛[0m[M4 APPLICATION] 1- Initialisation of BLE Stack...
␛[0m[M4 APPLICATION] 2- Initialisation of OpenThread Stack. FW info :
␛[0m[M4 APPLICATION] **********************************************************
␛[0m[M4 APPLICATION] WIRELESS COPROCESSOR FW:
␛[0m[M4 APPLICATION] VERSION ID = 1.0.1
␛[0m[M4 APPLICATION] FW Type : Dynamic Concurrent Mode BLE/Thread for Matter
␛[0m[M4 APPLICATION] **********************************************************
␛[0m[M4 APPLICATION] Start init matter
CHIP:-: Current Software Version: 1.0
CHIP:SVR: Server initializing...
CHIP:TS: Last Known Good Time: [unknown]
CHIP:TS: Setting Last Known Good Time to firmware build time 2023-06-19T13:17:17
CHIP:DMG: AccessControl: initializing
CHIP:DMG: Examples::AccessControlDelegate::Init
CHIP:DMG: AccessControl: setting
CHIP:DMG: DefaultAclStorage: initializing
CHIP:DMG: DefaultAclStorage: 0 entries loaded
CHIP:ZCL: Using ZAP configuration...
CHIP:DMG: AccessControlCluster: initializing
CHIP:ZCL: Initiating Admin Commissioning cluster.
CHIP:ZCL: On/Off set value: 1 0
CHIP:ZCL: On/off already set to new value
CHIP:ZCL: Cluster LevelControl: attribute CurrentLevel set to hu
CHIP:-: LightMgr:LEVEL: lev:64->1
CHIP:DIS: Updating services using commissioning mode 0
CHIP:DIS: Failed to finalize service update: 1c
CHIP:DIS: Delaying proxy of operational discovery: missing delegate
CHIP:IN: CASE Server enabling CASE session setups
CHIP:SVR: Server Listening...
CHIP:DL: Device Configuration:
CHIP:DL:   Serial Number: (not set)
CHIP:DL:   Vendor Id: 65521 (0xFFF1)
CHIP:DL:   Product Id: 32772 (0x8004)
CHIP:DL:   Hardware Version: 0
CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 2560 (0xA00)
CHIP:DL: Invalid manufacturing date: DL
CHIP:DL:   Manufacturing Date: (not set)
CHIP:DL:   Device Type: 257 (0x101)
CHIP:SVR: SetupQRCode: [MT:4CT9142C00C60648G00]
CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:4CT9142C00C60648G00
CHIP:SVR: Manual pairing code: [23331712339]
CHIP:DIS: Updating services using commissioning mode 1
CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32772 discriminator=2560/10 cm=1
CHIP:DIS: Failed to advertise commissionable node: 3
CHIP:DIS: Failed to finalize service update: 1c
␛[0m[M4 APPLICATION] BLE advertising started. Waiting for Pairing.
␛[0m[M4 APPLICATION] App Task started
CHIP:DL: kAsyncInitCompleted done
CHIP:DL: CHIPoBLE start advertising
CHIP:DL: state return update adv: 0
First index in 0 state

[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE APPLICATION STARTS ADV => Radio granted to BLEcheck set discoverable , result: 0
Successfully Start Fast Advertising

[RTSM] - BLE LL FSM 1 -> 2EVT_LE_CONN_COMPLETE for connection handle 0x801
CHIP:DL: Gap connect
CHIP:DL: BLE GATT connection established
CHIP:DL: CHIPoBLE advertising stopped
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 9)
CHIP:BLE: local and remote recv window sizes = 6
CHIP:BLE: selected BTP version 4
CHIP:BLE: using BTP fragment sizes rx 244 / tx 244.
Subscribe for c2 notification
-- Matter APPLICATION SERVER : INDICATE ENABLED

CHIP:DL: Write request received for CHIPoBLE TX characteristic CCCD (con 2049, len 0)
CHIP:DL: CHIPoBLE subscribe received
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 84)
CHIP:EM: >>> [E:52745r M:44722254] (U) Msg RX from 0:72E0B50163C8E3A3 [0000] --- Type 0000:20 (SecureChannel:PBKDFParamRequest)
CHIP:EM: <<< [E:52745r M:5638956] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:21 (SecureChannel:PBKDFParamResponse)
CHIP:IN: (U) Sending msg 5638956 to IP address 'BLE'
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 97)
CHIP:EM: >>> [E:52745r M:44722255] (U) Msg RX from 0:72E0B50163C8E3A3 [0000] --- Type 0000:22 (SecureChannel:PASE_Pake1)
CHIP:EM: <<< [E:52745r M:5638957] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:23 (SecureChannel:PASE_Pake2)
CHIP:IN: (U) Sending msg 5638957 to IP address 'BLE'
CHIP:DL: Long dispatch time: 4945 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 64)
CHIP:EM: >>> [E:52745r M:44722256] (U) Msg RX from 0:72E0B50163C8E3A3 [0000] --- Type 0000:24 (SecureChannel:PASE_Pake3)
CHIP:EM: <<< [E:52745r M:5638958] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
CHIP:IN: (U) Sending msg 5638958 to IP address 'BLE'
CHIP:SC: SecureSession[0x200118b8]: Moving from state 'kEstablishing' --> 'kActive'
CHIP:SVR: Commissioning completed session establishment step
CHIP:DIS: Updating services using commissioning mode 0
CHIP:DIS: Failed to finalize service update: 1c
CHIP:SVR: Device completed Rendezvous process
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:52746r M:262942285] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:52746r M:211543644] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 211543644 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 56)
CHIP:EM: >>> [E:52747r M:262942286] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:52747r M:211543645] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 211543645 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 57)
CHIP:EM: >>> [E:52748r M:262942287] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:52748r M:211543646] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 211543646 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 128)
CHIP:EM: >>> [E:52749r M:262942288] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
CHIP:EM: <<< [E:52749r M:211543647] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:05 (IM:ReportData)
CHIP:IN: (S) Sending msg 211543647 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 70)
CHIP:EM: >>> [E:52750r M:262942289] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:FS: GeneralCommissioning: Received ArmFailSafe (60s)
CHIP:EM: <<< [E:52750r M:211543648] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543648 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 75)
CHIP:EM: >>> [E:52751r M:262942290] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:EM: <<< [E:52751r M:211543649] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543649 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 67)
CHIP:EM: >>> [E:52752r M:262942291] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Certificate Chain request received for PAI
CHIP:EM: <<< [E:52752r M:211543650] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543650 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 67)
CHIP:EM: >>> [E:52753r M:262942292] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Certificate Chain request received for DAC
CHIP:EM: <<< [E:52753r M:211543651] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543651 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 99)
CHIP:EM: >>> [E:52754r M:262942293] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received an AttestationRequest command
CHIP:ZCL: OpCreds: AttestationRequest successful.
CHIP:EM: <<< [E:52754r M:211543652] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543652 on secure session with LSID: 31230
CHIP:DL: Long dispatch time: 1011 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 70)
CHIP:EM: >>> [E:52755r M:262942294] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:FS: GeneralCommissioning: Received ArmFailSafe (60s)
CHIP:EM: <<< [E:52755r M:211543653] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543653 on secure session with LSID: 31230
                        [RX :x58|B0(0/1)|IT:000|213,0]  34c1 -> ffff    (15)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 99)
CHIP:EM: >>> [E:52756r M:262942295] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received a CSRRequest command
CHIP:ZCL: OpCreds: AllocatePendingOperationalKey succeeded
CHIP:ZCL: OpCreds: CSRRequest successful.
CHIP:EM: <<< [E:52756r M:211543654] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543654 on secure session with LSID: 31230
CHIP:DL: Long dispatch time: 3011 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 244)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 76)
CHIP:EM: >>> [E:52757r M:262942296] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received an AddTrustedRootCertificate command
CHIP:ZCL: OpCreds: AddTrustedRootCertificate successful.
CHIP:EM: <<< [E:52757r M:211543655] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543655 on secure session with LSID: 31230
CHIP:DL: Long dispatch time: 2016 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 244)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 115)
CHIP:EM: >>> [E:52758r M:262942297] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:ZCL: OpCreds: Received an AddNOC command
CHIP:FP: Validating NOC chain
CHIP:FP: NOC chain validation successful
CHIP:FP: Added new fabric at index: 0x1
CHIP:FP: Assigned compressed fabric ID: 0x09BE3DC8C4CB6453, node ID: 0x0000000065DA0B1A
CHIP:TS: Last Known Good Time: 2023-06-19T13:17:17
CHIP:TS: New proposed Last Known Good Time: 2023-06-19T18:40:27
CHIP:TS: Updating pending Last Known Good Time to 2023-06-19T18:40:27
CHIP:ZCL: OpCreds: ACL entry created for Fabric index 0x1 CASE Admin Subject 0x5AEACF6F4442697C
CHIP:DIS: Advertise operational node 09BE3DC8C4CB6453-0000000065DA0B1A
CHIP:ZCL: OpCreds: successfully created fabric index 0x1 via AddNOC
CHIP:EM: <<< [E:52758r M:211543656] (S) Msg TX to 1:FFFFFFFB00000000 [6453] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543656 on secure session with LSID: 31230
CHIP:DL: Long dispatch time: 2046 ms, for event type 7
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 143)
CHIP:EM: >>> [E:52759r M:262942298] (S) Msg RX from 1:FFFFFFFB00000000 [6453] --- Type 0001:08 (IM:InvokeCommandRequest)
CHIP:EM: <<< [E:52759r M:211543657] (S) Msg TX to 1:FFFFFFFB00000000 [6453] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543657 on secure session with LSID: 31230
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 78)
CHIP:EM: >>> [E:52760r M:262942299] (S) Msg RX from 1:FFFFFFFB00000000 [6453] --- Type 0001:08 (IM:InvokeCommandRequest)
                        [TX  x52] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026736 > 6008)        [TX :x52|00811000|..|x52,0000]  680f -> ffff    (25)
                        [RXa:xfc|B0(0/1)|IT:001|213,0]  9001 -> 680f    (25)
                        [TXa x53] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026720 > 8184)        [TXa:x53|OK|x53,0000]   680f -> 9001    (25)
                        [RXa:xfd|B0(0/1)|IT:003|213,0]  9001 -> 680f    (25)
                        [RXa:xfe|B0(0/1)|IT:004|213,0]  9001 -> 680f    (25)
                        [RXa:xff|B0(0/1)|IT:005|213,0]  9001 -> 680f    (25)
CHIP:DL: SRP Client was started, detected server: fdb1:fa4c:e23f:e1dd:0000:00ff:fe00:fc11
CHIP:SVR: Joining Multicast groups
CHIP:EM: <<< [E:52760r M:211543658] (S) Msg TX to 1:FFFFFFFB00000000 [6453] --- Type 0001:09 (IM:InvokeCommandResponse)
CHIP:IN: (S) Sending msg 211543658 on secure session with LSID: 31230
CHIP:SVR: Joining Multicast groups
CHIP:DIS: Advertise operational node 09BE3DC8C4CB6453-0000000065DA0B1A
CHIP:SVR: Operational advertising enabled
(0009056 > 7960)        [TXa:x54|OK|x54,0000]   680f -> 9001    (25)
                        [RXa:x00|B0(0/1)|IT:007|213,0]  9001 -> 680f    (25)
(0013456 > 9016)        [TXa:x55|OK|x55,0000]   3802 -> 3800    (25)
                        [TXa x56] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026736 > 8952)        [TXa:x56|00010000|..|x56,0000]  3802 -> 3800    (25)
(0022800 > 8728)        [TXa:x57|OK|x57,0000]   3802 -> 3800    (25)
                        [RXa:x01|B0(0/1)|IT:010|213,0]  3800 -> 3802    (25)
CHIP:DIS: Setting operational delegate post init
CHIP:DIS: Updating services using commissioning mode 0
CHIP:DIS: Advertise operational node 09BE3DC8C4CB6453-0000000065DA0B1A
CHIP:DL: advertising srp service: 09BE3DC8C4CB6453-0000000065DA0B1A._matter._tcp
                        [TXa x58] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026736 > 9016)        [TXa:x58|OK|x58,0000]   3802 -> 3800    (25)
(0020208 > 8952)        [TXa:x59|00010000|..|x59,0000]  3802 -> 3800    (25)
(0016912 > 8952)        [TXa:x5a|OK|x5a,0000]   3802 -> 3800    (25)
                        [TXa x5b] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026752 > 8952)        [TXa:x5b|00010000|..|x5b,0000]  3802 -> 3800    (25)
(0024528 > 8760)        [TXa:x5c|OK|x5c,0000]   3802 -> 3800    (25)
                        [RXa:x02|B0(0/1)|IT:014|213,0]  3800 -> 3802    (25)
                        [RXa:x03|B0(0/1)|IT:015|213,0]  3800 -> 3802    (25)
                        [RXa:x04|B0(0/1)|IT:016|213,0]  3800 -> 3802    (25)
                        [RXa:x05|B0(0/1)|IT:017|213,0]  3800 -> 3802    (25)
CHIP:EM: >>> [E:52761r M:44722257] (U) Msg RX from 0:548E8160F8C0086E [0000] --- Type 0000:30 (SecureChannel:CASE_Sigma1)
CHIP:IN: CASE Server received Sigma1 message. Starting handshake. EC 0x20013078
CHIP:IN: CASE Server disabling CASE session setups
CHIP:EM: <<< [E:52761r M:5638959 (Ack:44722257)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 5638959 to IP address 'UDP:[fd54:892b:38eb:45c0:8dd:6524:16f7:4c14%ot]:60544'
CHIP:SC: Received Sigma1 msg
                        [TXa x5d] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026752 > 7640)        [TXa:x5d|CHIP:SC: CASE matched destination ID: fabricIndex 1, NodeID 0x0000000065DA0B1A
OK|x5d,0000]    3802 -> 3800    (25)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:EM: <<< [E:52761r M:5638960 (Ack:44722257)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:31 (SecureChannel:CASE_Sigma2)
CHIP:IN: (U) Sending msg 5638960 to IP address 'UDP:[fd54:892b:38eb:45c0:8dd:6524:16f7:4c14%ot]:60544'
CHIP:SC: Sent Sigma2 msg
CHIP:DL: Long dispatch time: 2977 ms, for event type 3
(0022560 > 8984)        [TXa:x5e|OK|x5e,0000]   3802 -> 3800    (25)
(0015744 > 8952)        [TXa:x5f|00010000|..|x5f,0000]  3802 -> 3800    (25)
(0013072 > 8952)        [TXa:x60|OK|x60,0000]   3802 -> 3800    (25)
                        [TXa x61] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026736 > 8952)        [TXa:x61|00010000|..|x61,0000]  3802 -> 3800    (25)
(0022800 > 8952)        [TXa:x62|OK|x62,0000]   3802 -> 3800    (25)
(0013456 > 7896)        [TXa:x63|00010000|..|x63,0000]  3802 -> 3800    (25)
                        [RX :x63|B0(0/1)|IT:022|213,0]  0100 -> 3802    (25)
                        [RXa:x06|B0(0/1)|IT:023|213,0]  3800 -> 3802    (25)
CHIP:EM: >>> [E:52761r M:44722258 (Ack:5638960)] (U) Msg RX from 0:548E8160F8C0086E [0000] --- Type 0000:40 (SecureChannel:StatusReport)
CHIP:SC: Received error (protocol code 2) during pairing process: 54
CHIP:IN: CASE Session establishment failed: 54
CHIP:EM: <<< [E:52761r M:5638961 (Ack:44722258)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 5638961 to IP address 'UDP:[fd54:892b:38eb:45c0:8dd:6524:16f7:4c14%ot]:60544'
CHIP:IN: CASE Server enabling CASE session setups
(0025952 > 7640)        [TXa:x64|OK|x64,0000]   3802 -> 3800    (25)
                        [RXa:x07|B0(0/1)|IT:025|213,0]  3800 -> 3802    (25)
                        [RXa:x08|B0(0/1)|IT:026|213,0]  3800 -> 3802    (25)
                        [RXa:x09|B0(0/1)|IT:027|213,0]  3800 -> 3802    (25)
CHIP:EM: >>> [E:52762r M:44722259] (U) Msg RX from 0:8C45BBBCE23ADD54 [0000] --- Type 0000:30 (SecureChannel:CASE_Sigma1)
CHIP:IN: CASE Server received Sigma1 message. Starting handshake. EC 0x20013078
CHIP:IN: CASE Server disabling CASE session setups
CHIP:EM: <<< [E:52762r M:5638962 (Ack:44722259)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 5638962 to IP address 'UDP:[fd54:892b:38eb:45c0:8dd:6524:16f7:4c14%ot]:60544'
CHIP:SC: Received Sigma1 msg
(0019008 > 7640)        [TXa:x65|OKCHIP:SC: CASE matched destination ID: fabricIndex 1, NodeID 0x0000000065DA0B1A
|x65,0000]      3802 -> 3800    (25)
CHIP:EM: <<< [E:52762r M:5638963 (Ack:44722259)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:31 (SecureChannel:CASE_Sigma2)
CHIP:IN: (U) Sending msg 5638963 to IP address 'UDP:[fd54:892b:38eb:45c0:8dd:6524:16f7:4c14%ot]:60544'
CHIP:SC: Sent Sigma2 msg
CHIP:DL: Long dispatch time: 2980 ms, for event type 3
                        [TXa x66] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026752 > 8984)        [TXa:x66|OK|x66,0000]   3802 -> 3800    (25)
(0018336 > 8952)        [TXa:x67|00010000|..|x67,0000]  3802 -> 3800    (25)
(0014720 > 8952)        [TXa:x68|OK|x68,0000]   3802 -> 3800    (25)
                        [TXa x69] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0026928 > 8952)        [TXa:x69|00010000|..|x69,0000]  3802 -> 3800    (25)
(0024448 > 8952)        [TXa:x6a|OK|x6a,0000]   3802 -> 3800    (25)
(0011040 > 7896)        [TXa:x6b|00010000|..|x6b,0000]  3802 -> 3800    (25)
                        [RX :x6b|B0(0/1)|IT:032|213,0]  0100 -> 3802    (25)
                        [RXa:x0a|B0(0/1)|IT:033|213,0]  3800 -> 3802    (25)
CHIP:EM: >>> [E:52762r M:44722260 (Ack:5638963)] (U) Msg RX from 0:8C45BBBCE23ADD54 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
CHIP:SC: Received error (protocol code 2) during pairing process: 54
CHIP:IN: CASE Session establishment failed: 54
CHIP:EM: <<< [E:52762r M:5638964 (Ack:44722260)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
CHIP:IN: (U) Sending msg 5638964 to IP address 'UDP:[fd54:892b:38eb:45c0:8dd:6524:16f7:4c14%ot]:60544'
CHIP:IN: CASE Server enabling CASE session setups
                        [TXa x6c] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0025744 > 7640)        [TXa:x6c|OK|x6c,0000]   3802 -> 3800    (25)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
                        [RX :x0c|B0(0/1)|IT:035|213,0]  9001 -> ffff    (25)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:DL: Write request received for CHIPoBLE Client RX characteristic (con 2049, len 3)
CHIP:FS: Fail-safe timer expired
CHIP:SVR: Failsafe timer expired
CHIP:SC: SecureSession[0x200118b8]: Moving from state 'kActive' --> 'kPendingEviction'
CHIP:SVR: Commissioning failed (attempt 1): 32
CHIP:BLE: Releasing end point's BLE connection back to application.
CHIP:DL: Closing BLE GATT connection con 45324
CHIP:DIS: Updating services using commissioning mode 1
CHIP:DIS: Advertise operational node 09BE3DC8C4CB6453-0000000065DA0B1A
CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32772 discriminator=2560/10 cm=1
CHIP:DL: advertising srp service: ABE533CEB8F05FA2._matterc._udp
CHIP:ZCL: OpCreds: Got FailSafeTimerExpired
CHIP:ZCL: OpCreds: Proceeding to FailSafeCleanup on fail-safe expiry!
CHIP:FP: Reverting pending fabric data for fabric 0x1
CHIP:FP: Warning: metadata not found during delete of fabric 0x1
CHIP:FP: Fabric (0x1) deleted.
CHIP:ZCL: UserLabel: Last Fabric index 0x1 was removed
CHIP:ZCL: OpCreds: Fabric index 0x1 was removed
CHIP:TS: Pending Last Known Good Time: 2023-06-19T18:40:27
CHIP:TS: Previous Last Known Good Time: 2023-06-19T13:17:17
CHIP:TS: Reverted Last Known Good Time to previous value
CHIP:FP: Warning: metadata not found during delete of fabric 0x1
CHIP:ZCL: OpCreds: failed to delete fabric at index 1: d8
CHIP:NP: Reverting Thread operational dataset
CHIP:FS: Fail-safe cleanly disarmed

[RTSM] - BLE LL FSM 2 -> 0
[RTSM] - BLE LL FSM 2 -> 0
[RTSM] - BLE DISCONNECTION Reason : BLE_REASON_MASTER_CLOSE => Task to switch Radio
[RTSM] - TASK Trigged Switch => Radio granted to 15.4
** DISCONNECTION EVENT WITH CLIENT
CHIP:DL: Gap disconnect
CHIP:DL: CHIPoBLE start advertising
CHIP:DL: state return update adv: 0
First index in 0 state

[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE LL FSM 0 -> 1
[RTSM] - BLE APPLICATION STARTS ADV => Radio granted to BLEcheck set discoverable , result: 0
Successfully Start Fast Advertising
                        [TX  x6d] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0091744 > 6008)        [TX :x6d|00811000|..|x6d,0000]  680f -> ffff    (25)
                        [RXa:x0e|B0(0/1)|IT:036|224,0]  9001 -> 680f    (25)
                        [TXa x6e] -> #CAF:0 So ST_Dynamic_otPlatRadioTransmit() Pending...
(0090752 > 8472)        [TXa:x6e|OK|x6e,0000]   680f -> 9001    (25)
                        [RXa:x0f|B0(0/1)|IT:038|224,0]  9001 -> 680f    (25)
                        [RXa:x10|B0(0/1)|IT:039|224,0]  9001 -> 680f    (25)
                        [RXa:x11|B0(0/1)|IT:040|224,0]  9001 -> 680f    (25)
(0064352 > 9016)        [TXa:x6f|OK|x6f,0000]   3802 -> 3800    (25)
(0056864 > 8952)        [TXa:x70|00010000|..|x70,0000]  3802 -> 3800    (25)
(0052928 > 8952)        [TXa:x71|OK|x71,0000]   3802 -> 3800    (25)
(0042288 > 8952)        [TXa:x72|00010000|..|x72,0000]  3802 -> 3800    (25)
(0038656 > 8952)        [TXa:x73|OK|x73,0000]   3802 -> 3800    (25)
(0028032 > 7864)        [TXa:x74|00010000|..|x74,0000]  3802 -> 3800    (25)
                        [RX :x74|B0(0/1)|IT:044|224,0]  9001 -> 680f    (25)
                        [RXa:x12|B0(0/1)|IT:045|224,0]  3800 -> 3802    (25)
                        [RX :x13|B0(0/1)|IT:046|213,0]  9001 -> ffff    (25)
                        [RX :x14|B0(0/1)|IT:047|213,0]  9001 -> ffff    (25)
                        [RX :x15|B0(0/1)|IT:048|217,0]  9001 -> ffff    (25)

[RTSM] - 0000061e|0|0

Cannot reconnect when power is turned off after commissioning

Environment 

  • NUCLOE-WB55RG
  • Home Pod mini
  • iPhone SE

Reproduction steps

  1. Clone stm32wb-matter-device-over-thread Tags v1.0.0.
  2. Build the cloned git usin
    ConnectionErrorWhenRepowering.log
    g STM32CubuIDE.
  3. Write the following binaries using STMcubuProgrammer (written binaries and locations are listed below).
  • stm32wb5x_BLE_Thread_ForMatter_fw.bin [0x0807F000] because FUS Version is v1.2.0.0
  • Lighting-App.bin or Window-App.bin [0x08000000]
  1. Perform commissioning using the iPhone Home app and successful commissioning and control of the device.
  2. The device cannot rejoin the Thread Network when the device is turned off or the reset button is pressed and the device is turned on again.
    The log on the serial at this time is attached.

Bug prevalence

Always

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.