Comments (9)
Finally find the root cause from your log. The baudrate in our setting is not match with ioter. Normally the baudrate is 115200 or 460800.
After we update the baudrate to 1000000 in RCP dongle, it can works, even in VM.
Thanks for you update. It will be better if having interface to set baudrate in ioter.
from ioter.
@wilbur-se
RCP dongle connection seems to have failed.
I guess it's a dongle issue or the environment issue related to VM ware.
Can you run otbr-agent in your VM environment ?
from ioter.
RCP can works in Raspberry PI (Matter Test-Harness) to run OTBR. So the RCP dongle should have right firmware.
I have not test OTBR in my VM, maybe I can try it.
from ioter.
I try to use docker to run ioter under ubuntu(non VM), it still have same issue.
from ioter.
https://github.com/Samsung/ioter/blob/main/docs/guides/DOCKER.md
-> I think you already read this guide, but if not, please, check this guide.
Can you tell me that you can run otbr-agent with docker ?
Can you share the ioter log with log level 5 ? You can find log files under your_git_source_folder/tmp
.
I don't know if it was because of permission issues, but I need to check your log to find the root cause.
from ioter.
Yes, I setup ioter docker based on the guide.
I just test otbr-agent in Raspberry PI. My ubuntu in PC have not install otbr-agent.
The log is testing in ubuntu PC:
230713-1458-lightbulb-0.log
230713-1458-ioter.log
from ioter.
I could not find any clues from your log. It was showing just communication errors.
This log was captured on my PC. I ran ioter with silabs dongle.
230714-1051-lightbulb-0.log
You can also get some ioter logs from /var/log/syslog
.
junyong@junyong:/var/log$ cat /var/log/syslog | grep chip-all-clusters-app
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: otSysGetInstance
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: Wait for signal to initialise openthread stack !!!
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: Inside pThreadOtMainLoop
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: find empty interface [/sys/class/net/wpan0]
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: interface found [wpan0]
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: radio device found [/dev/ttyACM0]
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: radio Url found [spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000]
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: ot log level [5]
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: Running OPENTHREAD/thread-reference-20230119-484-g503e299f8; POSIX; Jun 30 2023 12:35:20
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: Thread version: 4
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: Thread interface: wpan0
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: RCP version: SL-OPENTHREAD/2.2.0.0_GitHub-91fa1f455; EFR32; Dec 21 2022 08:33:29
Jul 14 10:51:31 junyong chip-all-clusters-app-fed: otThread : gThreadId[139721349666368]
Jul 14 10:51:51 junyong chip-all-clusters-app-fed: terminate thread mainloop : exit
I hope you would find some clues through my log.
Plus, I wasn't sure, but, I guess the problem happened because the your rcp firmware is old.
I am using RCP API version 6 for my dongle. If you want, I can share my firmware with you. My silabs dongle is Silabs thunderBoardSense2.
[2023-07-14 10:51:31.531575][1967664:1967671] openthread: 59d.16:14:05.638 [D] Platform------: Received spinel frame, flg:0x2, tid:5, cmd:PROP_VALUE_IS, key:RCP_API_VERSION, version:6
from ioter.
Also, you can check whether or not your dongle is attached well via dmesg.
$ sudo dmesg
...
[861009.900957] usb 3-2.2.2: new full-speed USB device number 71 using xhci_hcd
[861010.052356] usb 3-2.2.2: New USB device found, idVendor=1366, idProduct=1015, bcdDevice= 1.00
[861010.052361] usb 3-2.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[861010.052363] usb 3-2.2.2: Product: J-Link OB
[861010.052364] usb 3-2.2.2: Manufacturer: Silicon Labs
[861010.052365] usb 3-2.2.2: SerialNumber: 000440225062
[861010.073804] cdc_acm 3-2.2.2:1.0: ttyACM0: USB ACM device
[861010.074619] usb-storage 3-2.2.2:1.3: USB Mass Storage device detected
[861010.075554] scsi host0: usb-storage 3-2.2.2:1.3
[861011.085850] scsi 0:0:0:0: Direct-Access SEGGER MSD Volume 1.00 PQ: 0 ANSI: 4
[861011.086206] sd 0:0:0:0: Attached scsi generic sg0 type 0
[861011.086958] sd 0:0:0:0: [sda] 21829 512-byte logical blocks: (11.2 MB/10.7 MiB)
[861011.088151] sd 0:0:0:0: [sda] Write Protect is off
[861011.088154] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
...
from ioter.
Cool !
I configured the baudrate to 1000000 so we could support nxp dongle and other dongles. junyong-sim/openthread@503e299
Please, let me know if you have the any other opinions when it comes to the baudrate.
from ioter.
Related Issues (20)
- Make the slider move when the user presses the arrow
- Delete things device
- Changing a message when close the device window that onboarding has finished
- Saving logs to file
- [Light Bulb] Max value of color Temp. is different from SmartThings HOT 2
- [Light Bulb] Color Temperature is different HOT 1
- Replace from status label to QStatusBar HOT 1
- [BUG] If generated closing popup isn't clicked when device window closed, the automated test doesn't go any more.
- [AutoOnboarding] Result dialog issue HOT 1
- support ESP32-S2-DevKitM-1 HOT 1
- [WindowCovering] OnFabricRemoved is not handled HOT 1
- [AutoOnboarding] Device dialog is closed when phone disconnects with ioter PC HOT 1
- update OT APIs
- [Window Covering] Not normal operation
- Only one device can be onboarded at a time HOT 1
- Some device's pairing code are duplicated HOT 1
- [BUG] BT interface numbering (hci) can't follow device number HOT 1
- [BUG] Onboarding fails from 2nd device HOT 1
- Remove unused logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ioter.