mirror of
https://github.com/eclipse/wakaama.git
synced 2025-05-08 23:31:37 +08:00
Spelling fixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
parent
5040761727
commit
596da26416
6
TODO
6
TODO
@ -20,8 +20,8 @@ LWM2M Features
|
||||
--------
|
||||
|
||||
|
||||
Implementation Improvments
|
||||
--------------------------
|
||||
Implementation Improvements
|
||||
---------------------------
|
||||
|
||||
- Store lwm2m_transaction_t per peer
|
||||
|
||||
@ -42,5 +42,5 @@ LWM2M Features
|
||||
|
||||
- Utility functions to easily implements objects
|
||||
The utility will just use read and write individual resources. Either statically or
|
||||
throught callbacks. See [https://github.com/01org/libdmclient]/tests/mgtobj/utils/static_mo_util.h
|
||||
through callbacks. See [https://github.com/01org/libdmclient]/tests/mgtobj/utils/static_mo_util.h
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
// the maximum payload transfered by block1 we accumulate per server
|
||||
// the maximum payload transferred by block1 we accumulate per server
|
||||
#define MAX_BLOCK1_SIZE 4096
|
||||
|
||||
coap_status_t coap_block1_handler(lwm2m_block1_data_t ** pBlock1Data,
|
||||
|
@ -423,7 +423,7 @@ size_t tlv_serialize(bool isResourceInstance,
|
||||
{
|
||||
case LWM2M_TYPE_MULTIPLE_RESOURCE:
|
||||
isInstance = true;
|
||||
// fall throught
|
||||
// fall through
|
||||
case LWM2M_TYPE_OBJECT_INSTANCE:
|
||||
{
|
||||
uint8_t * tmpBuffer;
|
||||
|
@ -565,7 +565,7 @@ int main(int argc, char *argv[])
|
||||
fclose(fd);
|
||||
if (data.bsInfo == NULL)
|
||||
{
|
||||
fprintf(stderr, "Reading Bootsrap Info from file %s failed.\r\n", filename);
|
||||
fprintf(stderr, "Reading Bootstrap Info from file %s failed.\r\n", filename);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
* Resources:
|
||||
*
|
||||
* Name | ID | Oper. | Inst. | Mand.| Type | Range | Units | Descripton |
|
||||
* Name | ID | Oper. | Inst. | Mand.| Type | Range | Units | Description |
|
||||
* SMS Tx Counter | 0 | R | Single| No | Integer | | | |
|
||||
* SMS Rx Counter | 1 | R | Single| No | Integer | | | |
|
||||
* Tx Data | 2 | R | Single| No | Integer | | kByte | |
|
||||
|
@ -68,7 +68,7 @@ void connection_free(dtls_connection_t * connList);
|
||||
int connection_send(dtls_connection_t *connP, uint8_t * buffer, size_t length);
|
||||
int connection_handle_packet(dtls_connection_t *connP, uint8_t * buffer, size_t length);
|
||||
|
||||
// rehandshake a connection, usefull when your NAT timeouted and your client have a new IP/PORT
|
||||
// rehandshake a connection, useful when your NAT timed out and your client has a new IP/PORT
|
||||
int connection_rehandshake(dtls_connection_t *connP, bool sendCloseNotify);
|
||||
|
||||
#endif
|
||||
|
@ -214,7 +214,7 @@ static void test_raw_expected(const char * uriStr,
|
||||
// Serialize to the same format and compare to the input buffer
|
||||
test_data_and_compare(uriStr, format, tlvP, size, id, (uint8_t*)expectBuf, expectLen);
|
||||
|
||||
// Serialize to the other format respectivly.
|
||||
// Serialize to the other format respectively.
|
||||
if (format == LWM2M_CONTENT_TLV)
|
||||
test_data(uriStr, LWM2M_CONTENT_JSON, tlvP, size, id);
|
||||
else if (format == LWM2M_CONTENT_JSON)
|
||||
@ -326,7 +326,7 @@ static void test_7(void)
|
||||
}";
|
||||
|
||||
// We do a string comparison. Because parsing+serialization changes double value
|
||||
// precision, we expect a slighty different output than input.
|
||||
// precision, we expect a slightly different output than input.
|
||||
const char * expect = "{\"e\":[ \
|
||||
{\"n\":\"0\",\"v\":1234}, \
|
||||
{\"n\":\"1\",\"v\":56.78900146484375}, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user