NSDL C library
Dependents: NSDL_HelloWorld_WiFi UbloxModemNanoServiceClient IOT-NSDL_HelloWorld LWM2M_NanoService_Ethernet ... more
Fork of nsdl_lib by
Note that use of this software requires acceptance of the Sensinode EULA: http://mbed.org/teams/Sensinode/code/nsdl_lib/wiki/EULA
Diff: sn_coap_protocol.h
- Revision:
- 1:01d723824294
- Parent:
- 0:58c4f13c4b9a
- Child:
- 2:ab50a2ab6ec9
diff -r 58c4f13c4b9a -r 01d723824294 sn_coap_protocol.h --- a/sn_coap_protocol.h Wed Oct 09 09:20:29 2013 +0000 +++ b/sn_coap_protocol.h Wed Oct 09 14:18:21 2013 +0000 @@ -35,10 +35,8 @@ #define SN_COAP_RESENDING_BUFFER_MAX_SIZE 0 /* These parameters sets maximum values application can set with API */ -/* Maximum allowed count of re-sending */ -#define SN_COAP_MAX_ALLOWED_RESENDING_COUNT 6 -/* Maximum allowed number of saved re-sending messages */ -#define SN_COAP_MAX_ALLOWED_RESENDING_BUFF_SIZE 6 +#define SN_COAP_MAX_ALLOWED_RESENDING_COUNT 6 /**< Maximum allowed count of re-sending */ +#define SN_COAP_MAX_ALLOWED_RESENDING_BUFF_SIZE 6 /**< Maximum allowed number of saved re-sending messages */ /* * For Message duplication detecting * */ @@ -58,13 +56,12 @@ /* Note: Current Coap implementation supports Blockwise transfers specification version draft-ietf-core-block-03 */ /* Note: This define is common for both received and sent Blockwise messages */ #ifndef SN_COAP_BLOCKWISE_MAX_PAYLOAD_SIZE -#define SN_COAP_BLOCKWISE_MAX_PAYLOAD_SIZE 0 /* Must be 2^x and x is at least 4. Suitable values: 0, 16, 32, 64, 128, 256, 512 and 1024 */ +#define SN_COAP_BLOCKWISE_MAX_PAYLOAD_SIZE 0 /**< Must be 2^x and x is at least 4. Suitable values: 0, 16, 32, 64, 128, 256, 512 and 1024 */ #endif -/* Maximum time in seconds of data (messages and payload) to be stored for blockwising */ #ifndef SN_COAP_BLOCKWISE_MAX_TIME_DATA_STORED -#define SN_COAP_BLOCKWISE_MAX_TIME_DATA_STORED 10 +#define SN_COAP_BLOCKWISE_MAX_TIME_DATA_STORED 10 /**< Maximum time in seconds of data (messages and payload) to be stored for blockwising */ #endif