Commit Graph

14182 Commits

Author SHA1 Message Date
Afonso Oliveira
f6fff896fc add const qualifier to tests that require it 2018-09-08 01:14:22 +01:00
Afonso Oliveira
a3ccbbe994 Merge branch 'develop' of https://github.com/contiki-ng/contiki-ng into develop 2018-09-08 00:14:23 +01:00
George Oikonomou
52871d7e5f
Merge pull request #643 from lafka/lafka-configurable-radio
Make cc26xx radio driver configurable in prop mode operation
2018-09-08 00:08:21 +01:00
George Oikonomou
8624f83cd5
Merge branch 'develop' into lafka-configurable-radio 2018-09-07 22:57:41 +01:00
Afonso Oliveira
57f1042bf3 add qualifier const to uip-ds6-route methods 2018-09-07 16:39:53 +01:00
Simon Duquennoy
86c3db944e
Merge pull request #639 from atiselsts/contrib/tsch-link-printing
TSCH: improve the readability of add_link and remove_link messages
2018-09-04 19:50:49 +02:00
Olav Frengstad
d953adf0cb Make cc26xx radio driver configurable in prop mode operation
It's already possible to override the default radio driver when operating in IEEE mode.
This patch opens up for users defining their own radio driver when using prop mode.
This is useful when overriding certain radio driver functions.
2018-09-04 18:38:25 +02:00
Simon Duquennoy
c459d979f5
Merge branch 'develop' into contrib/tsch-link-printing 2018-09-03 20:27:01 +02:00
George Oikonomou
6968971226
Merge pull request #641 from atiselsts/contrib/werror
Set -Werror only if WERROR is set
2018-09-03 17:06:17 +01:00
George Oikonomou
e050069ede
Merge branch 'develop' into contrib/werror 2018-09-03 15:11:41 +01:00
George Oikonomou
d03bda2d51
Merge pull request #640 from atiselsts/contrib/xxware-error-message
Generate a descriptive error message in case cc26xxware/cc13xxware does not exist
2018-09-03 15:11:31 +01:00
George Oikonomou
02f67ba45b
Merge branch 'develop' into contrib/xxware-error-message 2018-09-03 13:28:15 +01:00
Atis Elsts
c8792c9261 Set -Werror only if WERROR is set 2018-09-03 12:01:34 +01:00
Atis Elsts
eb253c0f3b Generate a descriptive error message in case cc26xxware/cc13xxware does not exist 2018-09-03 11:49:14 +01:00
Atis Elsts
61f6b704db TSCH: improve the readability of add_link and remove_link messages 2018-09-03 11:38:47 +01:00
Simon Duquennoy
b473c13806
Merge pull request #580 from lafka/lafka-debug-fix
Use LOG_ constants infavour of PRINTF for rpl-classic
2018-09-01 10:35:04 +02:00
Simon Duquennoy
5c804a2aff
Merge branch 'develop' into lafka-debug-fix 2018-08-31 15:40:17 +02:00
Olav Frengstad
b2eef99c7c Use LOG_ constants infavour of PRINTF for rpl-classic
Debugging could only be enabled pr. file at compile time. Refactor to use sys/log.h module.
2018-08-31 14:27:46 +02:00
Niclas Finne
b49477441c
Merge pull request #630 from samkumar/bugfix-coap-retransmission
Fix bug in CoAP retransmission policy
2018-08-30 15:16:56 +02:00
Niclas Finne
219f198d56
Merge branch 'develop' into bugfix-coap-retransmission 2018-08-30 14:45:59 +02:00
Joakim Eriksson
ee8fccb70a
Merge pull request #633 from retfie/lwm2m-ipso-object
Fix get_temp_value for lwm2m-ipso-object example
2018-08-30 13:07:10 +02:00
Kiril Petrov
e19e67b510 Fix get_temp_value for lwm2m-ipso-object example
Signed-off-by: Kiril Petrov <contiki@geomi.org>
2018-08-29 20:30:13 -07:00
Niclas Finne
6ebdbf0675
Merge pull request #624 from nvt/fix-antelope-issues
Fix Antelope issues with memory checking
2018-08-28 15:35:14 +02:00
Nicolas Tsiftes
7860ca5da0 Set a larger default bytecode size since the example on the Contiki-NG wiki requires this. 2018-08-27 15:58:57 +02:00
Nicolas Tsiftes
196accb9b7 Check if too many relations are inserted. 2018-08-27 15:58:57 +02:00
Nicolas Tsiftes
f9bc65eab2 Enhanced LVM error checking. 2018-08-27 15:58:57 +02:00
Nicolas Tsiftes
a73822176a Check element size when parsing tokens. 2018-08-27 15:58:57 +02:00
Sam Kumar
02dd484ff2 Fix bug in CoAP retransmission policy 2018-08-25 22:15:45 -07:00
Simon Duquennoy
21042ae748
Merge pull request #615 from g-oikonomou/contrib/motelist
Add motelist as a submodule
2018-08-22 09:36:20 +02:00
Simon Duquennoy
c17d92ea36
Merge branch 'develop' into contrib/motelist 2018-08-17 10:54:02 +02:00
George Oikonomou
1af84bdc5b
Merge pull request #614 from g-oikonomou/contrib/vagrant-with-usbserial
Enable USB device support within the vagrant image
2018-08-14 21:46:57 +01:00
Simon Duquennoy
eedcac75c2
Merge branch 'develop' into contrib/vagrant-with-usbserial 2018-08-14 15:40:54 +02:00
Simon Duquennoy
b8881a042e
Merge pull request #618 from Rehan-MALAK/test-the-tests
fix some bugs in the RPL border tests
2018-08-14 10:05:05 +02:00
Rehan MALAK
1a65e0ea75 fix some bugs in the RPL border tests
* 08-border-router-cooja-frag.sh was using 01-border-router-cooja.csc
  so if the test failed, the summary was wrongly indicating
  a failed 01-board-router-cooja test
