Skip to content

Commit 0cdf251

Browse files
authored
Merge pull request #72 from fpistm/update_CubeFW_1.21.0
chore: update to STM32_WPAN v1.21.0
2 parents e4e3d7c + bf11bf0 commit 0cdf251

File tree

4 files changed

+41
-11
lines changed

4 files changed

+41
-11
lines changed

src/utility/STM32_WPAN/LICENSE.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## Overview
2+
3+
4+
This Software Bill Of Material (SBOM) lists the software components of this
5+
software package, including the copyright owner and license terms for each
6+
component.
7+
8+
__SOFTWARE BILL OF MATERIALS__
9+
10+
Component | Copyright | License
11+
--------- | ----------------------------------------------------------------- | -------
12+
Bluetooth Low Energy | STMicroelectronics | SLA
13+
Bluetooth Low Energy LLD | STMicroelectronics | SLA
14+
Interface | STMicroelectronics | SLA
15+
MAC 802.15.4 | STMicroelectronics | SLA
16+
PHY | STMicroelectronics | SLA
17+
OpenThread | The OpenThread Authors | BSD-3-Clause
18+
Utilities | STMicroelectronics, Amazon.com Inc. | SLA, MIT
19+
Zigbee | Exegin Technologies Limited, STMicroelectronics, Dr Brian Gladman | SLA
20+
21+
22+
__Notes:__ If the license is an open source license, then you can access the
23+
terms at [www.opensource.org](https://opensource.org/). Otherwise, the full
24+
license terms are below. If a component is not listed in the SBOM, then the SLA
25+
shall apply unless other terms are clearly stated in the package.
26+
27+
28+
129
SLA0044 Rev5/February 2018
230

331
## Software license agreement

src/utility/STM32_WPAN/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
## Source
33

4-
[STMicroelectronics/STM32CubeWB Release v1.20.0](https://github.com/STMicroelectronics/STM32CubeWB/releases/tag/v1.20.0)
5-
- Application: [BLE_TransparentMode](https://github.com/STMicroelectronics/STM32CubeWB/tree/v1.20.0/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_TransparentMode)
4+
[STMicroelectronics/STM32CubeWB Release v1.21.0](https://github.com/STMicroelectronics/STM32CubeWB/releases/tag/v1.21.0)
5+
- Application: [BLE_TransparentMode](https://github.com/STMicroelectronics/STM32CubeWB/tree/v1.21.0/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_TransparentMode)
66

src/utility/STM32_WPAN/app_conf_default.h

+1
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ typedef enum
687687
/* USER CODE BEGIN CFG_SCH_Prio_Id_t */
688688

689689
/* USER CODE END CFG_SCH_Prio_Id_t */
690+
CFG_SCH_PRIO_NBR
690691
} CFG_SCH_Prio_Id_t;
691692

692693
/**

src/utility/STM32_WPAN/tl_mbox.c

+10-9
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ static void OutputDbgTrace(TL_MB_PacketType_t packet_type, uint8_t* buffer)
676676
{
677677
TL_EvtPacket_t *p_evt_packet;
678678
TL_CmdPacket_t *p_cmd_packet;
679+
TL_EvtSerial_t *p_cmd_rsp_packet;
679680

680681
switch(packet_type)
681682
{
@@ -799,28 +800,28 @@ static void OutputDbgTrace(TL_MB_PacketType_t packet_type, uint8_t* buffer)
799800
break;
800801

801802
case TL_MB_SYS_CMD_RSP:
802-
p_evt_packet = (TL_EvtPacket_t*)buffer;
803-
switch(p_evt_packet->evtserial.evt.evtcode)
803+
p_cmd_rsp_packet = (TL_EvtSerial_t*)buffer;
804+
switch(p_cmd_rsp_packet->evt.evtcode)
804805
{
805806
case TL_BLEEVT_CC_OPCODE:
806-
TL_SHCI_CMD_DBG_MSG("sys rsp: 0x%02X", p_evt_packet->evtserial.evt.evtcode);
807-
TL_SHCI_CMD_DBG_MSG(" cmd opcode: 0x%02X", ((TL_CcEvt_t*)(p_evt_packet->evtserial.evt.payload))->cmdcode);
808-
TL_SHCI_CMD_DBG_MSG(" status: 0x%02X", ((TL_CcEvt_t*)(p_evt_packet->evtserial.evt.payload))->payload[0]);
809-
if((p_evt_packet->evtserial.evt.plen-4) != 0)
807+
TL_SHCI_CMD_DBG_MSG("sys rsp: 0x%02X", p_cmd_rsp_packet->evt.evtcode);
808+
TL_SHCI_CMD_DBG_MSG(" cmd opcode: 0x%02X", ((TL_CcEvt_t*)(p_cmd_rsp_packet->evt.payload))->cmdcode);
809+
TL_SHCI_CMD_DBG_MSG(" status: 0x%02X", ((TL_CcEvt_t*)(p_cmd_rsp_packet->evt.payload))->payload[0]);
810+
if((p_cmd_rsp_packet->evt.plen-4) != 0)
810811
{
811812
TL_SHCI_CMD_DBG_MSG(" payload:");
812-
TL_SHCI_CMD_DBG_BUF(&((TL_CcEvt_t*)(p_evt_packet->evtserial.evt.payload))->payload[1], p_evt_packet->evtserial.evt.plen-4, "");
813+
TL_SHCI_CMD_DBG_BUF(&((TL_CcEvt_t*)(p_cmd_rsp_packet->evt.payload))->payload[1], p_cmd_rsp_packet->evt.plen-4, "");
813814
}
814815
break;
815816

816817
default:
817-
TL_SHCI_CMD_DBG_MSG("unknown sys rsp received: %02X", p_evt_packet->evtserial.evt.evtcode);
818+
TL_SHCI_CMD_DBG_MSG("unknown sys rsp received: %02X", p_cmd_rsp_packet->evt.evtcode);
818819
break;
819820
}
820821

821822
TL_SHCI_CMD_DBG_MSG("\r\n");
822823

823-
TL_SHCI_CMD_DBG_RAW(&p_evt_packet->evtserial, p_evt_packet->evtserial.evt.plen+TL_EVT_HDR_SIZE);
824+
TL_SHCI_CMD_DBG_RAW(&p_cmd_rsp_packet->evt, p_cmd_rsp_packet->evt.plen+TL_EVT_HDR_SIZE);
824825
break;
825826

826827
case TL_MB_SYS_ASYNCH_EVT:

0 commit comments

Comments
 (0)