Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 20fe9f8

Browse files
Yogesh PandeYogesh Pande
authored andcommitted
Separating coap code from mbed-client-c
This commit includes - Removing coap header and source files from the repository and moving them into their own repo https://github.com/ARMmbed/libcoap
1 parent 63187ff commit 20fe9f8

31 files changed

+13
-9239
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Makefile for combined NSDL+COAP library
2+
# Makefile for combined NSDL library
33
#
44

55
# Define compiler toolchain with CC or PLATFORM variables
@@ -19,18 +19,15 @@ LIB = libnsdl.a
1919
SRCS := \
2020
source/libNsdl/src/sn_grs.c \
2121
source/libNsdl/src/sn_nsdl.c \
22-
source/libCoap/src/sn_coap_protocol.c \
23-
source/libCoap/src/sn_coap_parser.c \
24-
source/libCoap/src/sn_coap_header_check.c \
25-
source/libCoap/src/sn_coap_builder.c \
2622

2723
override CFLAGS += -DVERSION='"$(VERSION)"'
2824

2925
override CFLAGS += -Isource/libNsdl/src/include/
30-
override CFLAGS += -Isource/libCoap/src/include/
3126
SERVLIB_DIR := ../libService
3227
override CFLAGS += -I$(SERVLIB_DIR)/libService
3328
override CFLAGS += -Insdl-c/
29+
override CFLAGS += -I../libcoap/libcoap/
30+
override CFLAGS += -I../libcoap/source/include/
3431

3532
include ../libService/toolchain_rules.mk
3633

doxygen/client-c_doxy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NUMBER =
3838
# for a project that appears at the top of each page and should give viewer
3939
# a quick idea about the purpose of the project. Keep the description short.
4040

41-
PROJECT_BRIEF = "mbed Server c Client library"
41+
PROJECT_BRIEF = "mbed Client C library"
4242

4343
# With the PROJECT_LOGO tag one can specify an logo or icon that is
4444
# included in the documentation. The maximum height of the logo should not

module.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "mbed-client-c",
33
"version": "4.0.0",
4-
"description": "Nanostack NSDL and COAP library",
4+
"description": "Nanostack NSDL library",
55
"keywords": [
66
"coap",
77
"nanostack"
88
],
99
"license": "Apache-2.0",
1010
"extraIncludes": [
1111
"nsdl-c",
12-
"source/libNsdl/src/include",
13-
"source/libCoap/src/include"
12+
"source/libNsdl/src/include"
1413
],
1514
"dependencies": {
1615
"nanostack-libservice": "^3.0.0",
1716
"mbed-trace": ">=0.2.0,<2.0.0",
18-
"nanostack-randlib": "^1.2.0"
17+
"nanostack-randlib": "^1.2.0",
18+
"libcoap": "^1.0.0"
1919
},
2020
"targetDependencies": {}
2121
}

0 commit comments

Comments
 (0)