hci_cmd: use array notation for hci_le_set_extended_scan_parameters

This commit is contained in:
Matthias Ringwald 2022-01-04 22:33:51 +01:00
parent baa4881ec9
commit 6ea37a0f04
2 changed files with 4 additions and 11 deletions

View File

@ -1706,14 +1706,8 @@ const hci_cmd_t hci_le_set_periodic_advertising_enable = {
* @param scan_window * 0.625, range = 0x0004..0xffff * @param scan_window * 0.625, range = 0x0004..0xffff
*/ */
// Variants for 1 (1M or Coded) PHY const hci_cmd_t hci_le_set_extended_scan_parameters = {
const hci_cmd_t hci_le_set_extended_scan_parameters_1 = { HCI_OPCODE_HCI_LE_SET_EXTENDED_SCAN_PARAMETERS, "11b[122]"
HCI_OPCODE_HCI_LE_SET_EXTENDED_SCAN_PARAMETERS, "111122"
};
// Variants for 2 (1M and Coded) PHY
const hci_cmd_t hci_le_set_extended_scan_parameters_2 = {
HCI_OPCODE_HCI_LE_SET_EXTENDED_SCAN_PARAMETERS, "111122122"
}; };
/** /**

View File

@ -466,7 +466,7 @@ extern const hci_cmd_t hci_le_periodic_advertising_terminate_sync;
extern const hci_cmd_t hci_le_rand; extern const hci_cmd_t hci_le_rand;
extern const hci_cmd_t hci_le_read_advertising_channel_tx_power; extern const hci_cmd_t hci_le_read_advertising_channel_tx_power;
extern const hci_cmd_t hci_le_read_antenna_information; extern const hci_cmd_t hci_le_read_antenna_information;
extern const hci_cmd_t hci_le_read_buffer_size ; extern const hci_cmd_t hci_le_read_buffer_size;
extern const hci_cmd_t hci_le_read_channel_map; extern const hci_cmd_t hci_le_read_channel_map;
extern const hci_cmd_t hci_le_read_iso_link_quality; extern const hci_cmd_t hci_le_read_iso_link_quality;
extern const hci_cmd_t hci_le_read_iso_tx_sync; extern const hci_cmd_t hci_le_read_iso_tx_sync;
@ -520,8 +520,7 @@ extern const hci_cmd_t hci_le_set_extended_advertising_data;
extern const hci_cmd_t hci_le_set_extended_advertising_enable; extern const hci_cmd_t hci_le_set_extended_advertising_enable;
extern const hci_cmd_t hci_le_set_extended_advertising_parameters; extern const hci_cmd_t hci_le_set_extended_advertising_parameters;
extern const hci_cmd_t hci_le_set_extended_scan_enable; extern const hci_cmd_t hci_le_set_extended_scan_enable;
extern const hci_cmd_t hci_le_set_extended_scan_parameters_1; extern const hci_cmd_t hci_le_set_extended_scan_parameters;
extern const hci_cmd_t hci_le_set_extended_scan_parameters_2;
extern const hci_cmd_t hci_le_set_extended_scan_response_data; extern const hci_cmd_t hci_le_set_extended_scan_response_data;
extern const hci_cmd_t hci_le_set_host_channel_classification; extern const hci_cmd_t hci_le_set_host_channel_classification;
extern const hci_cmd_t hci_le_set_host_feature; extern const hci_cmd_t hci_le_set_host_feature;