Exemplo n.º 1
0
def hdl_wid_10(dec):
    # Send Discover All Primary Services Request
    btp.gattc_disc_all_prim(btp.pts_addr_type_get(), btp.pts_addr_get())

    # Read Discover All Primary Services Response and store it for later use.
    btp.gattc_disc_all_prim_rsp(True)
    return True
Exemplo n.º 2
0
def hdl_wid_10(desc):
    btp.gattc_disc_all_prim(btp.pts_addr_type_get(), btp.pts_addr_get())
    btp.gattc_disc_all_prim_rsp()
    return True
Exemplo n.º 3
0
def hdl_wid_10(_: WIDParams):
    btp.gattc_disc_all_prim(btp.pts_addr_type_get(), btp.pts_addr_get())
    btp.gattc_disc_all_prim_rsp(store_rsp=True)
    return True