Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ def test_ble_thread_value(self):
def test_nfc_thread_value(self):
assert PairingMode.NFC_THREAD.value == "nfc-thread"

def test_nfc_ethernet_value(self):
assert PairingMode.NFC_ETHERNET.value == "nfc-ethernet"

def test_onnetwork_value(self):
assert PairingMode.ONNETWORK.value == "onnetwork"

Expand Down
1 change: 1 addition & 0 deletions th_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ class PairingMode(str, Enum):
BLE_THREAD = "ble-thread"
WIFIPAF_WIFI = "wifipaf-wifi"
NFC_THREAD = "nfc-thread"
NFC_ETHERNET = "nfc-ethernet"
ONNETWORK = "onnetwork"


Expand Down
2 changes: 2 additions & 0 deletions th_cli/shared_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class DutPairingModeEnum(str, Enum):
ON_NETWORK = "onnetwork"
BLE_WIFI = "ble-wifi"
NFC_WIFI = "nfc-wifi"
NFC_ETHERNET = "nfc-ethernet"
BLE_THREAD = "ble-thread"
WIFIPAF_WIFI = "wifipaf-wifi"
NFC_THREAD = "nfc-thread"
Expand All @@ -72,5 +73,6 @@ class DutPairingModeEnum(str, Enum):

NFC_PAIRING_MODES = {
DutPairingModeEnum.NFC_WIFI.value,
DutPairingModeEnum.NFC_ETHERNET.value,
DutPairingModeEnum.NFC_THREAD.value,
}
Loading