Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/blueberry/utils/
Darduino_base.py45 def _send_string_to_arduino(self, tx_string): argument
75 self.serial.write(str.encode(tx_string))
77 rx_string = self.serial.read_until(tx_string, len(tx_string)).decode()
78 if rx_string == tx_string:
81 ' Arduino.' % (self.serial.timeout, tx_string))