Loading tools/rootcanal/model/controller/dual_mode_controller.cc +8 −2 Original line number Original line Diff line number Diff line Loading @@ -3108,11 +3108,17 @@ void DualModeController::LeApcf(CommandView command) { break; break; } } case bluetooth::hci::ApcfOpcode::TRANSPORT_DISCOVERY_SERVICE: { case bluetooth::hci::ApcfOpcode::TRANSPORT_DISCOVERY_SERVICE: { auto subcommand_view = bluetooth::hci::LeApcfServiceDataView::Create(command_view); CHECK_PACKET_VIEW(subcommand_view); DEBUG(id_, "<< LE APCF Transport Discovery Service"); DEBUG(id_, "<< LE APCF Transport Discovery Service"); DEBUG(id_, " action={}", bluetooth::hci::ApcfActionText(subcommand_view.GetApcfAction())); send_event_(bluetooth::hci::LeApcfCompleteBuilder::Create( send_event_(bluetooth::hci::LeApcfTransportDiscoveryServiceCompleteBuilder::Create( kNumCommandPackets, ErrorCode::INVALID_HCI_COMMAND_PARAMETERS, kNumCommandPackets, ErrorCode::INVALID_HCI_COMMAND_PARAMETERS, command_view.GetApcfOpcode(), std::vector<uint8_t>{})); subcommand_view.GetApcfAction(), 0)); break; break; } } case bluetooth::hci::ApcfOpcode::AD_TYPE_FILTER: { case bluetooth::hci::ApcfOpcode::AD_TYPE_FILTER: { Loading tools/rootcanal/packets/hci_packets.pdl +11 −0 Original line number Original line Diff line number Diff line Loading @@ -5995,6 +5995,17 @@ packet LeApcfAdTypeFilterComplete : LeApcfComplete (apcf_opcode = AD_TYPE_FILTER apcf_available_spaces : 8, apcf_available_spaces : 8, } } packet LeApcfTransportDiscoveryService : LeApcf (apcf_opcode = TRANSPORT_DISCOVERY_SERVICE) { apcf_action : ApcfAction, apcf_filter_index : 8, apcf_transport_discovery_data : 8[], } packet LeApcfTransportDiscoveryServiceComplete : LeApcfComplete (apcf_opcode = TRANSPORT_DISCOVERY_SERVICE) { apcf_action : ApcfAction, apcf_available_spaces : 8, } packet LeApcfReadExtendedFeatures : LeApcf (apcf_opcode = READ_EXTENDED_FEATURES) { packet LeApcfReadExtendedFeatures : LeApcf (apcf_opcode = READ_EXTENDED_FEATURES) { } } Loading Loading
tools/rootcanal/model/controller/dual_mode_controller.cc +8 −2 Original line number Original line Diff line number Diff line Loading @@ -3108,11 +3108,17 @@ void DualModeController::LeApcf(CommandView command) { break; break; } } case bluetooth::hci::ApcfOpcode::TRANSPORT_DISCOVERY_SERVICE: { case bluetooth::hci::ApcfOpcode::TRANSPORT_DISCOVERY_SERVICE: { auto subcommand_view = bluetooth::hci::LeApcfServiceDataView::Create(command_view); CHECK_PACKET_VIEW(subcommand_view); DEBUG(id_, "<< LE APCF Transport Discovery Service"); DEBUG(id_, "<< LE APCF Transport Discovery Service"); DEBUG(id_, " action={}", bluetooth::hci::ApcfActionText(subcommand_view.GetApcfAction())); send_event_(bluetooth::hci::LeApcfCompleteBuilder::Create( send_event_(bluetooth::hci::LeApcfTransportDiscoveryServiceCompleteBuilder::Create( kNumCommandPackets, ErrorCode::INVALID_HCI_COMMAND_PARAMETERS, kNumCommandPackets, ErrorCode::INVALID_HCI_COMMAND_PARAMETERS, command_view.GetApcfOpcode(), std::vector<uint8_t>{})); subcommand_view.GetApcfAction(), 0)); break; break; } } case bluetooth::hci::ApcfOpcode::AD_TYPE_FILTER: { case bluetooth::hci::ApcfOpcode::AD_TYPE_FILTER: { Loading
tools/rootcanal/packets/hci_packets.pdl +11 −0 Original line number Original line Diff line number Diff line Loading @@ -5995,6 +5995,17 @@ packet LeApcfAdTypeFilterComplete : LeApcfComplete (apcf_opcode = AD_TYPE_FILTER apcf_available_spaces : 8, apcf_available_spaces : 8, } } packet LeApcfTransportDiscoveryService : LeApcf (apcf_opcode = TRANSPORT_DISCOVERY_SERVICE) { apcf_action : ApcfAction, apcf_filter_index : 8, apcf_transport_discovery_data : 8[], } packet LeApcfTransportDiscoveryServiceComplete : LeApcfComplete (apcf_opcode = TRANSPORT_DISCOVERY_SERVICE) { apcf_action : ApcfAction, apcf_available_spaces : 8, } packet LeApcfReadExtendedFeatures : LeApcf (apcf_opcode = READ_EXTENDED_FEATURES) { packet LeApcfReadExtendedFeatures : LeApcf (apcf_opcode = READ_EXTENDED_FEATURES) { } } Loading