how to access device console & send commands

AnonTheEngenius
Posts: 8
Joined: Sun Aug 27, 2023 6:35 pm

how to access device console & send commands

Postby AnonTheEngenius » Sun Nov 19, 2023 11:20 pm

Chip: Esp32c3
PC: M2 Macbook air
IDE: esp-idf in vs code

I have built an esp-matter example and flashed it successfully to my chip. Now im trying to connect to the chip via the chip tool. However using the

Code: Select all

pairing code-wifi 0x7283 <ssid> <passphrase> 34970112332
line doesnt work as i get the error:

Code: Select all

[1700432472485] [68094:2862204] [BLE] BLE:Error writing Characteristics in Chip service on the device: [The specified UUID is not allowed for this operation.]
[1700432472485] [68094:2862457] [IN] Failed to establish BLE connection: src/platform/Darwin/BleConnectionDelegateImpl.mm:484: Ble Error 0x00000407: GATT write characteristic operation failed
So i want to try to connect the chip to wifi and then connect the chip tool with the chip already in the same wifi, since allegedly there have been issues with ble on Macs.
In order to do so it says herehttps://docs.espressif.com/projects/esp ... ce-console to use the device console to send this command:

Code: Select all

matter esp wifi connect <ssid> <password>
.
However i cannot find any documentation on how to use or open or even find this device console. I assumed it is the normal monitor that can be accessed via idf.py monitor but that wont let me send any commands to the device. I can only see the what the device is sending to me...

Does anybody have an idea here?

(Feedback to Espressif: The bad documentation and unintuitiveness of the ide is driving me crazy)

ansonfever
Posts: 2
Joined: Fri Mar 31, 2023 9:13 am

Re: how to access device console & send commands

Postby ansonfever » Mon Apr 15, 2024 2:06 am

with using idf.py monitor, you can send the command inside the console.

Who is online

Users browsing this forum: No registered users and 16 guests