Skip to content

Commit

Permalink
[TESTS] Default BT type to BR/EDR for connect
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Feb 10, 2024
1 parent 789cca8 commit 56ed945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/injector.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __read(self):
def get_logs(self):
self.__read()

def connect(self, bt_conn_type):
def connect(self, bt_conn_type=0):
self.__write(0x01, self.handle, bt_conn_type.to_bytes(1, 'big'))

def disconnect(self):
Expand Down

0 comments on commit 56ed945

Please sign in to comment.