Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f53f56f0 authored by William Escande's avatar William Escande
Browse files

BT5.3: Periodic Advertising adi -- post cleanup

Follow-up cl to add facade method

Bug: 248126637
Tag: #feature
Test: Manual end-to-end testing (need 5.3 support in controller)
Change-Id: I2813b992e14c3601fa8aa782b8252d31b855f492
parent 4cd7fd5d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ service ControllerFacade {
  rpc SupportsBlePowerControlRequest(google.protobuf.Empty) returns (SupportedMsg) {}
  rpc SupportsBlePowerChangeIndication(google.protobuf.Empty) returns (SupportedMsg) {}
  rpc SupportsBlePathLossMonitoring(google.protobuf.Empty) returns (SupportedMsg) {}
  rpc SupportsBlePeriodicAdvertisingAdi(google.protobuf.Empty) returns (SupportedMsg) {}
}

message NameMsg {
+1 −0
Original line number Diff line number Diff line
@@ -142,6 +142,7 @@ class ControllerFacadeService : public ControllerFacade::Service {
  SUPPORTED_API(SupportsBlePowerControlRequest)
  SUPPORTED_API(SupportsBlePowerChangeIndication)
  SUPPORTED_API(SupportsBlePathLossMonitoring)
  SUPPORTED_API(SupportsBlePeriodicAdvertisingAdi)

  ::grpc::Status GetLeNumberOfSupportedAdvertisingSets(
      ::grpc::ServerContext* context, const ::google::protobuf::Empty* request, SingleValueMsg* response) override {
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ pub mod ffi {
        fn controller_supports_connected_iso_stream_peripheral(c: &Controller) -> bool;
        fn controller_supports_iso_broadcaster(c: &Controller) -> bool;
        fn controller_supports_synchronized_receiver(c: &Controller) -> bool;
        fn controller_supports_ble_periodic_advertising_adi(c: &Controller) -> bool;
        fn controller_supports_configure_data_path(c: &Controller) -> bool;

        fn controller_supports_reading_remote_extended_features(c: &Controller) -> bool;
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ le_feature_getters! {
    connected_iso_stream_peripheral,
    iso_broadcaster,
    synchronized_receiver,
    ble_periodic_advertising_adi,
}

macro_rules! opcode_getters {
+1 −0
Original line number Diff line number Diff line
@@ -328,6 +328,7 @@ supported_le_features! {
    connected_iso_stream_peripheral => 29,
    iso_broadcaster => 30,
    synchronized_receiver => 31,
    ble_periodic_advertising_adi => 36,
}

/// Convert a null terminated C string into a Rust String
Loading