Skip to content

Commit

Permalink
wid/hap: add wid handler for eatt
Browse files Browse the repository at this point in the history
  • Loading branch information
mringwal committed Sep 26, 2024
1 parent 9247e10 commit 7114530
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions autopts/wid/hap.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,21 @@ def hdl_wid_20128(_: WIDParams):
return True


def hdl_wid_20137(params: WIDParams):
"""
Please initiate an L2CAP Credit Based Connection to the PTS.
"""
if params.test_case_name.endswith('LT2'):
addr = lt2_addr_get()
addr_type = lt2_addr_type_get()
else:
addr = pts_addr_get()
addr_type = pts_addr_type_get()

btp.gatt.eatt_conn(addr, addr_type, 5)
return True


def hdl_wid_20144(_: WIDParams):
"""
Please click Yes if IUT support Write Command(without response), otherwise click No.
Expand Down

0 comments on commit 7114530

Please sign in to comment.