Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Makefile.am
Makefile.platform.am
README.md
alarm.c
alarm_qorvo.h
diag.c
flash.c
logging.c
misc.c
openthread-core-gp712-config.h
platform_qorvo.h
radio.c
radio_qorvo.h
random.c
random_qorvo.h
system.c
uart-posix.c
uart-socket.c
uart_qorvo.h

README.md

OpenThread on Qorvo gp712 Example

This directory contains example platform drivers for Qorvo gp712 on RPi.

Toolchain

This example use the GNU GCC toolchain on the Raspberry Pi. To build on the Pi:

  1. Download the repo to the Pi
  2. go to the subfolder in the openthread repo: third_party/nlbuild-autotools/repo/tools/packages and enter this command:
$ sudo /bin/bash build

Note that you may need to install additional packages to make this build work, depending on your actual RPi OS version. The build process will complain if additional packages are required.

Build Examples

$ cd <path-to-openthread>
$ ./script/bootstrap
$ ./bootstrap
$ CERT_LOG=1 CLI_LOGGING=1 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 BORDER_ROUTER=1 make -f examples/Makefile-gp712

After a successful build, the elf files are found in <path-to-openthread>/output/gp712/bin.

Building a variant which interfaces via a tcp socket is also possible. Replace the uart-posix.c with uart-socket.c in the Makefile.am from examples/platforms/gp712/Makefile.am and rebuild. Now it should be possible to open a telnet to socket 9190 of the raspberry pi from a remote PC. This also easier testing with the official Thread Test Harness.

Interact

  1. Spawn the process:
$ cd <path-to-openthread>/output/gp712/bin
$ ./gp712-ot-cli-ftd
  1. Type help for list of commands.
> help
help
channel
childtimeout
contextreusedelay
extaddr
extpanid
ipaddr
keysequence
leaderweight
masterkey
mode
netdataregister
networkidtimeout
networkname
panid
ping
prefix
releaserouterid
rloc16
route
routerupgradethreshold
scan
start
state
stop
whitelist