Skip to content

Commit 4b38da9

Browse files
softdevice_controller: rev 45cff060961a6b631019b68540c583b218e54fbc
CHANGELOG.rst contains the list of changes. Signed-off-by: Olivier Lesage <[email protected]>
1 parent 276e0e6 commit 4b38da9

File tree

49 files changed

+107
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+107
-78
lines changed

softdevice_controller/CHANGELOG.rst

Lines changed: 1 addition & 0 deletions

softdevice_controller/README.rst

Lines changed: 0 additions & 1 deletion

softdevice_controller/include/sdc.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,16 @@ int32_t sdc_support_connection_subrating_peripheral(void);
13621362
*/
13631363
int32_t sdc_support_channel_sounding_test(void);
13641364

1365+
/** @brief
1366+
*
1367+
* After this API is called, the controller will support Channel Sounding Step Mode 3
1368+
*
1369+
* @retval 0 Success
1370+
* @retval -NRF_EPERM This API must be called before @ref sdc_cfg_set() or @ref sdc_enable().
1371+
* @retval -NRF_EOPNOTSUPP Channel Sounding is not supported
1372+
*/
1373+
int32_t sdc_support_channel_sounding_mode3(void);
1374+
13651375
/** @brief Support LE Channel Sounding
13661376
*
13671377
* After this API is called, the controller will support the HCI commands

softdevice_controller/include/sdc_hci_cmd_le.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ enum sdc_hci_opcode_le
8989
SDC_HCI_OPCODE_CMD_LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY = 0x201b,
9090
/** @brief See @ref sdc_hci_cmd_le_read_supported_states(). */
9191
SDC_HCI_OPCODE_CMD_LE_READ_SUPPORTED_STATES = 0x201c,
92-
/** @brief See @ref sdc_hci_cmd_le_test_end(). */
93-
SDC_HCI_OPCODE_CMD_LE_TEST_END = 0x201f,
9492
/** @brief See @ref sdc_hci_cmd_le_set_data_length(). */
9593
SDC_HCI_OPCODE_CMD_LE_SET_DATA_LENGTH = 0x2022,
9694
/** @brief See @ref sdc_hci_cmd_le_read_suggested_default_data_length(). */
@@ -1571,12 +1569,6 @@ typedef struct __PACKED __ALIGN(1)
15711569
uint8_t le_states[8];
15721570
} sdc_hci_cmd_le_read_supported_states_return_t;
15731571

1574-
/** @brief LE Test End return parameter(s). */
1575-
typedef struct __PACKED __ALIGN(1)
1576-
{
1577-
uint16_t num_packets;
1578-
} sdc_hci_cmd_le_test_end_return_t;
1579-
15801572
/** @brief LE Set Data Length command parameter(s). */
15811573
typedef struct __PACKED __ALIGN(1)
15821574
{
@@ -3745,27 +3737,6 @@ uint8_t sdc_hci_cmd_le_long_term_key_request_negative_reply(const sdc_hci_cmd_le
37453737
*/
37463738
uint8_t sdc_hci_cmd_le_read_supported_states(sdc_hci_cmd_le_read_supported_states_return_t * p_return);
37473739

3748-
/** @brief LE Test End.
3749-
*
3750-
* The description below is extracted from Core_v6.0,
3751-
* Vol 4, Part E, Section 7.8.30
3752-
*
3753-
* This command is used to stop any test which is in progress. The Num_Packets for a
3754-
* transmitter test shall be reported as 0x0000. The Num_Packets is an unsigned number
3755-
* and contains the number of received packets.
3756-
*
3757-
* Event(s) generated (unless masked away):
3758-
* When the HCI_LE_Test_End command has completed, an HCI_Command_Complete
3759-
* event shall be generated.
3760-
*
3761-
* @param[out] p_return Extra return parameters.
3762-
*
3763-
* @retval 0 if success.
3764-
* @return Returns value between 0x01-0xFF in case of error.
3765-
* See Vol 2, Part D, Error for a list of error codes and descriptions.
3766-
*/
3767-
uint8_t sdc_hci_cmd_le_test_end(sdc_hci_cmd_le_test_end_return_t * p_return);
3768-
37693740
/** @brief LE Set Data Length.
37703741
*
37713742
* The description below is extracted from Core_v6.0,

softdevice_controller/include/sdc_hci_vs.h

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ enum sdc_hci_opcode_vs
105105
SDC_HCI_OPCODE_CMD_VS_SET_EVENT_START_TASK = 0xfd1e,
106106
/** @brief See @ref sdc_hci_cmd_vs_conn_anchor_point_update_event_report_enable(). */
107107
SDC_HCI_OPCODE_CMD_VS_CONN_ANCHOR_POINT_UPDATE_EVENT_REPORT_ENABLE = 0xfd1f,
108+
/** @brief See @ref sdc_hci_cmd_vs_enable_periodic_adv_event_counter_reports(). */
109+
SDC_HCI_OPCODE_CMD_VS_ENABLE_PERIODIC_ADV_EVENT_COUNTER_REPORTS = 0xfd20,
108110
};
109111

110112
/** @brief VS subevent Code values. */
@@ -116,6 +118,8 @@ enum sdc_hci_subevent_vs
116118
SDC_HCI_SUBEVENT_VS_QOS_CHANNEL_SURVEY_REPORT = 0x81,
117119
/** @brief See @ref sdc_hci_subevent_vs_conn_anchor_point_update_report_t. */
118120
SDC_HCI_SUBEVENT_VS_CONN_ANCHOR_POINT_UPDATE_REPORT = 0x82,
121+
/** @brief See @ref sdc_hci_subevent_vs_periodic_adv_event_counter_report_t. */
122+
SDC_HCI_SUBEVENT_VS_PERIODIC_ADV_EVENT_COUNTER_REPORT = 0x84,
119123
};
120124

