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

Commit f9b6735f authored by Chris Manton's avatar Chris Manton
Browse files

Update WriteInquiryScanActivity

Test: Compiles
Bug: 142061208

Change-Id: I969e94e393812528ec4ba38a87b4055bc42c67d3
parent f4bc22fb
Loading
Loading
Loading
Loading
+18 −2
Original line number Diff line number Diff line
@@ -1468,7 +1468,12 @@ packet ReadInquiryScanActivity : DiscoveryCommand (op_code = READ_INQUIRY_SCAN_A
}

packet WriteInquiryScanActivity : DiscoveryCommand (op_code = WRITE_INQUIRY_SCAN_ACTIVITY) {
  _payload_,  // placeholder (unimplemented)
  inquiry_scan_interval : 16, // Range: 0x0012 to 0x1000; only even values are valid * 0x625 ms
  inquiry_scan_window : 16, // Range: 0x0011 to 0x1000
}

packet WriteInquiryScanActivityComplete : CommandComplete (command_op_code = WRITE_INQUIRY_SCAN_ACTIVITY) {
  status : ErrorCode,
}

enum AuthenticationEnable : 8 {
@@ -1646,12 +1651,23 @@ packet ReadNumberOfSupportedIacComplete : CommandComplete (command_op_code = REA
  num_support_iac : 8,
}

struct Lap { // Lower Address Part
  lap : 6,
  _reserved_ : 2,
  _fixed_ = 0x9e8b : 16,
}

packet ReadCurrentIacLap : DiscoveryCommand (op_code = READ_CURRENT_IAC_LAP) {
  _payload_,  // placeholder (unimplemented)
}

packet WriteCurrentIacLap : DiscoveryCommand (op_code = WRITE_CURRENT_IAC_LAP) {
  _payload_,  // placeholder (unimplemented)
  _count_(laps_to_write) : 8,
  laps_to_write : Lap[],
}

packet WriteCurrentIacLapComplete : CommandComplete (command_op_code = WRITE_CURRENT_IAC_LAP) {
  status : ErrorCode,
}

packet SetAfhHostChannelClassification : CommandPacket (op_code = SET_AFH_HOST_CHANNEL_CLASSIFICATION) {