Beispiel #1
0
def hdl_wid_140(desc):
    MMI.reset()
    MMI.parse_description(desc)

    hdl1 = MMI.args[0]
    hdl2 = MMI.args[1]
    btp.gattc_read_multiple_var(btp.pts_addr_type_get(), btp.pts_addr_get(), hdl1, hdl2)
    return '0000'
Beispiel #2
0
def hdl_wid_148(params: WIDParams):
    """
    Please send two Read Multiple Variable Length characteristic requests using these handles: 'XXXX'O 'XXXX'O
    Required Bearers are "EATT" bearers.

    Description: Verify that the Implementation Under Test (IUT) can receive multiple characteristics.
    """
    MMI.reset()
    MMI.parse_description(params.description)

    hdl1 = MMI.args[0]
    hdl2 = MMI.args[1]
    btp.gattc_read_multiple_var(btp.pts_addr_type_get(), btp.pts_addr_get(),
                                hdl1, hdl2)
    btp.gattc_read_multiple_var(btp.pts_addr_type_get(), btp.pts_addr_get(),
                                hdl1, hdl2)
    return True