Smart supermarket toy implementation for Networked Embedded Systems exam on Launchpad CC2650 with contiki-ng
Go to file
George Oikonomou ffcd04d413 Add motelist as a submodule
This commit adds contiki-ng/motelist as a submodule under tools/motelist.

The tool aims to automatically detect and output a list of sensor/IoT devices connected to a computer. It has been developed and tested in OSX and Ubuntu. There is currently no support for Cygwin, nor does the tool's author plan to provide such in the future :). The tool is expected to work with Python 2.7 and 3+. It has been tested and successfully detects CC26xx Launchpads and Zolertia RE-Mote and Firefly devices.

Motelist's ultimate goal is to replace vendor-specific motelist-foo tools under the respective tools/ subdirectories, with a single tool that can detect as many devices as possible and that provides its output in a homogenous and script-friendly format. This pull does not remove anything until the new motelist has been tested and found useful.

Unless stated otherwise within individual files, motelist sources are distributed under the terms of the 3-clause BSD license.

Some parts of motelist.py (especially the Linux backend), are based on ideas and original work done by Janis Judvaitis and Atis Elsts.

## Usage
```bash
$ python motelist.py -h
usage: motelist.py [-c] [-o] [-b] [-h] [-v]

Automatically detect and print out a list of motes connected to this computer

optional arguments:
  -c, --csv          Print list in CSV format
  -o, --omit-header  Omit header row
  -b, --brief        Only print serial port paths
  -h, --help         Show this message and exit
  -v, --version      Prints software version

```

Standard output:
```bash
$ python motelist.py
Port          Serial              VID     PID     Product                              Vendor
------------  ------------------  ------  ------  -----------------------------------  -----------------
/dev/ttyACM0  L200015Z            0x0451  0xBEF3  XDS110 (02.02.05.01) with CMSIS-DAP  Texas Instruments
/dev/ttyACM1  L200015Z            0x0451  0xBEF3  XDS110 (02.02.05.01) with CMSIS-DAP  Texas Instruments
/dev/ttyUSB0  ZOL-B001-A20000777  0x10C4  0xEA60  Zolertia Firefly platform            Silicon Labs
```

You can get the output in CSV format:
```bash
$ python motelist.py -c
Port;Serial;VID;PID;Product;Vendor
/dev/ttyUSB0;ZOL-B001-A20000777;0x10C4;0xEA60;Zolertia Firefly platform;Silicon Labs
/dev/ttyACM0;L200015Z;0x0451;0xBEF3;XDS110 (02.02.05.01) with CMSIS-DAP;Texas Instruments
/dev/ttyACM1;L200015Z;0x0451;0xBEF3;XDS110 (02.02.05.01) with CMSIS-DAP;Texas Instruments

```

You can ommit the header row with `-o`. You can also ommit all columns
except the first one with `-b`. You can also combine the `-cob` options:
```bash
$ python motelist.py -ob
/dev/ttyUSB0
/dev/ttyACM0
/dev/ttyACM1
```
2018-08-04 14:43:22 +01:00
arch rx full IRQ handling for cc13xx/cc26xx 2018-06-05 13:14:00 +02:00
examples Changed default values for dynamic adaptation and Q-Mode objects 2018-06-27 09:36:00 +02:00
os uip_icmp6_send: move log messages at the end of function. 2018-07-06 13:46:36 +09:00
tests Added compile test for example libs/deployment 2018-06-06 15:38:26 +02:00
tools Add motelist as a submodule 2018-08-04 14:43:22 +01:00
.gitattributes
.gitignore Add support for documentation on readthedocs.io 2018-06-05 21:10:01 +01:00
.gitmodules Add motelist as a submodule 2018-08-04 14:43:22 +01:00
.travis.yml Merge branch 'develop' into contrib/readthedocs 2018-06-05 22:04:25 +01:00
CONTRIBUTING.md CONTRIBUTING.md: link to wiki where the content has moved 2017-10-29 08:55:23 +01:00
LICENSE.md Enable license auto-detection 2018-06-23 13:35:22 +01:00
Makefile.embedded Document the various top-level Makefiles 2018-05-26 14:13:06 +01:00
Makefile.identify-target Document the various top-level Makefiles 2018-05-26 14:13:06 +01:00
Makefile.include Merge branch 'develop' into contrib/tools/viewconf 2018-05-28 20:53:14 +02:00
Makefile.tools Use $(MAKE) instead of make to invoke recursively 2018-05-27 19:21:08 +01:00
README.md Enable license auto-detection 2018-06-23 13:35:22 +01:00

Contiki-NG: The OS for Next Generation IoT Devices

Build Status license Latest release GitHub Release Date Last commit

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. It focuses on dependable (secure and reliable) low-power communication and standard protocols, such as IPv6/6LoWPAN, 6TiSCH, RPL, and CoAP. Contiki-NG comes with extensive documentation, tutorials, a roadmap, release cycle, and well-defined development flow for smooth integration of community contributions.

Unless excplicitly stated otherwise, Contiki-NG sources are distributed under the terms of the 3-clause BSD license. This license gives everyone the right to use and distribute the code, either in binary or source code format, as long as the copyright license is retained in the source code.

Contiki-NG started as a fork of the Contiki OS and retains some of its original features.

Find out more:

Engage with the community: