Giter VIP home page Giter VIP logo

silk's Introduction

OpenThread Build Simulation Docker Coverage Status


What is OpenThread?

OpenThread released by Google is... Thread Certified Component

...an open-source implementation of the Thread networking protocol. Google Nest has released OpenThread to make the technology used in Nest products more broadly available to developers to accelerate the development of products for the connected home.

...OS and platform agnostic, with a narrow platform abstraction layer and a small memory footprint, making it highly portable. It supports both system-on-chip (SoC) and network co-processor (NCP) designs.

...a Thread Certified Component, implementing all features defined in the Thread 1.3.0 specification, including all Thread networking layers (IPv6, 6LoWPAN, IEEE 802.15.4 with MAC security, Mesh Link Establishment, Mesh Routing) and device roles, as well as Border Router support.

More information about Thread can be found at threadgroup.org. Thread is a registered trademark of the Thread Group, Inc.

Who supports OpenThread?

AmazonAqaraARMCascodaEeroEspressifGoogleInfineonMMB NetworksNabu CasaNanoleafNordicNXPQorvoQualcommSamsungSilicon LabsSTMicroelectronicsSynopsysTelink SemiconductorTexas InstrumentsZephyr Project

Getting started

All end-user documentation and guides are located at openthread.io. If you're looking to do things like...

  • Learn more about OpenThread features and enhancements
  • Use OpenThread in your products
  • Learn how to build and configure a Thread network
  • Port OpenThread to a new platform
  • Build an application on top of OpenThread
  • Certify a product using OpenThread

...then openthread.io is the place for you.

Note: For users in China, end-user documentation is available at openthread.google.cn.

If you're interested in contributing to OpenThread, read on.

Contributing

We would love for you to contribute to OpenThread and help make it even better than it is today! See our Contributing Guidelines for more information.

Contributors are required to abide by our Code of Conduct and Coding Conventions and Style Guide.

License

OpenThread is released under the BSD 3-Clause license. See the LICENSE file for more information.

Please only use the OpenThread name and marks when accurately referencing this software distribution. Do not use the marks in a way that suggests you are endorsed by or otherwise affiliated with Nest, Google, or The Thread Group.

Need help?

OpenThread support is available on GitHub:

silk's People

Contributors

ctan-g avatar dependabot[bot] avatar jenniexie avatar jwhui avatar priyankach22 avatar qilinkang avatar tzm41 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silk's Issues

Issue following "Testing a Thread Network with Visualization" codelab

Following this codelab.

On page 6 the instructions are sparse. I got a test to run but I'm getting an EM copied below.

I don't have a j-link device, and I'm not sure where to find the DUTserial for hwconfig.ini. Are either of those two missing requirements causing this issue? Or is there something else im missing? I don't see anywhere to define a port. I do see clusters.conf but I'm not sure what to put for the port in that.

purvisb@purvisb-linux:/opt/openthread_test$ sudo python3 ~/git/silk/silk/unit_tests/silk_run_test.py 
Setting results dir to /opt/openthread_test/results/silk_run_10-31/test_run_on_10-31-21:50/
Setting OTNS server host to localhost
Found 5 test cases.
Running tests...
[2021-10-31 21:50:04,791] [silk] [INFO] Log dest: /opt/openthread_test/results/silk_run_10-31/test_run_on_10-31-21:50/2021-10-31_21.50.04_TestFormNetwork
[2021-10-31 21:50:04,791] [silk] [INFO] SET UP CLASS TestFormNetwork
[2021-10-31 21:50:04,791] [silk.otnsManager.gRPCClient] [DEBUG] Starting gRPC client with address localhost:8999
[2021-10-31 21:50:04,792] [silk.otnsManager] [INFO] OTNS manager created, connect 192.168.0.3 to localhost.
[2021-10-31 21:50:04,792] [silk.otnsManager.gRPCClient] [INFO] Sending cmd: title "TestFormNetwork.set_up" x 0 y 20 fs 20
[2021-10-31 21:50:04,804] [silk.otnsManager.gRPCClient] [INFO] Sent cmd: title "TestFormNetwork.set_up" x 0 y 20 fs 20, resp: output: "Done"
[2021-10-31 21:50:04,804] [silk.otnsManager.gRPCClient] [INFO] Sending cmd: speed 1.0
[2021-10-31 21:50:04,815] [silk.otnsManager.gRPCClient] [INFO] Sent cmd: speed 1.0, resp: output: "Done"
[2021-10-31 21:50:04,896] [silk] [INFO] ########## List all available dev boards ##########
[2021-10-31 21:50:04,897] [silk] [INFO] 1915:cafe Nordic_Semiconductor             nRF528xx_OpenThread_Device          ECCFCD37CB31                                         /dev/bus/usb/005/022
1915:cafe Nordic_Semiconductor             nRF528xx_OpenThread_Device          ECCFCD37CB31                                     01  /dev/ttyACM3

Failed to add Dev-8A7D
Failed to add Dev-8A7D
[2021-10-31 21:50:04,932] [silk] [ERROR]   File "/usr/local/lib/python3.8/dist-packages/silk-1.0.0-py3.8.egg/silk/tests/testcase.py", line 250, in wrapper
[2021-10-31 21:50:04,932] [silk] [ERROR]     func(*args, **kwargs)
[2021-10-31 21:50:04,932] [silk] [ERROR]   File "/opt/openthread_test/ot_test_form_network.py", line 52, in setUpClass
[2021-10-31 21:50:04,932] [silk] [ERROR]     cls.hardware_select()
[2021-10-31 21:50:04,932] [silk] [ERROR]   File "/opt/openthread_test/ot_test_form_network.py", line 34, in hardware_select
[2021-10-31 21:50:04,932] [silk] [ERROR]     cls.router = ffdb.ThreadDevBoard()
[2021-10-31 21:50:04,932] [silk] [ERROR]   File "/usr/local/lib/python3.8/dist-packages/silk-1.0.0-py3.8.egg/silk/node/fifteen_four_dev_board.py", line 142, in __init__
[2021-10-31 21:50:04,932] [silk] [ERROR]     self.get_device(sw_version=sw_version)
[2021-10-31 21:50:04,932] [silk] [ERROR]   File "/usr/local/lib/python3.8/dist-packages/silk-1.0.0-py3.8.egg/silk/node/fifteen_four_dev_board.py", line 626, in get_device
[2021-10-31 21:50:04,932] [silk] [ERROR]     self.device_path = self.device.port()
[2021-10-31 21:50:04,932] [silk] [ERROR] Hardware Configuration Error !!!
[2021-10-31 21:50:04,932] [silk] [INFO] ======================================================================
[2021-10-31 21:50:04,932] [silk] [INFO] ==================== CHECK HARDWARE CONFIGURATION ===================
[2021-10-31 21:50:04,932] [silk] [INFO] ======================================================================
[2021-10-31 21:50:04,932] [silk] [INFO] TestFormNetwork....................................FAILED SETUPCLASS
[2021-10-31 21:50:04,932] [silk] [INFO] ======================================================================


========================================================================
===================== HARDWARE TEST SET-UP ERRORS ======================
========================================================================
setUpClass (ot_test_form_network.TestFormNetwork)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/silk-1.0.0-py3.8.egg/silk/tests/testcase.py", line 250, in wrapper
    func(*args, **kwargs)
  File "/opt/openthread_test/ot_test_form_network.py", line 52, in setUpClass
    cls.hardware_select()
  File "/opt/openthread_test/ot_test_form_network.py", line 34, in hardware_select
    cls.router = ffdb.ThreadDevBoard()
  File "/usr/local/lib/python3.8/dist-packages/silk-1.0.0-py3.8.egg/silk/node/fifteen_four_dev_board.py", line 142, in __init__
    self.get_device(sw_version=sw_version)
  File "/usr/local/lib/python3.8/dist-packages/silk-1.0.0-py3.8.egg/silk/node/fifteen_four_dev_board.py", line 626, in get_device
    self.device_path = self.device.port()
AttributeError: 'NoneType' object has no attribute 'port'



========================================================================
========================== TEST RESULTS RECAP ==========================
========================================================================
========================================================================


========================================================================
=============================== SUMMARY ================================
========================================================================
Start time:     Sun Oct 31 21:50:04 2021
End time:       Sun Oct 31 21:50:04 2021
Execution time: 00:00:00
Tests skipped:  0
Tests errors:   1
Tests run:      0
Tests passed:   0
Tests failed:   0

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.