121125
/** @brief Peripheral latency disable/enable modes. */
@@ -284,6 +288,22 @@ typedef struct __PACKED __ALIGN(1)
284288
uint64_t anchor_point_us;
285289
} sdc_hci_subevent_vs_conn_anchor_point_update_report_t;
286290

291+
/** @brief Periodic Advertising Event Counter Report.
292+
*
293+
* This event indicates that the controller updated the event counter for a periodic advertisement.
294+
*
295+
* These will only be generated if enabled through the
296+
* @ref sdc_hci_cmd_vs_enable_periodic_adv_event_counter_reports command.
297+
*/
298+
typedef struct __PACKED __ALIGN(1)
299+
{
300+
/** @brief Advertising handle for the periodic advertisement whose event counter was updated.
301+
*/
302+
uint8_t adv_handle;
303+
/** @brief Event counter. */
304+
uint16_t pa_event_counter;
305+
} sdc_hci_subevent_vs_periodic_adv_event_counter_report_t;
306+
287307
/** @} end of HCI_EVENTS */
288308

289309
/**
@@ -694,6 +714,13 @@ typedef struct __PACKED __ALIGN(1)
694714
uint8_t enable;
695715
} sdc_hci_cmd_vs_conn_anchor_point_update_event_report_enable_t;
696716

717+
/** @brief Enable Periodic Advertising Event Counter Reports command parameter(s). */
718+
typedef struct __PACKED __ALIGN(1)
719+
{
720+
/** @brief Set to 1 to enable, 0 to disable. */
721+
uint8_t enable;
722+
} sdc_hci_cmd_vs_enable_periodic_adv_event_counter_reports_t;
723+
697724
/** @} end of HCI_COMMAND_PARAMETERS */
698725

699726
/**
@@ -1622,6 +1649,27 @@ uint8_t sdc_hci_cmd_vs_set_event_start_task(const sdc_hci_cmd_vs_set_event_start
16221649
*/
16231650
uint8_t sdc_hci_cmd_vs_conn_anchor_point_update_event_report_enable(const sdc_hci_cmd_vs_conn_anchor_point_update_event_report_enable_t * p_params);
16241651

1652+
/** @brief Enable Periodic Advertising Event Counter Reports.
1653+
*
1654+
* This command can be used to enable generation
1655+
* of @ref sdc_hci_subevent_vs_periodic_adv_event_counter_report_t events.
1656+
*
1657+
* The event will be generated whenever the controller sends
1658+
* the first sync packet in a periodic advertising event.
1659+
*
1660+
* If the application does not pull a report in time, it will be overwritten.
1661+
*
1662+
* Event(s) generated (unless masked away):
1663+
* When the command has completed, an HCI_Command_Complete event shall be generated.
1664+
*
1665+
* @param[in] p_params Input parameters.
1666+
*
1667+
* @retval 0 if success.
1668+
* @return Returns value between 0x01-0xFF in case of error.
1669+
* See Vol 2, Part D, Error for a list of error codes and descriptions.
1670+
*/
1671+
uint8_t sdc_hci_cmd_vs_enable_periodic_adv_event_counter_reports(const sdc_hci_cmd_vs_enable_periodic_adv_event_counter_reports_t * p_params);
1672+
16251673
/** @} end of HCI_VS_API */
16261674

16271675
/** @} */
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
description: SoftDevice Controller
2-
git_revision: af60cb675fe733ccf21f238af0e95276681eac2d
3-
ll_subversion_number: '0x1114'
2+
git_revision: 45cff060961a6b631019b68540c583b218e54fbc
3+
ll_subversion_number: '0x111B'
44
ll_version_number: '0x0E'
5-
timestamp: '2025-05-30T12:48:55Z'
5+
timestamp: '2025-06-06T08:21:41Z'
Binary file not shown.

0 commit comments

Comments
 (0)