This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Connection testing - first milestone (#90)
We have a pet object and are sending events over the dispatcher. First working thing. Testet at monday
- Loading branch information
Showing
31 changed files
with
12,936 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BOARD ?= feather-nrf52840-sense | ||
UPLINK ?= cdc-ecm | ||
PREFIX_CONF ?= uhcpd | ||
# This has to be the absolute path to the RIOT base directory: | ||
RIOTBASE ?= $(CURDIR)/../../RIOT | ||
|
||
include $(RIOTBASE)/examples/gnrc_border_router/Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# USB Modules | ||
USEMODULE += auto_init_usbus | ||
USEMODULE += usbus_cdc_ecm | ||
|
||
ifeq (dhcpv6,$(PREFIX_CONF)) | ||
FLAGS_EXTRAS += --use-dhcpv6 | ||
else ifeq (auto_subnets,$(PREFIX_CONF)) | ||
FLAGS_EXTRAS += --use-radvd | ||
endif | ||
|
||
# Configure terminal parameters for UHCP | ||
TERMDEPS += host-tools | ||
TERMPROG ?= sudo sh $(RIOTTOOLS)/usb-cdc-ecm/start_network.sh | ||
TERMFLAGS ?= $(FLAGS_EXTRAS) $(IPV6_PREFIX) $(PORT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- Build the border router | ||
- flash the border router | ||
- connect the dongle to the VM or linux machine | ||
|
||
- start start.sh there with whole project cloned as root | ||
|
||
|
||
it will: | ||
- set ub the usb network card of the border router | ||
- set an dummy network adapter with the ip of the coap server |
Binary file added
BIN
+90 KB
node/code/dev/border_router/bin/feather-nrf52840-sense/gnrc_border_router.bin
Binary file not shown.
Oops, something went wrong.