Home
last modified time | relevance | path

Searched refs:discerner (Results 1 – 11 of 11) sorted by relevance

/openthread-3.5.0/tests/scripts/expect/
Dcli-discerner.exp36 set discerner "0xabc/12"
38 send "netdata typo check $discerner\n"
40 send "netdata steeringdata typo $discerner\n"
42 send "netdata steeringdata check $discerner/0\n"
44 send "netdata steeringdata check $discerner\n"
53 send "commissioner joiner add $discerner $pskd\n"
55 wait_for "netdata steeringdata check $discerner" "Done"
56 send "commissioner joiner remove $discerner\n"
58 wait_for "netdata steeringdata check $discerner" "NotFound"
59 send "commissioner joiner add $discerner $pskd\n"
[all …]
/openthread-3.5.0/src/cli/
Dcli_joiner.cpp61 const otJoinerDiscerner *discerner = otJoinerGetDiscerner(GetInstancePtr()); in Process() local
63 VerifyOrExit(discerner != nullptr, error = OT_ERROR_NOT_FOUND); in Process()
65 if (discerner->mValue <= 0xffffffff) in Process()
67 …OutputLine("0x%lx/%u", static_cast<unsigned long>(discerner->mValue & 0xffffffff), discerner->mLen… in Process()
71 OutputLine("0x%lx%08lx/%u", static_cast<unsigned long>(discerner->mValue >> 32), in Process()
72 … static_cast<unsigned long>(discerner->mValue & 0xffffffff), discerner->mLength); in Process()
79 otJoinerDiscerner discerner; in Process() local
81 memset(&discerner, 0, sizeof(discerner)); in Process()
111 SuccessOrExit(Interpreter::ParseJoinerDiscerner(aArgs[0], discerner)); in Process()
112 error = otJoinerSetDiscerner(GetInstancePtr(), &discerner); in Process()
DREADME_JOINER.md10 - [discerner](#discerner)
34 ### discerner subsection
36 Usage: `joiner discerner [discerner]`
40 - discerner: `clear` to clear discerner, `number/length` to set discerner
43 > joiner discerner 0xabc/12
45 > joiner discerner
48 > joiner discerner clear
Dcli_commissioner.cpp89 otJoinerDiscerner discerner; in Process() local
136 memset(&discerner, 0, sizeof(discerner)); in Process()
144 error = Interpreter::ParseJoinerDiscerner(aArgs[1], discerner); in Process()
166 if (discerner.mLength) in Process()
168 …error = otCommissionerAddJoinerWithDiscerner(GetInstancePtr(), &discerner, aArgs[2].GetCString(), … in Process()
177 if (discerner.mLength) in Process()
179 error = otCommissionerRemoveJoinerWithDiscerner(GetInstancePtr(), &discerner); in Process()
DREADME_COMMISSIONER.md86 Usage: `commissioner joiner add <eui64>|<discerner> <pskd> [timeout]`
91 - discerner: The Joiner discerner in format `number/length`.
107 Usage: `commissioner joiner remove <eui64>|<discerner>`
112 - discerner: The Joiner discerner in format `number/length`.
Dcli_network_data.cpp492 otJoinerDiscerner discerner; in Process() local
496 error = Interpreter::ParseJoinerDiscerner(aArgs[1], discerner); in Process()
500 discerner.mLength = 0; in Process()
522 if (discerner.mLength) in Process()
524 error = otNetDataSteeringDataCheckJoinerWithDiscerner(GetInstancePtr(), &discerner); in Process()
DREADME_NETDATA.md425 ### netdata steeringdata check \<eui64\>|\<discerner\>
430 - discerner: The Joiner discerner in format `number/length`.
/openthread-3.5.0/src/ncp/
Dncp_base_ftd.cpp762 otJoinerDiscerner discerner; in HandlePropertyInsert() local
782 SuccessOrExit(error = mDecoder.ReadUint8(discerner.mLength)); in HandlePropertyInsert()
783 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertyInsert()
795 error = otCommissionerAddJoinerWithDiscerner(mInstance, &discerner, psk, timeout); in HandlePropertyInsert()
809 otJoinerDiscerner discerner; in HandlePropertyRemove() local
827 SuccessOrExit(error = mDecoder.ReadUint8(discerner.mLength)); in HandlePropertyRemove()
828 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertyRemove()
837 error = otCommissionerRemoveJoinerWithDiscerner(mInstance, &discerner); in HandlePropertyRemove()
Dncp_base_mtd.cpp1816 const otJoinerDiscerner *discerner = otJoinerGetDiscerner(mInstance); in HandlePropertyGet() local
1818 if (discerner == nullptr) in HandlePropertyGet()
1824 SuccessOrExit(error = mEncoder.WriteUint8(discerner->mLength)); in HandlePropertyGet()
1825 SuccessOrExit(error = mEncoder.WriteUint64(discerner->mValue)); in HandlePropertyGet()
1835 otJoinerDiscerner discerner; in HandlePropertySet() local
1837 SuccessOrExit(error = mDecoder.ReadUint8(discerner.mLength)); in HandlePropertySet()
1839 if (discerner.mLength == 0) in HandlePropertySet()
1846 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()
1847 error = otJoinerSetDiscerner(mInstance, &discerner); in HandlePropertySet()
/openthread-3.5.0/tests/toranj/
Dstart.sh254 run ncp/test-042-meshcop-joiner-discerner.py
/openthread-3.5.0/tools/otci/otci/
Dotci.py1459 def commissioner_add_joiner(self, pskd, eui64=None, discerner=None, timeout=None): argument
1467 if (eui64 is not None) == (discerner is not None):
1480 def commissioner_remove_jointer(self, eui64=None, discerner=None): argument
1481 if (eui64 is not None) == (discerner is not None):