Searched refs:mtu (Results 1 – 7 of 7) 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])
110 mtu = 23113 mtu = int(args[1])188 data = data[offset:offset + mtu - 1]285 mtu = 23292 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 = 11331 num_packets = ceil((len(char_value) + 1) / (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))
122 def request_mtu(self, mtu): argument125 int(mtu))
65 self.mtu = gatt_mtu_size['min']
73 for j in range(i, i + self.mtu - 3):