Skip to content

Commit ac73006

Browse files
1010101001010101Tomasz Bursztyka
authored andcommitted
net: Restructure network protocols
This commit restructures the network protocols. Changes applied are: - Move lib/iot/ to subsys/net/lib - Move network protocol headers to include/net - Move lib/iot/zoap/link-format.h to include/net/zoap_link_format.h and link-format.c to zoap_link_format.c - Move tests/iot/ to tests/net/lib/ - Adapt sample code - Adapt build system - Modify doxygen paths Change-Id: I37085fa4cc76a8a8e19a499ecb4e87b451120349 Signed-off-by: Flavio Santes <[email protected]>
1 parent dc862ec commit ac73006

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+74
-72
lines changed

doc/doxygen.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ INPUT = \
106106
include/arch/nios2/ \
107107
lib/libc/minimal/include/ \
108108
ext/lib/crypto/tinycrypt/include/ \
109-
lib/iot/zoap/zoap.h \
109+
include/net/zoap.h \
110+
include/net/dns_client.h \
110111
tests/ztest/include/
111112
INPUT_ENCODING = UTF-8
112113
FILE_PATTERNS = "*.c" "*.h" "*.S"
File renamed without changes.
File renamed without changes.

include/iot/mqtt.h renamed to include/net/mqtt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef _MQTT_H_
1818
#define _MQTT_H_
1919

20-
#include <iot/mqtt_types.h>
20+
#include <net/mqtt_types.h>
2121
#include <net/net_context.h>
2222

2323
/**
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/Kbuild

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
obj-y += libc/
2-
obj-y += iot/

lib/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ menu "Cryptography"
1919
source "lib/crypto/tinycrypt/Kconfig"
2020
endmenu
2121

22-
source "lib/iot/Kconfig"
23-
2422
source "lib/libc/Kconfig"

lib/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ endif
1313
else
1414
ZEPHYRINCLUDE += -I$(srctree)/lib/libc/minimal/include
1515
endif
16-
17-
include $(srctree)/lib/iot/Makefile

0 commit comments

Comments
 (0)