Skip to content

Commit 21fb936

Browse files
Version 1.9.6
1 parent 310a540 commit 21fb936

File tree

574 files changed

+15048
-4820
lines changed

Some content is hidden

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

574 files changed

+15048
-4820
lines changed

coap/coap_client.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_client.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_CLIENT_H
@@ -147,7 +147,7 @@ struct _CoapClientRequest;
147147

148148
//C++ guard
149149
#ifdef __cplusplus
150-
extern "C" {
150+
extern "C" {
151151
#endif
152152

153153

@@ -232,7 +232,7 @@ void coapClientDeinit(CoapClientContext *context);
232232

233233
//C++ guard
234234
#ifdef __cplusplus
235-
}
235+
}
236236
#endif
237237

238238
#endif

coap/coap_client_block.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_client_block.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_CLIENT_BLOCK_H
@@ -37,7 +37,7 @@
3737

3838
//C++ guard
3939
#ifdef __cplusplus
40-
extern "C" {
40+
extern "C" {
4141
#endif
4242

4343
//CoAP client related functions
@@ -54,7 +54,7 @@ CoapBlockSize coapClientGetMaxBlockSize(void);
5454

5555
//C++ guard
5656
#ifdef __cplusplus
57-
}
57+
}
5858
#endif
5959

6060
#endif

coap/coap_client_misc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level
@@ -97,7 +97,7 @@ error_t coapClientProcessEvents(CoapClientContext *context, systime_t timeout)
9797
if(error == NO_ERROR)
9898
{
9999
//Parse the received datagram
100-
error = coapClientParseMessage(&context->response);
100+
error = coapParseMessage(&context->response);
101101

102102
//Check status code
103103
if(error == NO_ERROR)

coap/coap_client_misc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_CLIENT_MISC_H
@@ -37,7 +37,7 @@
3737

3838
//C++ guard
3939
#ifdef __cplusplus
40-
extern "C" {
40+
extern "C" {
4141
#endif
4242

4343
//CoAP client related functions
@@ -67,7 +67,7 @@ void coapClientGenerateToken(CoapClientContext *context,
6767

6868
//C++ guard
6969
#ifdef __cplusplus
70-
}
70+
}
7171
#endif
7272

7373
#endif

coap/coap_client_observe.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_client_observe.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_CLIENT_OBSERVE_H
@@ -37,7 +37,7 @@
3737

3838
//C++ guard
3939
#ifdef __cplusplus
40-
extern "C" {
40+
extern "C" {
4141
#endif
4242

4343
//CoAP client related functions
@@ -49,7 +49,7 @@ bool_t coapClientCheckSequenceNumber(CoapClientRequest *request,
4949

5050
//C++ guard
5151
#ifdef __cplusplus
52-
}
52+
}
5353
#endif
5454

5555
#endif

coap/coap_client_request.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_client_request.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_CLIENT_REQUEST_H
@@ -38,7 +38,7 @@
3838

3939
//C++ guard
4040
#ifdef __cplusplus
41-
extern "C" {
41+
extern "C" {
4242
#endif
4343

4444

@@ -183,7 +183,7 @@ error_t coapClientReadPayload(CoapMessage *message, void *data, size_t size,
183183

184184
//C++ guard
185185
#ifdef __cplusplus
186-
}
186+
}
187187
#endif
188188

189189
#endif

coap/coap_client_transport.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_client_transport.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_CLIENT_TRANSPORT_H
@@ -37,7 +37,7 @@
3737

3838
//C++ guard
3939
#ifdef __cplusplus
40-
extern "C" {
40+
extern "C" {
4141
#endif
4242

4343
//CoAP client related functions
@@ -61,7 +61,7 @@ error_t coapClientWaitForDatagram(CoapClientContext *context,
6161

6262
//C++ guard
6363
#ifdef __cplusplus
64-
}
64+
}
6565
#endif
6666

6767
#endif

coap/coap_common.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_COMMON_H
@@ -36,7 +36,7 @@
3636

3737
//Maximum size of CoAP messages
3838
#ifndef COAP_MAX_MSG_SIZE
39-
#define COAP_MAX_MSG_SIZE 1024
39+
#define COAP_MAX_MSG_SIZE 1152
4040
#elif (COAP_MAX_MSG_SIZE < 16)
4141
#error COAP_MAX_MSG_SIZE parameter is not valid
4242
#endif
@@ -62,7 +62,7 @@
6262

6363
//C++ guard
6464
#ifdef __cplusplus
65-
extern "C" {
65+
extern "C" {
6666
#endif
6767

6868

@@ -208,7 +208,7 @@ typedef __start_packed struct
208208

209209
//C++ guard
210210
#ifdef __cplusplus
211-
}
211+
}
212212
#endif
213213

214214
#endif

coap/coap_debug.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_debug.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_DEBUG_H
@@ -37,7 +37,7 @@
3737

3838
//C++ guard
3939
#ifdef __cplusplus
40-
extern "C" {
40+
extern "C" {
4141
#endif
4242

4343

@@ -63,7 +63,7 @@ const char_t *coapGetParamName(uint_t value,
6363

6464
//C++ guard
6565
#ifdef __cplusplus
66-
}
66+
}
6767
#endif
6868

6969
#endif

coap/coap_message.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level
@@ -48,7 +48,7 @@
4848
* @return Error code
4949
**/
5050

51-
error_t coapClientParseMessage(const CoapMessage *message)
51+
error_t coapParseMessage(const CoapMessage *message)
5252
{
5353
error_t error;
5454
size_t n;

coap/coap_message.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_MESSAGE_H
@@ -44,7 +44,7 @@
4444

4545
//C++ guard
4646
#ifdef __cplusplus
47-
extern "C" {
47+
extern "C" {
4848
#endif
4949

5050

@@ -61,7 +61,7 @@ typedef struct
6161

6262

6363
//CoAP related functions
64-
error_t coapClientParseMessage(const CoapMessage *message);
64+
error_t coapParseMessage(const CoapMessage *message);
6565

6666
error_t coapParseMessageHeader(const uint8_t *p, size_t length,
6767
size_t *consumed);
@@ -89,7 +89,7 @@ bool_t coapCompareToken(const CoapMessageHeader *header1,
8989

9090
//C++ guard
9191
#ifdef __cplusplus
92-
}
92+
}
9393
#endif
9494

9595
#endif

coap/coap_option.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
//Switch to the appropriate trace level

coap/coap_option.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626
*
2727
* @author Oryx Embedded SARL (www.oryx-embedded.com)
28-
* @version 1.9.4
28+
* @version 1.9.6
2929
**/
3030

3131
#ifndef _COAP_OPTION_H
@@ -79,7 +79,7 @@
7979

8080
//C++ guard
8181
#ifdef __cplusplus
82-
extern "C" {
82+
extern "C" {
8383
#endif
8484

8585

@@ -233,7 +233,7 @@ const CoapOptionParameters *coapGetOptionParameters(uint16_t optionNum);
233233

234234
//C++ guard
235235
#ifdef __cplusplus
236-
}
236+
}
237237
#endif
238238

239239
#endif

0 commit comments

Comments
 (0)