George Oikonomou
517031f673
Improve code style and remove obsolete lines
2017-11-02 09:49:01 +01:00
Simon Duquennoy
71ed11cdea
Border router: removed unused variable 'prefix'
2017-11-01 20:32:45 +01:00
Simon Duquennoy
50f060477c
RPL border router: move more shared functionality to common directory
2017-11-01 16:07:46 +01:00
Simon Duquennoy
2d2b60fe5b
RPL border router: move webserver code to common directory
2017-11-01 16:07:46 +01:00
Simon Duquennoy
575966a63e
Merge pull request #145 from simonduq/pr/border-router-enhancement
...
Border-router: move border-router.c to top level for cleaner compilation
2017-11-01 15:34:09 +01:00
Joakim Eriksson
7e9c95f031
Merge pull request #143 from simonduq/pr/coap-example-rename
...
Move 'examples/coap-example' to 'examples/coap'
2017-11-01 14:43:01 +01:00
Simon Duquennoy
3a3a30cb69
Border-router: move border-router.c to top level for cleaner compilation
2017-11-01 14:40:18 +01:00
Simon Duquennoy
d48bd17f08
Merge pull request #135 from g-oikonomou/contrib/remove-NO_PUTCHAR-macros
...
Remove obsolete SLIP_foo_CONF_NO_PUTCHAR
2017-11-01 12:53:09 +01:00
George Oikonomou
ec77214226
Remove obsolete SLIP_foo_CONF_NO_PUTCHAR
2017-11-01 10:04:48 +00:00
Simon Duquennoy
5f045b2213
Merge pull request #141 from simonduq/pr/br-logging
...
Minor logging improvement for the border router
2017-11-01 10:06:19 +01:00
Simon Duquennoy
16a77d97f7
Move 'examples/coap-example' to 'examples/coap'
2017-11-01 09:31:20 +01:00
Simon Duquennoy
193f55d79a
Minor logging improvement for the border router
2017-11-01 08:51:41 +01:00
Simon Duquennoy
9b8e29dce7
Merge pull request #132 from g-oikonomou/contrib/border-router
...
Cross-platform and tidied-up border-router
2017-11-01 08:45:59 +01:00
George Oikonomou
bfb744bdaa
Delete platform-specific border-router example (jn516x/tsch/simple-sensor-network/)
2017-11-01 00:06:02 +00:00
George Oikonomou
c98a8c06d0
Delete platform-specific border-router example (jn516x/rpl/)
2017-11-01 00:06:02 +00:00
George Oikonomou
4654fe761d
Combine all RPL Border Routers under a single, modular example
2017-11-01 00:06:02 +00:00
George Oikonomou
21dacd56c4
Provision for platform-specific example aspects
...
* Use early target identification
* Move sky-specific code to separate sub-dir
2017-10-31 23:30:37 +00:00
George Oikonomou
d09c54fe8e
Use logging
2017-10-31 23:30:37 +00:00
George Oikonomou
3656d2f9ec
Restore MAC state to on after we have received a prefix
2017-10-31 23:30:37 +00:00
George Oikonomou
6a5136ac76
Imprvove code style
2017-10-31 23:30:37 +00:00
George Oikonomou
626957c3ef
Merge pull request #133 from g-oikonomou/contrib/common-slip-radio
...
Cross-platform slip-radio example
2017-10-31 23:29:36 +00:00
George Oikonomou
c4616c4260
Make slip-specific putchar sky-specific
2017-10-31 22:26:23 +00:00
George Oikonomou
ab68be8672
Use the logging module
2017-10-31 22:26:23 +00:00
George Oikonomou
2388aa9302
Improve code style
2017-10-31 22:26:23 +00:00
George Oikonomou
ab894dcde1
Change functions to static
2017-10-31 22:26:23 +00:00
George Oikonomou
1d9a3c5668
Move sky-specific example code to separate sub-dir
2017-10-31 22:26:23 +00:00
George Oikonomou
87395d161b
Allow the inclusion of target-specific header
2017-10-31 22:26:23 +00:00
George Oikonomou
96e63e99ef
Allow the target to specify its own Makefile
...
This can allow the target to e.g. add sources to the build
2017-10-31 22:26:22 +00:00
George Oikonomou
9d2091fbde
Remove platform-specific configuration
2017-10-31 22:26:22 +00:00
George Oikonomou
6da8976c5e
Use top-level target identification
2017-10-31 22:26:22 +00:00
George Oikonomou
3cb93f7df7
Remove obsolete files and code
2017-10-31 22:26:22 +00:00
George Oikonomou
25e8518507
Compile-test the slip-radio example
2017-10-31 22:26:22 +00:00
Simon Duquennoy
1275c4cb9e
Merge pull request #139 from nfi/contrib/energest-deep-lpm
...
New energest type for deep sleep plus configurable type for Energest time source
2017-10-31 23:24:12 +01:00
Simon Duquennoy
6ad790b202
Merge pull request #131 from g-oikonomou/contrib/tidy-up-slip-arch-init
...
Tidy-up slip_arch_init and all its side-effects
2017-10-31 23:22:21 +01:00
George Oikonomou
a05a6b59d0
Remove all unnecessary BAUD2UBR macro definitions
2017-10-31 21:56:38 +00:00
George Oikonomou
73544572cf
Change all calls to adhere to new prototype
2017-10-31 21:56:38 +00:00
George Oikonomou
aa07073acd
Change all slip_arch_init implementations
2017-10-31 21:56:38 +00:00
George Oikonomou
e1df7be496
Change slip_arch_init prototype
...
All current platforms ignore the ubr argument, so we remove it
2017-10-31 21:56:38 +00:00
George Oikonomou
6d0f43f291
Remove stub instances of uart1.h
...
Some platforms provide this header file because some examples used to assume its presence. Now that the examples no longer make this assumption, those stub headers are no longer required.
2017-10-31 21:56:38 +00:00
George Oikonomou
3460a4c735
Don't assume the platform will provide uart1.h
2017-10-31 21:56:38 +00:00
Niclas Finne
e6ba2664b8
energest: removed include of energest from contiki.h to avoid circular dependency
2017-10-31 22:18:17 +01:00
Niclas Finne
cffe0c59f2
energest: activate energest type CPU at init
2017-10-31 22:18:17 +01:00
Niclas Finne
1c4622bad6
energest: Added new energest type ENERGEST_TYPE_DEEP_LPM to support
...
energy estimations of both sleep and deep sleep CPU modes.
Added configurable type ENERGEST_TIME_T to re-add support for clocks with
wrapping time as energest time source.
2017-10-31 22:17:30 +01:00
Simon Duquennoy
d9ae1118ef
Merge pull request #137 from simonduq/pr/logging-fixes
...
Minor logging fixes
2017-10-31 22:04:46 +01:00
Simon Duquennoy
5a2581b5a8
Merge pull request #136 from simonduq/pr/rework-examples
...
Some more work on rpl-udp and ipv6-hooks
2017-10-31 22:04:31 +01:00
Simon Duquennoy
13f8db6290
Rework rpl-udp example. No more need for hardcoded IPv6 addresses. As the server is also the root, simply send to the DAG root (known via RPL DAG ID)
2017-10-31 18:59:53 +01:00
Simon Duquennoy
e171a529f6
Update hello-world README.md
2017-10-31 18:59:53 +01:00
Simon Duquennoy
646764b128
Platform native: print global IPv6 at init
2017-10-31 18:59:53 +01:00
Simon Duquennoy
3418fff4df
Move packet processing example as a new, simpler example: ipv6-hooks
2017-10-31 18:59:53 +01:00
Simon Duquennoy
fc57dbbfaf
Merge pull request #123 from g-oikonomou/contrib/tidy-up-examples
...
Tidy-up the examples directory
2017-10-31 18:59:09 +01:00