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

Commit 9f14c4dc authored by Eric Miao's avatar Eric Miao
Browse files

Revert "PDL: support Erroneous Data Reporting"

Revert submission 2494418

Reason for revert: CLs are causing test failures on some platforms where it failed at 'assertion complete_view.IsValid()'. See b/275596201.

Reverted changes: /q/submissionid:2494418

Change-Id: I291c69d6adf4d600d1312c6cba4c5f11f440705a
parent 118a8a1f
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
@@ -2506,40 +2506,6 @@ packet WriteInquiryResponseTransmitPowerLevelComplete : CommandComplete (command
  status : ErrorCode,
}

packet ReadDefaultErroneousDataReporting : Command (op_code = READ_DEFAULT_ERRONEOUS_DATA_REPORTING) {
}

test ReadDefaultErroneousDataReporting {
  "\x5a\x0c\x00",
}

packet ReadDefaultErroneousDataReportingComplete : CommandComplete (command_op_code = READ_DEFAULT_ERRONEOUS_DATA_REPORTING) {
  status : ErrorCode,
  erroneous_data_reporting : Enable,
}

test ReadDefaultErroneousDataReportingComplete {
  "\x0e\x05\x02\x5a\x0c\x00\x00", // status success, Erroneous data reporting disabled
  "\x0e\x05\x02\x5a\x0c\x00\x01", // status success, Erroneous data reporting enabled
}

packet WriteDefaultErroneousDataReporting : Command (op_code = WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING) {
  erroneous_data_reporting : Enable,
}

test WriteDefaultErroneousDataReporting {
  "\x5b\x0c\x01\x00", // disable Erroneous Data reporting
  "\x5b\x0c\x01\x01", // enable Erroneous Data reporting
}

packet WriteDefaultErroneousDataReportingComplete : CommandComplete (command_op_code = WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING) {
  status : ErrorCode,
}

test WriteDefaultErroneousDataReportingComplete {
  "\x0e\x04\x01\x5b\x0c\x00", // status success
}

enum KeypressNotificationType : 8 {
  ENTRY_STARTED = 0,
  DIGIT_ENTERED = 1,