Skip to content

Commit 157328b

Browse files
author
Rory Latchem
authored
Merge pull request #232 from delme-imgtec/cyassl
For erbium make sure coap message id is random
2 parents 62b27a5 + a61b921 commit 157328b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/common/coap_abstraction_erbium.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ CoapInfo * coap_Init(const char * ipAddress, int port, bool secure, int logLevel
9494
Lwm2m_Info("Bind port: %d\n", port);
9595
memset(CurrentTransaction, 0, sizeof(CurrentTransaction));
9696
memset(Observations, 0, sizeof(Observations));
97+
coap_init_connection(port);
9798
coap_init_transactions();
9899
coap_set_service_callback(coap_HandleRequest);
99100
DTLS_Init();

0 commit comments

Comments
 (0)