Commit Graph

2613 Commits

Author SHA1 Message Date
Simon Duquennoy a2b7b996e4
Merge branch 'develop' into contrib/uip-cleanup 2018-10-29 10:18:10 +01:00
Yasuyuki Tanaka 0bcdd39cc6 Rename 'arch/cpu/cc26xx-cc13xx' to 'arch/cpu/cc26x0-cc13x0' 2018-10-23 13:32:03 -07:00
Simon Duquennoy 8456c544d8 Simplify uip.h definitions 2018-10-18 20:26:12 +02:00
Simon Duquennoy ea32ab0f12 Removed UIP_LLH_LEN 2018-10-18 20:26:12 +02:00
Simon Duquennoy 999e7dc3a7 Rework uip6.c 2018-10-18 20:26:11 +02:00
Simon Duquennoy aaf06754ea uipbuf_set_len_field 2018-10-18 15:50:54 +02:00
Simon Duquennoy d4bc09e002 Move function for clearing uip_buf to uipbuf module 2018-10-18 15:50:54 +02:00
Simon Duquennoy 01b795a4c2 Rework uIP6 extension header options access 2018-10-17 17:07:17 +02:00
Simon Duquennoy 2f9b60215e Removing tcpip and udpip data strcutures, unsafe in cases with IPv6 extension headers 2018-10-17 11:22:05 +02:00
Simon Duquennoy 1bd9ac781b Define ICMP, UDP, and TCP buffer pointers globally in uip.h 2018-10-17 11:18:32 +02:00
Simon Duquennoy caa02ae51e Define UIP_IP_BUF globally in uip.h 2018-10-17 11:18:32 +02:00
George Oikonomou 882bfd083d Delete the zolertia-specific motelist 2018-10-16 22:03:59 +01:00
Simon Duquennoy 5497dc1e20 TSCH: timeslot timings as a structure, for flexible configuration 2018-10-04 10:50:09 +02:00
George Oikonomou c29cfc256e
Merge branch 'develop' into null-character 2018-09-17 11:13:22 +01:00
Rehan MALAK ee9d123842 update uncrustify configuration 2018-09-13 11:12:36 +02:00
Rehan MALAK 9a5373f267 fix indentation 2018-09-13 10:02:36 +02:00
Rehan MALAK 163f455fc7 add '\0' terminal character 2018-09-13 10:02:36 +02:00
Edvard Pettersen 5ea0c80ae1
Merge branch 'develop' into contrib/ti-simplelink 2018-09-12 09:27:43 +02:00
Edvard Pettersen 232fbd4c98 Fixed travis errors 2018-08-31 16:39:20 +02:00
Edvard Pettersen c8edacdd6d Added doxygen exclude of Core SDK 2018-08-31 11:06:32 +02:00
George Oikonomou 8930ca7b2d Update cc2538-bsl to latest
This commit updates cc2538-bsl to its latest version. This latest version improves CC2640R2 detection and also adds support for detection of more chip packages.
2018-08-22 23:39:41 +01:00
Simon Duquennoy c17d92ea36
Merge branch 'develop' into contrib/motelist 2018-08-17 10:54:02 +02:00
Simon Duquennoy eedcac75c2
Merge branch 'develop' into contrib/vagrant-with-usbserial 2018-08-14 15:40:54 +02:00
Joakim Eriksson 00cd589c84
Merge branch 'develop' into contrib/ci-frag-large 2018-08-11 00:16:00 +02:00
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
George Oikonomou f73fc7d0e0 Install linux kernel image extras 2018-08-03 23:23:14 +01:00
George Oikonomou 6f65063306 Bootstrap the vagrant image with a single apt install 2018-08-03 23:22:57 +01:00
George Oikonomou 14225300fc Specify default tun/tap name on Mac OS
e5c7437 fixed a bug that was preventing multiple instances of tunslip6 from running. This same commit however broke tunslip6 on Mac OS, as documented in contiki-os/contiki#1560 as well as in contiki-ng/contiki-ng#466

Basically the commit in question merely removed some code. This commit puts that code back in, but makes it conditional for Mac OS.

Fixes #466
2018-06-24 16:29:47 +01:00
Yasuyuki Tanaka f325d44964 Dockerfile: add gdb 2018-06-09 23:16:32 +02:00
George Oikonomou b0f5640101 Update cc2538-bsl to latest version 2018-06-07 12:56:34 +01:00
George Oikonomou c0fe6216f6 Update the dockerfile to install packages required for readthedocs builds/tests 2018-06-05 21:11:40 +01:00
George Oikonomou 57692d21f9 Add support for documentation on readthedocs.io 2018-06-05 21:10:01 +01:00
Simon Duquennoy e71bc0a818 Update Cooja to latest 2018-06-05 13:05:20 +02:00
Simon Duquennoy bf11c827b0 Docker: by default, build non-standalone image (contiki-ng as a mount) 2018-06-04 21:18:07 +02:00
Simon Duquennoy 1f4d4ee7cf
Merge branch 'develop' into contrib/tools/viewconf 2018-05-28 20:53:14 +02:00
George Oikonomou 5d234e1138 Move viewconf to its own dir 2018-05-27 18:33:53 +01:00
George Oikonomou 8daaa357f5 Remove makefsdata 2018-05-27 18:33:35 +01:00
George Oikonomou 3e3cb08c7f Move serialdump and tunslip6 to their own subdir 2018-05-26 15:27:25 +01:00
George Oikonomou e1a81808df Remove tools/timestamp, which is no longer in use 2018-05-26 13:55:03 +01:00
George Oikonomou da9b35e815 Change time format output 2018-05-26 13:55:03 +01:00
George Oikonomou 4d97186df2 Support tunslip6 and serialdump with a single makefile 2018-05-26 13:55:02 +01:00
George Oikonomou 93608baed4 Improve baudrate handling 2018-05-26 13:49:36 +01:00
George Oikonomou b2bd5ed662 Tidy-up handling of O_SYNC and O_DIRECT 2018-05-26 13:49:35 +01:00
George Oikonomou 64ad54d692 Fix usage string 2018-05-26 13:46:50 +01:00
George Oikonomou aa926ee288 Remove dead code block 2018-05-26 13:46:50 +01:00
George Oikonomou a81ff510f5 Provide a macro for the unknown baudrate 2018-05-26 13:46:49 +01:00
George Oikonomou 5c65a07c56 Fix serialdump code style 2018-05-26 13:46:49 +01:00
George Oikonomou a8f392ffa7 Move serialdump source to the top-level tools dir 2018-05-26 13:46:49 +01:00
George Oikonomou 31ceb23f3a Remove sky serialdump makefile and binaries 2018-05-26 13:46:49 +01:00
George Oikonomou cf8d2b6f13 Remove jn516x serialdump source, makefile and binaries 2018-05-26 13:46:49 +01:00