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

Commit 41d56b9e authored by Myles Watson's avatar Myles Watson
Browse files

Use 40 seconds for Inquiry in Neighbor Test

Inquiry_Length can't be more than 0x30 * 1.128 s.

Bug: 208712935
Test: cert/run
Tag: #gd-refactor
Change-Id: I59260e1e7097092171c6ec0bcbb5f4f9f256e852
parent 9cbe353a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ class NeighborTest(gd_base_test.GdBaseTestClass):
        inquiry_msg = neighbor_facade.InquiryMsg(
            inquiry_mode=neighbor_facade.DiscoverabilityMode.GENERAL,
            result_mode=neighbor_facade.ResultMode.RSSI,
            length_1_28s=60,
            length_1_28s=31,
            max_results=0)
        session = self.dut_neighbor.set_inquiry_mode(inquiry_msg)
        self.cert_hci.send_command(hci_packets.WriteScanEnableBuilder(hci_packets.ScanEnable.INQUIRY_AND_PAGE_SCAN))
@@ -86,7 +86,7 @@ class NeighborTest(gd_base_test.GdBaseTestClass):
        inquiry_msg = neighbor_facade.InquiryMsg(
            inquiry_mode=neighbor_facade.DiscoverabilityMode.GENERAL,
            result_mode=neighbor_facade.ResultMode.EXTENDED,
            length_1_28s=80,
            length_1_28s=32,
            max_results=0)
        session = self.dut_neighbor.set_inquiry_mode(inquiry_msg)
        self.cert_hci.send_command(hci_packets.WriteScanEnableBuilder(hci_packets.ScanEnable.INQUIRY_AND_PAGE_SCAN))