diff options
Diffstat (limited to 'Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/coap_secure.c')
-rw-r--r-- | Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/coap_secure.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/coap_secure.c b/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/coap_secure.c index 3331d382b..f7f98153f 100644 --- a/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/coap_secure.c +++ b/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/coap_secure.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - * <h2><center>© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.</center></h2> + * Copyright (c) 2018-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -180,6 +179,8 @@ otError otCoapSecureConnect(otInstance * aInstance, /* prepare buffer */ Thread_OT_Cmd_Request_t* p_ot_req = THREAD_Get_OTCmdPayloadBuffer(); + coapSecureClientConnectCb = aHandler; + p_ot_req->ID = MSG_M4TOM0_OT_COAP_SECURE_CONNECT; p_ot_req->Size=3; |