Skip to content

Commit

Permalink
Merge pull request #232 from delme-imgtec/cyassl
Browse files Browse the repository at this point in the history
For erbium make sure coap message id is random
  • Loading branch information
Rory Latchem authored Jul 8, 2016
2 parents 62b27a5 + a61b921 commit 157328b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/common/coap_abstraction_erbium.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ CoapInfo * coap_Init(const char * ipAddress, int port, bool secure, int logLevel
Lwm2m_Info("Bind port: %d\n", port);
memset(CurrentTransaction, 0, sizeof(CurrentTransaction));
memset(Observations, 0, sizeof(Observations));
coap_init_connection(port);
coap_init_transactions();
coap_set_service_callback(coap_HandleRequest);
DTLS_Init();
Expand Down

0 comments on commit 157328b

Please sign in to comment.