diff options
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_Coap_DataTransfer/STM32_WPAN/App/app_thread.c')
-rw-r--r-- | Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_Coap_DataTransfer/STM32_WPAN/App/app_thread.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_Coap_DataTransfer/STM32_WPAN/App/app_thread.c b/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_Coap_DataTransfer/STM32_WPAN/App/app_thread.c index 096c7749e..0587b7cb2 100644 --- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_Coap_DataTransfer/STM32_WPAN/App/app_thread.c +++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_Coap_DataTransfer/STM32_WPAN/App/app_thread.c @@ -4,18 +4,17 @@ * File Name : App/app_thread.c * Description : Thread Application. ****************************************************************************** - * @attention - * - * <h2><center>© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.</center></h2> - * - * 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 - * - ****************************************************************************** - */ + * @attention + * + * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. + * + * 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. + * + ****************************************************************************** + */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ @@ -579,9 +578,9 @@ static void APP_THREAD_SendNextBuffer(void) } else { - /* Buffer transfer has been successfully transfered */ + /* Buffer transfer has been successfully transferred */ BSP_LED_On(LED1); - APP_DBG("********* BUFFER HAS BEEN TRANFERED *********"); + APP_DBG("********* BUFFER HAS BEEN TRANSFERRED *********"); } } @@ -991,6 +990,7 @@ Thread_OT_Cmd_Request_t* THREAD_Get_NotificationPayloadBuffer(void) static void Ot_Cmd_Transfer_Common(void) { + /* OpenThread OT command cmdcode range 0x280 .. 0x3DF = 352 */ p_thread_otcmdbuffer->cmdserial.cmd.cmdcode = 0x280U; /* Size = otCmdBuffer->Size (Number of OT cmd arguments : 1 arg = 32bits so multiply by 4 to get size in bytes) @@ -1002,6 +1002,7 @@ static void Ot_Cmd_Transfer_Common(void) /* Wait completion of cmd */ Wait_Getting_Ack_From_M0(); + } /** @@ -1346,4 +1347,3 @@ void VCP_DataReceived(uint8_t* Buf , uint32_t *Len) /* USER CODE BEGIN FD_WRAP_FUNCTIONS */ /* USER CODE END FD_WRAP_FUNCTIONS */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |