Inquiry About Companion Connection Error

I am experiencing an issue with my project involving Bluetooth Low Energy (BLE) and a Microbit temperature sensor. I have attached a screenshot of my block-based programming environment for your reference. Despite following the standard procedures, I encounter a "Companion Connection Error" as shown in the image.

Could you please assist me in understanding why this error is occurring and how I can resolve it?


Which approach are you using to connect? If you're using the companion app by scanning the QR code, are you using the standard connection or legacy connection (i.e., is the use legacy connection box checked?)

YES. I'm using the companion app by scanning the QR code, and I checked the use legacy connection box.

Added micro:bit extensions provided by App Inventor. Why doesn't the code that worked two years ago work now?
For example, the attached block code does not get the temperature value from the micro:bit. ("when Microbit_Temperature1.TemperatureReceived" block)

For reference, the Bluetooth connection related code is fine. ("whe BluetoothLE1.Connected" block)

And I added the Bluetooth function to the micro:bit using the makecode editor.