Skip to content

benpicco/sleepy_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Border Router Setup

Just run the RIOT gnrc_border_router example. I used the SLIP uplink but it shouldn't make a difference. (Ethos might use a different IP for the host theough)

make UPLINK=slip flash term

CoAP Server Setup

The client will connect to the (ASCII) /time endpoint of the CoAP server.

For this I used the FreeCoAP time_server example.
Make sure to compile with ip6=y dtls=n to enable IPv6 and disable DTLS.

The server is then started with

./time_server "fdea:dbee:f::1" 5683

fdea:dbee:f::1 was configured as an IP for the host computer by the SLIP startup script.

Client setup

Just flash this demo to a node. It should periodically connect to the border router & host computer to fetch the time and print it, then go back to sleep.

About

A simple RIOT node that wakes up, connects to a CoAP server and goes back to sleep

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors