Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 7 of 7) sorted by relevance

/tools/test/connectivity/acts/tests/google/ble/gatt/
DGattWriteTest.py244 trimmed_value = char_value[0:self.mtu - 3]
294 self.mtu = gatt_mtu_size['max']
295 self.log.info("Set mtu to max MTU: {}".format(self.mtu))
298 self.gatt_callback, self.mtu):
326 data_length = self.mtu - gatt_characteristic_attr_length['attr_2']
333 self.mtu = gatt_mtu_size['max'] - 1
334 self.log.info("Set mtu to max MTU - 1 : {}".format(self.mtu))
335 data_length = self.mtu - gatt_characteristic_attr_length['attr_2']
337 self.gatt_callback, self.mtu):
358 self.mtu = gatt_mtu_size['min']
[all …]
DGattReadTest.py124 num_packets = ceil((len(char_value) + 1) / (self.mtu - 1))
127 startOffset = i * (self.mtu - 1)
140 char_value[startOffset:startOffset + self.mtu - 1])
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dgatts_lib.py110 mtu = 23
113 mtu = int(args[1])
188 data = data[offset:offset + mtu - 1]
285 mtu = 23
292 num_packets = ceil((len(char_value) + 1) / (mtu - 1))
296 start_offset = i * (mtu - 1)
300 data = char_value[start_offset:start_offset + mtu - 1]
326 mtu = 11
331 num_packets = ceil((len(char_value) + 1) / (mtu - 1))
Dbt_gatt_utils.py356 def setup_gatt_mtu(cen_ad, bluetooth_gatt, gatt_callback, mtu): argument
372 cen_ad.droid.gattClientRequestMtu(bluetooth_gatt, mtu)
377 if mtu_size_found != mtu:
379 mtu_size_found, mtu))
Dgattc_lib.py122 def request_mtu(self, mtu): argument
125 int(mtu))
DGattConnectedBaseTest.py65 self.mtu = gatt_mtu_size['min']
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DGattLongevityTest.py73 for j in range(i, i + self.mtu - 3):