mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
tests: GET ip_addr_go
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8ffaafae07
commit
47af258687
@ -41,6 +41,9 @@ def check_ip_addr(res):
|
||||
def test_nfc_p2p_go_neg(dev):
|
||||
"""NFC connection handover to form a new P2P group (initiator becomes GO)"""
|
||||
set_ip_addr_info(dev[0])
|
||||
ip = dev[0].request("GET ip_addr_go")
|
||||
if ip != "192.168.42.1":
|
||||
raise Exception("Unexpected ip_addr_go returned: " + ip)
|
||||
dev[0].global_request("SET p2p_go_intent 10")
|
||||
logger.info("Perform NFC connection handover")
|
||||
req = dev[0].global_request("NFC_GET_HANDOVER_REQ NDEF P2P-CR").rstrip()
|
||||
|
Loading…
Reference in New Issue
Block a user