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

Commit fe213edb authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Myles Watson
Browse files

Add LeExtendedCreateConnection definition

Test: bluetooth_test_gd
Bug: 147086339
Change-Id: I9db04b79e870f9b16567b1b2b1246ea130e0f68f
parent 3feb1cd6
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -3009,8 +3009,24 @@ packet LeSetExtendedScanEnableComplete : CommandComplete (command_op_code = LE_S
  status : ErrorCode,
}

struct LeCreateConnPhyScanParameters {
  scan_interval : 16, // 0x0004-0xFFFF
  scan_window : 16, // < = LeScanInterval
  conn_interval_min : 16, // 0x0006-0x0C80 (7.5ms to 4s)
  conn_interval_max : 16, // 0x0006-0x0C80 (7.5ms to 4s)
  conn_latency : 16, // 0x0006-0x01F3
  supervision_timeout : 16, // 0x00A to 0x0C80 (100ms to 32s)
  min_ce_length : 16, // 0.625ms
  max_ce_length : 16, // 0.625ms
}

packet LeExtendedCreateConnection : LeConnectionManagementCommand (op_code = LE_EXTENDED_CREATE_CONNECTION) {
  _payload_,  // placeholder (unimplemented)
  initiator_filter_policy : InitiatorFilterPolicy,
  own_address_type : OwnAddressType,
  peer_address_type : AddressType,
  peer_address : Address,
  initiating_phys : 8,
  phy_scan_parameters : LeCreateConnPhyScanParameters[],
}

packet LePeriodicAdvertisingCreateSync : LeAdvertisingCommand (op_code = LE_PERIODIC_ADVERTISING_CREATE_SYNC) {