zephyr/samples/net/wpan_serial
Andrei Emeltchenko 4a24192529 wpan_serial: Fix possible NULL pointer dereference
Return and clean buffer when fragment can not be allocated.

Coverity-CID: 157590

Change-Id: Ic8844609da4049623a6cf0c2ae037b2b777542e9
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2017-01-20 16:23:21 +02:00
..
src wpan_serial: Fix possible NULL pointer dereference 2017-01-20 16:23:21 +02:00
Makefile samples: remove obsolete KERNEL_TYPE 2016-12-20 01:12:43 +00:00
README
prj.conf ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
testcase.ini

README

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