Hello Marcin, The Zephyr port hasn?t yet been built for and tested with BLE. It is however something we?d like to have working eventually.
There are two paths to support BLE: 1) Using GATT, and 2) Using IPSP. I believe the approach to 1) is currently being discussed and ironed out at the standards level by an internal OCF workgroup. So, the implementation would defer to that discussion. However, 2) is achievable more immediately since Zephyr?s BT stack supports it. But for that we?d first have to have ipadapter.c migrate over to using Zephyr?s new native IP stack. Once thats done, it is relatively simple to configure BLE-IPSP per my understanding. You?re free to investigate further and possibly contribute the bits for 2), if you?re interested. Thanks, -Kishen. - Kishen Maloor Intel Open Source Technology Center From: <[email protected]> on behalf of Marcin Zalewski <m.zalewski at fibargroup.com> Date: Friday, December 2, 2016 at 2:43 AM To: "iotivity-dev at lists.iotivity.org" <iotivity-dev at lists.iotivity.org> Subject: [dev] IoTivity-Constrained with Zephyr vs Bluetooth Low Energy Hi, I am trying to build and run IoTivity example apps client_zephyr.c and server_zephyr.c on nrf52_pca10040 platform. I'm use "fresh" Zephyr from master branch of https://gerrit.zephyrproject.org/r/zephyr <https://gerrit.zephyrproject.org/r/zephyr>. My prj.conf file for iotivity project consists: CONFIG_NETWORKING=y CONFIG_NETWORKING_WITH_LOGGING=y CONFIG_NETWORKING_WITH_BT=y CONFIG_IP_BUF_RX_SIZE=5 CONFIG_IP_BUF_TX_SIZE=3 CONFIG_NANO_TIMEOUTS=y CONFIG_NETWORKING_WITH_6LOWPAN=y CONFIG_6LOWPAN_COMPRESSION_IPHC=y # CONFIG_6LOWPAN_COMPRESSION_IPV6 is not set CONFIG_MINIMAL_LIBC_EXTENDED=y CONFIG_STDOUT_CONSOLE=y Both examples (client_zephyr.c and server_zephyr.c) compile and run correctly. But Bluetooth Low Energy device doesn't work. Is there a chanceto make it work? Regards, Marcin Zalewski
