zephyr/samples/bluetooth/ipsp
Luiz Augusto von Dentz 9b5d3f174f Bluetooth: ipsp: Add dedicated conf file for CONFIG_NET_L2_BT_ZEP1656
CONFIG_NET_L2_BT_ZEP1656 shall only be used with hosts that are known to
not comply with RFC 7668.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2017-09-22 07:27:34 +03:00
..
src Bluetooth: ipsp: Remov ipss.c 2017-09-18 10:21:11 -04:00
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README.rst Bluetooth: ipsp: Add note about the Linux 4.12 kernel release 2017-09-22 07:27:34 +03:00
prj.conf Bluetooth: ipsp: Add dedicated conf file for CONFIG_NET_L2_BT_ZEP1656 2017-09-22 07:27:34 +03:00
prj_dbg.conf Bluetooth: ipsp: Add dedicated conf file for CONFIG_NET_L2_BT_ZEP1656 2017-09-22 07:27:34 +03:00
prj_zep1656.conf Bluetooth: ipsp: Add dedicated conf file for CONFIG_NET_L2_BT_ZEP1656 2017-09-22 07:27:34 +03:00
sample.yaml Bluetooth: ipsp: Add dedicated conf file for CONFIG_NET_L2_BT_ZEP1656 2017-09-22 07:27:34 +03:00

README.rst

.. _bluetooth-ipsp-sample:

Bluetooth: IPSP Sample
######################

Overview
********
Application demonstrating the IPSP (Internet Protocol Support Profile) Node
role. IPSP is the Bluetooth profile that underneath utilizes 6LoWPAN, i.e. gives
you IPv6 connectivity over BLE.

Building and Running
********************

This sample can be found under :file:`samples/bluetooth/ipsp` in the
Zephyr tree.

Testing with a Linux host
=========================

To test IPSP please take a look at samples/net/README, in addition to running
echo-client you must enable 6LowPAN module in Linux with the
following commands:

.. code-block:: console

   $ modprobe bluetooth_6lowpan
   $ echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable

Then to connect:

.. code-block:: console

   $ echo "connect <bdaddr> <type>" > /sys/kernel/debug/bluetooth/6lowpan_control

Once connected a dedicated interface will be created, usually bt0, which can
then be used as following:

.. code-block:: console

   $ echo-client -i bt0 <ip>

.. note::

   For hosts using kernels released before 4.12 CONFIG_NET_L2_BT_ZEP1656
   shall be selected: https://jira.zephyrproject.org/browse/ZEP-1656