* same for 09-native-border-router-cooja-frag.sh
  which has now it's own cooja configuration
* 05-native-ping was using 01-native-ping
* homogenizes the mode : all scripts are 644 now
2018-08-13 13:54:19 +02:00
Simon Duquennoy
6917f02ad9
Merge pull request #545 from simonduq/contrib/tsch-minor
TSCH: keep track of min/max drift seen
2018-08-11 15:33:05 +02:00
Joakim Eriksson
e9f0b33b89
Merge branch 'develop' into contrib/tsch-minor 2018-08-11 10:51:33 +02:00
Joakim Eriksson
0f1ae09a65
Merge pull request #568 from simonduq/contrib/ci-frag-large
CI test with large fragments
2018-08-11 10:49:58 +02:00
Joakim Eriksson
00cd589c84
Merge branch 'develop' into contrib/ci-frag-large 2018-08-11 00:16:00 +02:00
Joakim Eriksson
288f1c9e7f
Merge pull request #455 from simonduq/fix/coap-endpoint-is-reachable
CoAP: fix `coap_endpoint_is_connected`
2018-08-11 00:15:18 +02:00
Joakim Eriksson
351908a1ba
Merge branch 'develop' into fix/coap-endpoint-is-reachable 2018-08-10 21:46:29 +02:00
Joakim Eriksson
cde41c60ca
Merge pull request #613 from g-oikonomou/bugfix/variable-definition
Move variable definition to start of function
2018-08-10 21:23:07 +02:00
Joakim Eriksson
8dc1116241
Merge branch 'develop' into bugfix/variable-definition 2018-08-10 18:02:03 +02:00
George Oikonomou
abdeb4f4d1
Merge pull request #611 from ComNetsHH/fix-sfsimple
sixtop example: fix incorrect access to uint8_t *cell_list
2018-08-08 22:47:24 +01:00
George Oikonomou
94fb9e2437
Merge branch 'develop' into fix-sfsimple 2018-08-08 21:42:38 +01: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
c8432009e9 Move variable definition to start of function 2018-08-03 19:08:56 +01:00
ohrensessel
4e79ba949f sixtop example: fix incorrect access to uint8_t *cell_list 2018-07-30 20:53:29 +02:00
Simon Duquennoy
950bde89c2
Merge pull request #603 from debug-ito/icmp-log
Fix log output from uip_icmp6_send function.
2018-07-17 17:38:18 +02:00