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

Commit a1710199 authored by Chris Manton's avatar Chris Manton Committed by android-build-merger
Browse files

Merge "Add Page Write commands" am: 0515a5ef am: 54fcd26f am: 02f3d4f6

am: 720ae6eb

Change-Id: Ib2da4a4e6a1d2c592fcbbd33925a2bd6b9b2b8f4
parents b0120a36 720ae6eb
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1450,7 +1450,11 @@ packet ReadPageTimeoutComplete : CommandComplete (command_op_code = READ_PAGE_TI
}

packet WritePageTimeout : DiscoveryCommand (op_code = WRITE_PAGE_TIMEOUT) {
  _payload_,  // placeholder (unimplemented)
  page_timeout : 16,
}

packet WritePageTimeoutComplete : CommandComplete (command_op_code = WRITE_PAGE_TIMEOUT) {
  status : ErrorCode,
}

enum ScanEnable : 8 {
+6 −0
Original line number Diff line number Diff line
@@ -164,6 +164,12 @@ DEFINE_AND_INSTANTIATE_ReadPageTimeoutReflectionTest(read_page_timeout);
std::vector<uint8_t> read_page_timeout_complete = {0x0e, 0x06, 0x01, 0x17, 0x0c, 0x00, 0x11, 0x22};
DEFINE_AND_INSTANTIATE_ReadPageTimeoutCompleteReflectionTest(read_page_timeout_complete);

std::vector<uint8_t> write_page_timeout = {0x18, 0x0c, 0x02, 0x00, 0x20};
DEFINE_AND_INSTANTIATE_WritePageTimeoutReflectionTest(write_page_timeout);

std::vector<uint8_t> write_page_timeout_complete = {0x0e, 0x04, 0x01, 0x18, 0x0c, 0x00};
DEFINE_AND_INSTANTIATE_WritePageTimeoutCompleteReflectionTest(write_page_timeout_complete);

std::vector<uint8_t> inquiry = {0x01, 0x04, 0x05, 0x33, 0x8b, 0x9e, 0xaa, 0xbb};
DEFINE_AND_INSTANTIATE_InquiryReflectionTest(inquiry);