net: l2: openthread: Add config option to enable OpenThread CoAP api

There was no way to use Openthread CoAP api in zephyr application so
far. These changes enable the feature. Now you can fully use CoAP
communication in an application working in Thread network.

Signed-off-by: Lukasz Maciejonczyk <Lukasz.Maciejonczyk@nordicsemi.no>
This commit is contained in:
Lukasz Maciejonczyk 2020-04-16 13:08:40 +02:00 committed by Jukka Rissanen
commit 3ba7a3c82a
2 changed files with 6 additions and 1 deletions

View file

@ -226,6 +226,11 @@ config OPENTHREAD_BORDER_ROUTER
help help
Enable border router support in OpenThread stack Enable border router support in OpenThread stack
config OPENTHREAD_COAP
bool "OpenThread CoAP support"
help
Enable CoAP api for the application communicates with use of OpenThread stack
config OPENTHREAD_NCP config OPENTHREAD_NCP
bool "Network Co-Processor" bool "Network Co-Processor"
select RING_BUFFER select RING_BUFFER

View file

@ -101,7 +101,7 @@ manifest:
revision: 29e516ec585b1a909af2b5f1c60d83e7d4d563e3 revision: 29e516ec585b1a909af2b5f1c60d83e7d4d563e3
path: modules/lib/loramac-node path: modules/lib/loramac-node
- name: openthread - name: openthread
revision: 497590aa126c331eb1447f699f1c710e0de714c0 revision: 2ac83762b87b9cbb7072e3bca663ac13708c17d9
path: modules/lib/openthread path: modules/lib/openthread
- name: segger - name: segger
revision: 6fcf61606d6012d2c44129edc033f59331e268bc revision: 6fcf61606d6012d2c44129edc033f59331e268bc