zephyr/samples/net/wpan_serial
Jukka Rissanen 86689030e8 net: Clarify logging in networking code
Remove network specific default and max log level setting
and start to use the zephyr logging values for those.

Remove LOG_MODULE_REGISTER() from net_core.h and place the
calls into .c files. This is done in order to avoid weird
compiler errors in some cases and to make the code look similar
as other subsystems.

Fixes #11343
Fixes #11659

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-12-07 12:00:04 +02:00
..
src net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
CMakeLists.txt samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
prj.conf samples: net: wpan_serial: Convert to new logging system 2018-10-04 14:13:57 +03:00
README wpan_serial: Update README 2016-12-02 12:41:03 +02:00
sample.yaml usb: Remove USB VID / PID for sanity check builds 2018-04-03 15:58:33 -04:00

Application implementing 802.15.4 "serial-radio" protocol.

How to use:

1. Build and flash Zephyr application to Quark board with 802.15.4 radio,
   at the moment CC2520 radio is supported.
2. Connect board to Linux PC, /dev/ttyACM[number] should appear
3. Run Contiki-based native border router (6lbr, native-router, etc)
     Example for Contiki:
     $ cd examples/ipv6/native-border-router
     $ make
     $ sudo ./border-router.native -v5 -s ttyACM0 fd01::1/64

Now you have Contiki native border router, simple web server should show some
802.15.4 devices. Web server address is printed in the border-router output
screen:
...
Server IPv6 addresses:
 0x62c5c0: =>fd01::212:4b00:531f:113a
...
Go to http://[fd01::212:4b00:531f:113a]/

It shall show you Neighbors and Routes.

PS: Make sure your disto ModemManager is disabled, otherwise it sends AT commands
to our device ;)

$ sudo systemctl disable ModemManager.service