Searched refs:mtu (Results 1 – 5 of 5) sorted by relevance
244 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'] - 1334 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 …]
124 num_packets = ceil((len(char_value) + 1) / (self.mtu - 1))127 startOffset = i * (self.mtu - 1)140 char_value[startOffset:startOffset + self.mtu - 1])
356 def setup_gatt_mtu(cen_ad, bluetooth_gatt, gatt_callback, mtu): argument372 cen_ad.droid.gattClientRequestMtu(bluetooth_gatt, mtu)377 if mtu_size_found != mtu:379 mtu_size_found, mtu))
73 for j in range(i, i + self.mtu - 3):
115 optional int32 mtu = 16 [default = 0]; field