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

Commit 4fdefc8

Browse files
Yogesh PandeYogesh Pande
authored andcommitted
Revert "Separating coap code from mbed-client-c"
This reverts commit 20fe9f8.
1 parent ae05703 commit 4fdefc8

31 files changed

+9239
-13
lines changed

Makefile

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

55
# Define compiler toolchain with CC or PLATFORM variables
@@ -19,15 +19,18 @@ 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 \
2226

2327
override CFLAGS += -DVERSION='"$(VERSION)"'
2428

2529
override CFLAGS += -Isource/libNsdl/src/include/
30+
override CFLAGS += -Isource/libCoap/src/include/
2631
SERVLIB_DIR := ../libService
2732
override CFLAGS += -I$(SERVLIB_DIR)/libService
2833
override CFLAGS += -Insdl-c/
29-
override CFLAGS += -I../libcoap/libcoap/
30-
override CFLAGS += -I../libcoap/source/include/
3134

3235
include ../libService/toolchain_rules.mk
3336

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 Client C library"
41+
PROJECT_BRIEF = "mbed Server c Client 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 library",
4+
"description": "Nanostack NSDL and COAP library",
55
"keywords": [
66
"coap",
77
"nanostack"
88
],
99
"license": "Apache-2.0",
1010
"extraIncludes": [
1111
"nsdl-c",
12-
"source/libNsdl/src/include"
12+
"source/libNsdl/src/include",
13+
"source/libCoap/src/include"
1314
],
1415
"dependencies": {
1516
"nanostack-libservice": "^3.0.0",
1617
"mbed-trace": ">=0.2.0,<2.0.0",
17-
"nanostack-randlib": "^1.2.0",
18-
"libcoap": "^1.0.0"
18+
"nanostack-randlib": "^1.2.0"
1919
},
2020
"targetDependencies": {}
2121
}

0 commit comments

Comments
 (0)