বিএ কাউন্টার
সীমান্ত এজেন্ট কাউন্টার পায়.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba counters
epskcActivation: 0
epskcApiDeactivation: 0
epskcTimeoutDeactivation: 0
epskcMaxAttemptDeactivation: 0
epskcDisconnectDeactivation: 0
epskcInvalidBaStateError: 0
epskcInvalidArgsError: 0
epskcStartSecureSessionError: 0
epskcSecureSessionSuccess: 0
epskcSecureSessionFailure: 0
epskcCommissionerPetition: 0
pskcSecureSessionSuccess: 0
pskcSecureSessionFailure: 0
pskcCommissionerPetition: 0
mgmtActiveGet: 0
mgmtPendingGet: 0
DoneCLI এবং API রেফারেন্স
ba ephemeralkey
একটি ক্ষণস্থায়ী কী বর্তমানে সক্রিয় কিনা তা নির্দেশ করে।
OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE প্রয়োজন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba ephemeralkey
active
DoneCLI এবং API রেফারেন্স
ba ephemeralkey কলব্যাক (সক্ষম, নিষ্ক্রিয়)
ক্ষণস্থায়ী কী ব্যবহারের সাথে সম্পর্কিত যে কোনও পরিবর্তনকে অবহিত করতে বর্ডার এজেন্ট দ্বারা ব্যবহৃত কলব্যাক ফাংশন সেট করে।
OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE প্রয়োজন।
এই ফাংশনে একটি পরবর্তী কল পূর্বে সেট করা যেকোনো কলব্যাক প্রতিস্থাপন করবে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba ephemeralkey callback enable
Done
ba ephemeralkey set W10X1 5000 49155
Done
BorderAgent callback: Ephemeral key active, port:49155
BorderAgent callback: Ephemeral key inactiveCLI এবং API রেফারেন্স
বা ক্ষণস্থায়ী পরিষ্কার
ব্যবহার করা ক্ষণস্থায়ী কী বাতিল করে।
OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE প্রয়োজন।
একটি পূর্বে সেট করা ক্ষণস্থায়ী কী সময় শেষ হওয়ার আগে বাতিল করতে ব্যবহার করা যেতে পারে। যদি বর্ডার এজেন্ট চালু না হয় বা ব্যবহারে কোনো ক্ষণস্থায়ী কী না থাকে, তাহলে এই ফাংশনটিকে কল করার কোনো প্রভাব নেই।
যদি একজন কমিশনার ক্ষণস্থায়ী কী ব্যবহার করে সংযুক্ত থাকে এবং বর্তমানে সক্রিয় থাকে, তাহলে এই ফাংশনটিকে কল করলে তার অবস্থা পরিবর্তন হয় না। এই ক্ষেত্রে otBorderAgentIsEphemeralKeyActive() কমিশনার সংযোগ বিচ্ছিন্ন না হওয়া পর্যন্ত TRUE ফেরত দিতে থাকবে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba ephemeralkey clear
DoneCLI এবং API রেফারেন্স
ba ephemeralkey সেট [টাইমআউট-ইন-মিসেক] [পোর্ট]
একটি নির্দিষ্ট সময়সীমার জন্য ক্ষণস্থায়ী কী সেট করে।
OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE প্রয়োজন।
ক্ষণস্থায়ী কী সেট করা যেতে পারে যখন বর্ডার এজেন্ট ইতিমধ্যেই চলছে এবং বর্তমানে কোনো বহিরাগত কমিশনারের সাথে সংযুক্ত নয় (অর্থাৎ, এটি OT_BORDER_AGENT_STATE_STARTED অবস্থায়)। অন্যথায় OT_ERROR_INVALID_STATE ফেরত দেওয়া হবে।
প্রদত্ত aKeyString সরাসরি ক্ষণস্থায়ী PSK হিসাবে ব্যবহৃত হয় (পরবর্তী নাল \0 অক্ষর বাদ দিয়ে)। aKeyString দৈর্ঘ্য OT_BORDER_AGENT_MIN_EPHEMERAL_KEY_LENGTH এবং OT_BORDER_AGENT_MAX_EPHEMERAL_KEY_LENGTH মধ্যে হতে হবে, অন্তর্ভুক্ত।
পূর্বে সেট করা কী টাইম আউট হওয়ার আগে আবার ক্ষণস্থায়ী কী সেট করা পূর্বে সেট করা কীটি প্রতিস্থাপন করবে এবং টাইমআউট পুনরায় সেট করবে।
টাইমআউট ব্যবধান কার্যকর হওয়ার সময়, ক্ষণস্থায়ী কীটি সংযোগ করার জন্য একজন বহিরাগত কমিশনার দ্বারা শুধুমাত্র একবার ব্যবহার করা যেতে পারে। কমিশনার সংযোগ বিচ্ছিন্ন হয়ে গেলে, ক্ষণস্থায়ী কী সাফ হয়ে যায়, এবং বর্ডার এজেন্ট PSKc ব্যবহার করতে ফিরে আসে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba ephemeralkey set Z10X20g3J15w1000P60m16 5000 1234
DoneCLI এবং API রেফারেন্স
বিএ আইডি (পান, সেট)
16 বাইট বর্ডার রাউটার আইডি পায় বা সেট করে যা একাধিক BR এর মধ্যে ডিভাইসটিকে অনন্যভাবে সনাক্ত করতে পারে।
পরামিতি
ba id [border-agent-id]
বর্ডার এজেন্ট আইডি সেট করতে ঐচ্ছিক border-agent-id আর্গুমেন্ট ব্যবহার করুন।
উদাহরণ
ba id
cb6da1e0c0448aaec39fa90f3d58f45c
Doneba id 00112233445566778899aabbccddeeff
DoneCLI এবং API রেফারেন্স
বিএ পোর্ট
থ্রেড বর্ডার এজেন্ট পরিষেবার UDP পোর্ট পায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba port
49153
DoneCLI এবং API রেফারেন্স
বিএ রাজ্য
থ্রেড বর্ডার এজেন্ট ভূমিকার otBorderAgentState পায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
ba state
Started
DoneCLI এবং API রেফারেন্স
bbr
থ্রেড ডিভাইসের জন্য বর্তমান প্রাথমিক ব্যাকবোন রাউটার তথ্য প্রদান করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr
BBR Primary:
server16: 0xE400
seqno: 10
delay: 120 secs
timeout: 300 secs
Donebbr
BBR Primary: None
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
bbr কনফিগারেশন (সেট)
স্থানীয় ব্যাকবোন রাউটার কনফিগারেশন otBackboneRouterConfig সেট করে।
একটি সার্ভার ডেটা অনুরোধ বার্তা SRV_DATA.ntf স্বয়ংক্রিয়ভাবে শুরু হয় যদি BBR ডেটাসেট প্রাথমিক ব্যাকবোন রাউটারের জন্য পরিবর্তন হয়।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
সেকেন্ডারি ব্যাকবোন রাউটারের জন্য লিডারের কাছে ব্যাকবোন রাউটার পরিষেবা নিবন্ধন করতে bbr register স্পষ্টভাবে জারি করা উচিত।
পরামিতি
bbr config [seqno seqno] [delay delay] [timeout timeout]
উদাহরণ
bbr config seqno 20 delay 30
DoneCLI এবং API রেফারেন্স
bbr কনফিগারেশন
স্থানীয় ব্যাকবোন রাউটার কনফিগারেশন পায়।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr config
seqno: 10
delay: 120 secs
timeout: 300 secs
DoneCLI এবং API রেফারেন্স
bbr নিষ্ক্রিয় করুন
ব্যাকবোন কার্যকারিতা সক্ষম বা নিষ্ক্রিয় করে।
যদি সক্রিয় থাকে, থ্রেড নেটওয়ার্ক ডেটাতে ব্যাকবোন রাউটার পরিষেবা না থাকলে সংযুক্ত ডিভাইসের জন্য একটি সার্ভার ডেটা অনুরোধ বার্তা SRV_DATA.ntf ট্রিগার করা হয়৷
অক্ষম হলে, ব্যাকবোন রাউটার প্রাথমিক অবস্থায় থাকলে SRV_DATA.ntf ট্রিগার হয়।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr disable
DoneCLI এবং API রেফারেন্স
bbr সক্ষম করুন
ব্যাকবোন কার্যকারিতা সক্ষম বা নিষ্ক্রিয় করে।
যদি সক্রিয় থাকে, থ্রেড নেটওয়ার্ক ডেটাতে ব্যাকবোন রাউটার পরিষেবা না থাকলে সংযুক্ত ডিভাইসের জন্য একটি সার্ভার ডেটা অনুরোধ বার্তা SRV_DATA.ntf ট্রিগার করা হয়৷
অক্ষম হলে, ব্যাকবোন রাউটার প্রাথমিক অবস্থায় থাকলে SRV_DATA.ntf ট্রিগার হয়।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr enable
DoneCLI এবং API রেফারেন্স
বিবিআর জিটার (পান, সেট)
ব্যাকবোন রাউটার নিবন্ধনের জন্য জিটার (সেকেন্ডে) পায় বা সেট করে।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
bbr jitter [jitter]
উদাহরণ
bbr jitter
20
Donebbr jitter 10
DoneCLI এবং API রেফারেন্স
bbr mgmt দুআ
meshLocalIid অন্তর্ভুক্ত করার সাথে, এই কমান্ডটি পরবর্তী DUA রেজিস্ট্রেশনের জন্য প্রতিক্রিয়া স্থিতি কনফিগার করে। meshLocalIid ছাড়া, নির্দিষ্ট status বা coap-code সহ পরবর্তী DUA.req-এ সাড়া দিন।
OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
bbr mgmt dua status|coap-code [meshLocalIid]
status বা coap-code জন্য, ব্যবহার করুন:
- 0: ST_DUA_SUCCESS
- 1: ST_DUA_REREGISTER
- 2: ST_DUA_INVALID
- 3: ST_DUA_DUPLICATE
- 4: ST_DUA_NO_RESOURCES
- 5: ST_DUA_BBR_NOT_PRIMARY
- 6: ST_DUA_GENERAL_FAILURE
- 160: COAP কোড 5.00
উদাহরণ
bbr mgmt dua 1 2f7c235e5025a2fd
Donebbr mgmt dua 160
DoneCLI এবং API রেফারেন্স
bbr mgmt mlr শ্রোতা যোগ করুন
সেকেন্ডে একটি টাইমআউট মান সহ একটি মাল্টিকাস্ট লিসেনার যোগ করে।
ডিফল্ট এমএলআর টাইমআউট ব্যবহার করতে 0 পাস করুন।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE , OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE , এবং OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE সক্ষম হলে উপলব্ধ৷
পরামিতি
bbr mgmt mlr listener add ipaddress [timeout-seconds]
উদাহরণ
bbr mgmt mlr listener add ff04::1
Donebbr mgmt mlr listener add ff04::2 300
DoneCLI এবং API রেফারেন্স
bbr mgmt mlr শ্রোতা
সেকেন্ডের মধ্যে otBackboneRouterMulticastListenerInfo mTimeout দিয়ে মাল্টিকাস্ট শ্রোতাদের ফেরত দেয়।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE এবং OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE সক্ষম হলে উপলব্ধ৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr mgmt mlr listener
ff04:0:0:0:0:0:0:abcd 3534000
ff04:0:0:0:0:0:0:eeee 3537610
DoneCLI এবং API রেফারেন্স
bbr mgmt mlr শ্রোতা পরিষ্কার
মাল্টিকাস্ট শ্রোতাদের সাফ করে।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE , OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE , এবং OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE সক্ষম হলে উপলব্ধ৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr mgmt mlr listener clear
DoneCLI এবং API রেফারেন্স
bbr mgmt mlr প্রতিক্রিয়া
পরবর্তী মাল্টিকাস্ট লিসেনার রেজিস্ট্রেশনের জন্য প্রতিক্রিয়া স্থিতি কনফিগার করে।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE , OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE , এবং OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE সক্ষম হলে উপলব্ধ৷
পরামিতি
bbr mgmt mlr response status-code
status-code জন্য, ব্যবহার করুন:
- 0: ST_MLR_SUCCESS
- 2: ST_MLR_INVALID
- 3: ST_MLR_NO_PERSISTENT
- 4: ST_MLR_NO_RESOURCES
- 5: ST_MLR_BBR_NOT_PRIMARY
- 6: ST_MLR_GENERAL_FAILURE
উদাহরণ
bbr mgmt mlr response 2
DoneCLI এবং API রেফারেন্স
bbr রেজিস্টার
স্পষ্টভাবে স্থানীয় ব্যাকবোন রাউটার কনফিগারেশন নিবন্ধন করে।
সংযুক্ত ডিভাইসের জন্য একটি সার্ভার ডেটা অনুরোধ বার্তা SRV_DATA.ntf ট্রিগার করা হয়েছে৷
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr register
DoneCLI এবং API রেফারেন্স
bbr রাষ্ট্র
BackboneRouterState ব্যাকবোন রাউটার পায়।
OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bbr state
Disabled
Donebbr state
Primary
Donebbr state
Secondary
DoneCLI এবং API রেফারেন্স
br নিষ্ক্রিয়
বর্ডার রাউটিং ম্যানেজার অক্ষম করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br disable
DoneCLI এবং API রেফারেন্স
br সক্ষম করুন
বর্ডার রাউটিং ম্যানেজার সক্ষম করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br enable
DoneCLI এবং API রেফারেন্স
br init
বর্ডার রাউটিং ম্যানেজার শুরু করে।
পরামিতি
br init infrastructure-network-index is-running
উদাহরণ
br init 2 1
DoneCLI এবং API রেফারেন্স
br nat64 উপসর্গ
স্থানীয় এবং পছন্দসই NAT64 উপসর্গ উভয়ই আউটপুট।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br nat64prefix
Local: fd14:1078:b3d5:b0b0:0:0::/96
Favored: fd14:1078:b3d5:b0b0:0:0::/96 prf:low
DoneCLI এবং API রেফারেন্স
br nat64 উপসর্গ সুবিধাপ্রাপ্ত
বর্তমানে পছন্দের NAT64 উপসর্গ পায়।
পছন্দের NAT64 উপসর্গটি অবকাঠামো লিঙ্ক থেকে আবিষ্কার করা যেতে পারে বা এই ডিভাইসের স্থানীয় NAT64 উপসর্গ হতে পারে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br nat64prefix favored
fd14:1078:b3d5:b0b0:0:0::/96 prf:low
DoneCLI এবং API রেফারেন্স
br nat64 উপসর্গ স্থানীয়
বর্ডার রাউটারের স্থানীয় NAT64 উপসর্গ পায়।
NAT64 উপসর্গ থ্রেড নেটওয়ার্কে বিজ্ঞাপন নাও হতে পারে।
OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE অবশ্যই সক্ষম করতে হবে৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br nat64prefix local
fd14:1078:b3d5:b0b0:0:0::/96
DoneCLI এবং API রেফারেন্স
br omrprefix
স্থানীয় এবং পছন্দসই OMR উপসর্গ উভয়ই আউটপুট।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br omrprefix
Local: fdfc:1ff5:1512:5622::/64
Favored: fdfc:1ff5:1512:5622::/64 prf:low
DoneCLI এবং API রেফারেন্স
br omrprefix অনুকূল
বর্তমানে পছন্দের অফ-মেশ-রাউটেবল (OMR) উপসর্গ পায়।
পছন্দের OMR উপসর্গ নেটওয়ার্ক ডেটা থেকে আবিষ্কৃত হতে পারে বা এই ডিভাইসের স্থানীয় OMR উপসর্গ হতে পারে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br omrprefix favored
fdfc:1ff5:1512:5622::/64 prf:low
DoneCLI এবং API রেফারেন্স
br omrprefix স্থানীয়
স্থানীয় অফ-মেশ-রাউটেবল (OMR) উপসর্গ পায়, উদাহরণস্বরূপ fdfc:1ff5:1512:5622::/64 ।
একটি ওএমআর উপসর্গ হল একটি এলোমেলোভাবে তৈরি করা 64-বিট উপসর্গ যা থ্রেড নেটওয়ার্কে প্রকাশিত হয় যদি আগে থেকে একটি ওএমআর উপসর্গ না থাকে। এই উপসর্গটি স্থানীয় Wi-Fi বা ইথারনেট নেটওয়ার্ক থেকে পৌঁছানো যেতে পারে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br omrprefix local
fdfc:1ff5:1512:5622::/64
DoneCLI এবং API রেফারেন্স
br onlinkprefix
স্থানীয় এবং পছন্দসই অন-লিঙ্ক উপসর্গ উভয় আউটপুট।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br onlinkprefix
Local: fd41:2650:a6f5:0::/64
Favored: 2600::0:1234:da12::/64
DoneCLI এবং API রেফারেন্স
br onlinkprefix সুবিধাজনক
বর্তমানে পছন্দের অন-লিঙ্ক উপসর্গ পায়।
পছন্দের উপসর্গটি হয় অবকাঠামো লিঙ্কে আবিষ্কৃত অন-লিঙ্ক উপসর্গ বা স্থানীয় অন-লিঙ্ক উপসর্গ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br onlinkprefix favored
2600::0:1234:da12::/64
DoneCLI এবং API রেফারেন্স
br onlinkprefix স্থানীয়
সন্নিহিত অবকাঠামো লিঙ্কের জন্য স্থানীয় অন-লিঙ্ক উপসর্গ পায়।
স্থানীয় অন-লিঙ্ক প্রিফিক্স হল একটি 64-বিট প্রিফিক্স যা অবকাঠামো লিঙ্কে বিজ্ঞাপন দেওয়া হয় যদি লিঙ্কে আগে থেকেই ব্যবহারযোগ্য অন-লিঙ্ক প্রিফিক্স না থাকে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br onlinkprefix local
fd41:2650:a6f5:0::/64
DoneCLI এবং API রেফারেন্স
br pd (সক্ষম, নিষ্ক্রিয়)
DHCPv6 প্রিফিক্স ডেলিগেশন সক্ষম/অক্ষম করে।
OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE অবশ্যই সক্ষম করতে হবে৷
পরামিতি
br pd enable|disable
উদাহরণ
br pd enable
Donebr pd disable
DoneCLI এবং API রেফারেন্স
br pd omrprefix
DHCPv6 প্রিফিক্স ডেলিগেশন (PD) প্রদত্ত অফ-মেশ-রাউটেবল (OMR) উপসর্গ পায়।
ফিরে আসা প্রিফিক্স তথ্যে শুধুমাত্র mPrefix, mValidLifetime এবং mPreferredLifetime ক্ষেত্র ব্যবহার করা হয়।
OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE অবশ্যই সক্ষম করতে হবে৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br pd omrprefix
2001:db8:cafe:0:0/64 lifetime:1800 preferred:1800
DoneCLI এবং API রেফারেন্স
br pd রাজ্য
DHCPv6 প্রিফিক্স ডেলিগেশনের বর্তমান অবস্থা পায়।
সক্ষম করার জন্য OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE প্রয়োজন৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br pd state
running
DoneCLI এবং API রেফারেন্স
br সমবয়সীদের
নেটওয়ার্ক ডেটা এন্ট্রিতে পাওয়া পিয়ার বিআর-এর তালিকা পান। OPENTHREAD_CONFIG_BORDER_ROUTING_TRACK_PEER_BR_INFO_ENABLE প্রয়োজন৷ পিয়ার বিআর হল থ্রেড মেশের মধ্যে থাকা অন্যান্য ডিভাইস যা বাহ্যিক আইপি সংযোগ প্রদান করে। একটি ডিভাইসকে বাহ্যিক আইপি সংযোগ প্রদানের জন্য বিবেচনা করা হয় যদি তার নেটওয়ার্ক ডেটা এন্ট্রি সংক্রান্ত নিম্নলিখিত শর্তগুলির মধ্যে অন্তত একটি পূরণ করা হয়:
- এটি অন্তত একটি বহিরাগত রুট এন্ট্রি যোগ করেছে।
- এটি ডিফল্ট-রুট এবং অন-মেশ পতাকা সেট উভয়ের সাথে কমপক্ষে একটি উপসর্গ এন্ট্রি যুক্ত করেছে।
- এটি কমপক্ষে একটি ডোমেন প্রিফিক্স যুক্ত করেছে (ডোমেন এবং অন-মেশ ফ্ল্যাগ সেট উভয়ের সাথে)। পিয়ার BR-এর তালিকা বিশেষভাবে বর্তমান ডিভাইসটিকে বাদ দেয়, এমনকি যদি এটি নিজেই একটি BR হিসেবে কাজ করে। বিআর এন্ট্রি প্রতি তথ্য:
- BR এর RLOC16
- এই BR নেটওয়ার্ক ডেটাতে উপস্থিত হওয়ার পর থেকে সময়কালের ব্যবধান হিসাবে বয়স। এটি ঘন্টা, মিনিট, সেকেন্ডের জন্য
{hh}:{mm}:{ss}হিসাবে ফর্ম্যাট করা হয়, যদি সময়কাল 24 ঘন্টার কম হয়। যদি সময়কাল 24 ঘন্টা বা তার বেশি হয়, তাহলে ফর্ম্যাটটি দিন, ঘন্টা, মিনিট, সেকেন্ডের জন্য{dd}d.{hh}:{mm}:{ss}হয়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br peers
rloc16:0x5c00 age:00:00:49
rloc16:0xf800 age:00:01:51
DoneCLI এবং API রেফারেন্স
br সমবয়সীদের গণনা
নেটওয়ার্ক ডেটাতে পাওয়া পিয়ার BR এর সংখ্যা প্রদান করে।
OPENTHREAD_CONFIG_BORDER_ROUTING_TRACK_PEER_BR_INFO_ENABLE প্রয়োজন।
পিয়ার বিআর হল থ্রেড মেশের মধ্যে থাকা অন্যান্য ডিভাইস যা বাহ্যিক আইপি সংযোগ প্রদান করে। একটি ডিভাইসকে বাহ্যিক আইপি সংযোগ প্রদানের জন্য বিবেচনা করা হয় যদি তার নেটওয়ার্ক ডেটা এন্ট্রি সংক্রান্ত নিম্নলিখিত শর্তগুলির মধ্যে অন্তত একটি পূরণ করা হয়:
- এটি অন্তত একটি বহিরাগত রুট এন্ট্রি যোগ করেছে।
- এটি ডিফল্ট-রুট এবং অন-মেশ পতাকা সেট উভয়ের সাথে কমপক্ষে একটি উপসর্গ এন্ট্রি যুক্ত করেছে।
- এটি কমপক্ষে একটি ডোমেন প্রিফিক্স যুক্ত করেছে (ডোমেন এবং অন-মেশ ফ্ল্যাগ সেট উভয়ের সাথে)।
পিয়ার BR-এর তালিকা বিশেষভাবে বর্তমান ডিভাইসটিকে বাদ দেয়, এমনকি যদি এটি নিজেই একটি BR হিসেবে কাজ করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br peers count
2 min-age:00:00:47
DoneCLI এবং API রেফারেন্স
br উপসর্গ
অবকাঠামো লিঙ্কে বর্ডার রাউটিং ম্যানেজার দ্বারা আবিষ্কৃত উপসর্গগুলি পান৷ উপসর্গ এন্ট্রি প্রতি তথ্য:
- উপসর্গ
- প্রিফিক্স অন-লিঙ্ক বা রুট কিনা
- এই উপসর্গ ধারণকারী রাউটার বিজ্ঞাপন সর্বশেষ প্রাপ্তির পর থেকে মিলিসেকেন্ড
- সেকেন্ডে উপসর্গ জীবনকাল
- প্রিফিক্স অন-লিঙ্ক হলেই সেকেন্ডে পছন্দের জীবনকাল
- রুট পছন্দ (নিম্ন, মধ্য, উচ্চ) শুধুমাত্র যদি উপসর্গ রুট হয় (অন-লিঙ্ক নয়)
- রাউটার IPv6 ঠিকানা যা এই উপসর্গ বিজ্ঞাপন
- প্রাপ্ত রাউটার বিজ্ঞাপন শিরোনামে পতাকা:
- M: পরিচালিত ঠিকানা কনফিগার পতাকা
- O: অন্যান্য কনফিগার পতাকা
- S: SNAC রাউটার পতাকা
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br prefixtable
prefix:fd00:1234:5678:0::/64, on-link:no, ms-since-rx:29526, lifetime:1800, route-prf:med,
router:ff02:0:0:0:0:0:0:1 (M:0 O:0 S:1)
prefix:1200:abba:baba:0::/64, on-link:yes, ms-since-rx:29527, lifetime:1800, preferred:1800,
router:ff02:0:0:0:0:0:0:1 (M:0 O:0 S:1)
DoneCLI এবং API রেফারেন্স
br raoptions (সেট, পরিষ্কার)
নির্গত রাউটার বিজ্ঞাপন (RA) বার্তার শেষে যোগ করার জন্য অতিরিক্ত বিকল্পগুলি সেট করে।
aOptions এর বিষয়বস্তু অভ্যন্তরীণভাবে অনুলিপি করা হয়, তাই এটি একটি অস্থায়ী বাফার হতে পারে (যেমন, একটি স্ট্যাক বরাদ্দকৃত অ্যারে)।
এই ফাংশনের পরবর্তী কলগুলি পূর্বে সেট করা মানটিকে ওভাররাইট করে।
পরামিতি
br raoptions options|clear
br raoptions clear একটি nullptr পাস করে otBorderRoutingSetExtraRouterAdvertOptions . অন্যথায়, আপনি হেক্স ডেটা হিসাবে options বাইট পাস করতে পারেন।
উদাহরণ
br raoptions 0400ff00020001
Donebr raoptions clear
DoneCLI এবং API রেফারেন্স
BR rioprf (উচ্চ, মধ্য, নিম্ন)
পরিকাঠামো লিঙ্কের মাধ্যমে প্রেরিত রাউটার বিজ্ঞাপন বার্তাগুলিতে রুট ইনফো অপশন (RIO) এর বিজ্ঞাপন দেওয়ার সময় ব্যবহার করার জন্য স্পষ্টভাবে পছন্দ নির্ধারণ করে।
এই ফাংশনে একটি কল করার পরে, BR তার সমস্ত বিজ্ঞাপিত RIO-এর জন্য প্রদত্ত পছন্দ ব্যবহার করবে। otBorderRoutingClearRouteInfoOptionPreference() কল করে পছন্দটি সাফ করা যেতে পারে।
পরামিতি
br rioprf [high|med|low]
উদাহরণ
br rioprf low
DoneCLI এবং API রেফারেন্স
br rioprf
অবকাঠামো লিঙ্কের মাধ্যমে প্রেরিত রাউটার বিজ্ঞাপন বার্তাগুলিতে রুট ইনফো অপশন (RIO) এর বিজ্ঞাপন দেওয়ার সময় ব্যবহৃত বর্তমান পছন্দটি পায়।
RIO পছন্দ নিম্নরূপ নির্ধারিত হয়:
-
otBorderRoutingSetRouteInfoOptionPreference()কল করে ব্যবহারকারীর দ্বারা স্পষ্টভাবে সেট করা হলে, প্রদত্ত পছন্দটি ব্যবহার করা হয়। - অন্যথায়, এটি ডিভাইসের বর্তমান ভূমিকার উপর ভিত্তি করে নির্ধারিত হয়: রাউটার/লিডারের ভূমিকায় থাকলে মাঝারি অগ্রাধিকার এবং শিশুর ভূমিকায় কম অগ্রাধিকার।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br rioprf
med
DoneCLI এবং API রেফারেন্স
br rioprf পরিষ্কার
বিজ্ঞাপিত রুট তথ্য বিকল্পগুলির জন্য পূর্বে সেট করা পছন্দের মান সাফ করে।
এই ফাংশনে কল করার পর, BR ডিভাইসের ভূমিকা ব্যবহার করবে RIO পছন্দ নির্ধারণ করতে: রাউটার/লিডারের ভূমিকায় থাকলে মাঝারি পছন্দ এবং শিশু ভূমিকায় থাকলে কম পছন্দ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br rioprf clear
DoneCLI এবং API রেফারেন্স
br routeprf (উচ্চ, মধ্য, নিম্ন)
নেটওয়ার্ক ডেটাতে প্রকাশিত রুটের পছন্দ স্পষ্টভাবে সেট করে।
এই ফাংশনে কল করার পরে, BR প্রদত্ত পছন্দ ব্যবহার করবে। otBorderRoutingClearRoutePreference() কল করে পছন্দটি সাফ করা যেতে পারে।
পরামিতি
br routeprf [high|med|low]
উদাহরণ
br routeprf low
DoneCLI এবং API রেফারেন্স
br routeprf
নেটওয়ার্ক ডেটাতে প্রকাশিত রুটের জন্য ব্যবহৃত বর্তমান পছন্দ পায়।
পছন্দ নিম্নরূপ নির্ধারিত হয়:
-
otBorderRoutingSetRoutePreference()কল করে ব্যবহারকারীর দ্বারা স্পষ্টভাবে সেট করা হলে, প্রদত্ত পছন্দটি ব্যবহার করা হয়। - অন্যথায়, এটি ডিভাইসের ভূমিকা এবং লিঙ্ক মানের উপর ভিত্তি করে
RoutingManagerদ্বারা স্বয়ংক্রিয়ভাবে নির্ধারিত হয়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br routeprf
med
DoneCLI এবং API রেফারেন্স
br routeprf পরিষ্কার
নেটওয়ার্ক ডেটাতে প্রকাশিত রুটের জন্য পূর্বে সেট করা পছন্দের মান সাফ করে।
এই ফাংশনে কল করার পরে, BR ডিভাইসের ভূমিকা এবং লিঙ্কের গুণমানের উপর ভিত্তি করে স্বয়ংক্রিয়ভাবে পছন্দ নির্ধারণ করবে (শেষ-ডিভাইস হিসাবে কাজ করার সময় পিতামাতার কাছে)।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br routeprf clear
DoneCLI এবং API রেফারেন্স
br রাউটার
অবকাঠামো লিঙ্কে বর্ডার রাউটিং ম্যানেজার দ্বারা আবিষ্কৃত রাউটারের তালিকা পান। রাউটার প্রতি তথ্য:
- রাউটার IPv6 ঠিকানা
- প্রাপ্ত রাউটার বিজ্ঞাপন শিরোনামে পতাকা:
- M: পরিচালিত ঠিকানা কনফিগার পতাকা
- O: অন্যান্য কনফিগার পতাকা
- S: SNAC রাউটার পতাকা (রাউটারটি একটি অসম্পূর্ণ রাউটার কিনা তা নির্দেশ করে)
- এই রাউটার থেকে সর্বশেষ বার্তা পাওয়ার পর থেকে মিলিসেকেন্ড
- রিচেবিলিটি ফ্ল্যাগ: একটি রাউটার যদি একাধিক প্রতিবেশী সলিসিটেশন প্রোবের প্রতিক্রিয়া জানাতে ব্যর্থ হয় তবে সেটিকে পৌঁছানো যায় না বলে চিহ্নিত করা হয়।
- বয়স: এই রাউটারটি প্রথম আবিষ্কৃত হওয়ার পর থেকে সময়কালের ব্যবধান। এটি ঘন্টা, মিনিট, সেকেন্ডের জন্য
{hh}:{mm}:{ss}হিসাবে ফর্ম্যাট করা হয়, যদি সময়কাল 24 ঘন্টার কম হয়। যদি সময়কাল 24 ঘন্টা বা তার বেশি হয়, তাহলে ফর্ম্যাটটি দিন, ঘন্টা, মিনিট, সেকেন্ডের জন্য{dd}d.{hh}:{mm}:{ss}হয়। -
(this BR)যুক্ত করা হয় যখন রাউটার নিজেই স্থানীয় ডিভাইস হয়। -
(peer BR)যুক্ত করা হয় যখন রাউটারটি একই থ্রেড জালের সাথে সংযুক্ত একটি পিয়ার বিআর হয়। এর জন্যOPENTHREAD_CONFIG_BORDER_ROUTING_TRACK_PEER_BR_INFO_ENABLEপ্রয়োজন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br routers
ff02:0:0:0:0:0:0:1 (M:0 O:0 S:1) ms-since-rx:1505 reachable:yes age:00:18:13
DoneCLI এবং API রেফারেন্স
br রাজ্য
বর্ডার রাউটিং ম্যানেজারের বর্তমান অবস্থা পায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
br state
runningCLI এবং API রেফারেন্স
বাফারিনফো
বর্তমান বার্তা বাফার তথ্য পায়.
-
totalপুলে বার্তা বাফারের মোট সংখ্যা প্রদর্শন করে। -
freeবিনামূল্যে বার্তা বাফার সংখ্যা প্রদর্শন করে. - OT স্ট্যাক ইনিশিয়ালাইজেশন বা শেষ
bufferinfo resetপর থেকেmax-usedডিসপ্লে একই সময়ে ব্যবহৃত বাফারের সর্বোচ্চ সংখ্যা দেখায়।
এর পরে, CLI OpenThread স্ট্যাক দ্বারা ব্যবহৃত বিভিন্ন সারি সম্পর্কে তথ্য প্রদর্শন করে, উদাহরণস্বরূপ 6lo send । সারির পরে প্রতিটি লাইন একটি সারি সম্পর্কে তথ্য উপস্থাপন করে:
- প্রথম নম্বরটি সারিতে থাকা নম্বর বার্তাগুলি দেখায়৷
- দ্বিতীয় সংখ্যাটি সারিতে থাকা সমস্ত বার্তা দ্বারা ব্যবহৃত বাফারের সংখ্যা দেখায়।
- তৃতীয় সংখ্যাটি সারিতে থাকা সমস্ত বার্তার মোট বাইট সংখ্যা দেখায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bufferinfo
total: 40
free: 40
max-used: 5
6lo send: 0 0 0
6lo reas: 0 0 0
ip6: 0 0 0
mpl: 0 0 0
mle: 0 0 0
coap: 0 0 0
coap secure: 0 0 0
application coap: 0 0 0
DoneCLI এবং API রেফারেন্স
বাফারিনফো রিসেট
একই সময়ে ব্যবহৃত সর্বাধিক সংখ্যক বাফার ট্র্যাক করে বার্তা বাফার তথ্য কাউন্টারটি পুনরায় সেট করুন।
এটি otBufferInfo এ mMaxUsedBuffers রিসেট করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
bufferinfo reset
DoneCLI এবং API রেফারেন্স
ক্যাথ্রেশহোল্ড (পান, সেট)
IEEE 802.15.4 - 2015 সেকশন 10.1.4 প্রতি অ্যান্টেনা সংযোগকারীতে পরিমাপ করা dBm-এ CCA থ্রেশহোল্ড পায় বা সেট করে।
পরামিতি
ccathreshold [CCA-threshold-dBm]
CCA থ্রেশহোল্ড সেট করতে ঐচ্ছিক CCA-threshold-dBm আর্গুমেন্ট ব্যবহার করুন।
উদাহরণ
ccathreshold
-75 dBm
Doneccathreshold -62
DoneCLI এবং API রেফারেন্স
চ্যানেল (পান, সেট)
IEEE 802.15.4 চ্যানেল মান পায় বা সেট করে।
পরামিতি
channel [channel-num]
চ্যানেল সেট করতে channel-num ব্যবহার করুন।
উদাহরণ
channel
11
Donechannel 11
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
চ্যানেল ম্যানেজার স্বয়ংক্রিয়
নেটওয়ার্ক চ্যানেলের জন্য স্বয়ংক্রিয়-চ্যানেল-নির্বাচন কার্যকারিতা সক্ষম বা নিষ্ক্রিয় করে।
সক্রিয় করা হলে, ChannelManager পর্যায়ক্রমে একটি RequestChannelSelect(false) আহ্বান করবে। সময়ের ব্যবধানটি otChannelManagerSetAutoChannelSelectionInterval() দ্বারা সেট করা যেতে পারে।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE , এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন।
পরামিতি
channel manager auto enable
1 enable জন্য একটি বুলিয়ান।
উদাহরণ
channel manager auto 1
channel manager auto 1
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার পরিবর্তন
একটি থ্রেড নেটওয়ার্ক চ্যানেল পরিবর্তনের অনুরোধ করে।
একটি নির্দিষ্ট বিলম্বের পরে নেটওয়ার্কটি প্রদত্ত চ্যানেলে সুইচ করে ( otChannelManagerSetDelay() দেখুন)। মুলতুবি থাকা অপারেশনাল ডেটাসেট আপডেট করে চ্যানেল পরিবর্তন করা হয়।
একটি পরবর্তী কল একটি চলমান পূর্বে অনুরোধ করা চ্যানেল পরিবর্তন বাতিল করবে।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE প্রয়োজন৷
পরামিতি
channel manager change channel-num
উদাহরণ
channel manager change 11
channel manager change 11
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার
চ্যানেল ম্যানেজার স্টেট পান। OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE প্রয়োজন৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel manager
channel: 11
auto: 1
delay: 120
interval: 10800
supported: { 11-26}
favored: { 11-26}
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার বিলম্ব
নেটওয়ার্ক চ্যানেল পরিবর্তনের জন্য ব্যবহৃত বিলম্ব (সেকেন্ডে) সেট করে।
শুধুমাত্র FTDs এ উপলব্ধ। বিলম্বটি থ্রেড নেটওয়ার্কের মধ্যে সমস্ত স্লিপি এন্ড ডিভাইস দ্বারা ব্যবহৃত সর্বাধিক ডেটা পোল ব্যবধানের চেয়ে বেশি হওয়া উচিত।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন৷
পরামিতি
channel manager delay delay-seconds
উদাহরণ
channel manager delay 120
channel manager delay 120
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার পক্ষপাতী
পছন্দের চ্যানেল মাস্ক সেট করে।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE , এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন।
পরামিতি
channel manager favored mask
উদাহরণ
channel manager favored 0x7fffc00
channel manager favored 0x7fffc00
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার ব্যবধান
স্বয়ংক্রিয়-চ্যানেল-নির্বাচন কার্যকারিতা দ্বারা ব্যবহৃত সময়ের ব্যবধান (সেকেন্ডে) সেট করে।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE , এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন।
পরামিতি
channel manager interval interval-seconds
উদাহরণ
channel manager interval 10800
channel manager interval 10800
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার নির্বাচন করুন
অনুরোধ করে যে ChannelManager চেক করে এবং একটি নতুন চ্যানেল নির্বাচন করে এবং একটি চ্যানেল পরিবর্তন শুরু করে।
otChannelManagerRequestChannelChange() এর বিপরীতে যেখানে চ্যানেলটিকে একটি প্যারামিটার হিসাবে দিতে হবে, এই ফাংশনটি ChannelManager নিজেই একটি চ্যানেল নির্বাচন করতে বলে (সংগৃহীত চ্যানেলের গুণমানের তথ্যের উপর ভিত্তি করে)।
একবার কল করা হলে, চ্যানেল ম্যানেজার নিম্নলিখিত 3টি ধাপ সম্পাদন করবে:
1) ChannelManager সিদ্ধান্ত নেয় যে চ্যানেল পরিবর্তন সহায়ক হবে কিনা। aSkipQualityCheck সত্যে সেট করা থাকলে এই চেকটি এড়ানো যেতে পারে (একটি চ্যানেল নির্বাচন করতে বাধ্য করা এবং গুণমান পরীক্ষা এড়িয়ে যাওয়া)। এই ধাপটি ডিভাইসে সংগৃহীত লিঙ্ক মানের মেট্রিক্স ব্যবহার করে (যেমন প্রতিবেশী প্রতি CCA ব্যর্থতার হার, ফ্রেম এবং বার্তার ত্রুটির হার ইত্যাদি) বর্তমান চ্যানেলের গুণমান সেই স্তরে আছে কিনা যা চ্যানেল পরিবর্তনকে সমর্থন করে।
2) যদি প্রথম ধাপটি পাস হয়, তাহলে ChannelManager একটি সম্ভাব্য ভালো চ্যানেল নির্বাচন করে। এটি ChannelMonitor মডিউল দ্বারা সংগৃহীত চ্যানেলের গুণমান ডেটা ব্যবহার করে। এই ধাপে সমর্থিত এবং পছন্দের চ্যানেলগুলি ব্যবহার করা হয়। ( otChannelManagerSetSupportedChannels() এবং otChannelManagerSetFavoredChannels() দেখুন)।
3) যদি নতুন নির্বাচিত চ্যানেলটি বর্তমান চ্যানেল থেকে আলাদা হয়, তাহলে ChannelManager চ্যানেল পরিবর্তন প্রক্রিয়ার অনুরোধ/শুরু করে (অভ্যন্তরীণভাবে একটি RequestChannelChange() )।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE , এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন।
পরামিতি
channel manager select skip-quality-check
বুলিয়ান skip-quality-check জন্য একটি 1 বা 0 ব্যবহার করুন।
উদাহরণ
channel manager select 1
channel manager select 1
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার সমর্থিত
সমর্থিত চ্যানেল মাস্ক সেট করে।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE , এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন।
পরামিতি
channel manager supported mask
উদাহরণ
channel manager supported 0x7fffc00
channel manager supported 0x7fffc00
DoneCLI এবং API রেফারেন্স
চ্যানেল ম্যানেজার থ্রেশহোল্ড
CCA ব্যর্থতার হার থ্রেশহোল্ড সেট করে।
OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE বা OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE , এবং OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন।
পরামিতি
channel manager threshold threshold-percent
threshold-percent জন্য একটি হেক্স মান ব্যবহার করুন। 0 মানচিত্র থেকে 0% এবং 0xffff মানচিত্র 100%।
উদাহরণ
channel manager threshold 0xffff
channel manager threshold 0xffff
DoneCLI এবং API রেফারেন্স
চ্যানেল মনিটর
বর্তমান চ্যানেল মনিটর অবস্থা এবং চ্যানেল দখল পান. OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel monitor
enabled: 1
interval: 41000
threshold: -75
window: 960
count: 10552
occupancies:
ch 11 (0x0cb7) 4.96% busy
ch 12 (0x2e2b) 18.03% busy
ch 13 (0x2f54) 18.48% busy
ch 14 (0x0fef) 6.22% busy
ch 15 (0x1536) 8.28% busy
ch 16 (0x1746) 9.09% busy
ch 17 (0x0b8b) 4.50% busy
ch 18 (0x60a7) 37.75% busy
ch 19 (0x0810) 3.14% busy
ch 20 (0x0c2a) 4.75% busy
ch 21 (0x08dc) 3.46% busy
ch 22 (0x101d) 6.29% busy
ch 23 (0x0092) 0.22% busy
ch 24 (0x0028) 0.06% busy
ch 25 (0x0063) 0.15% busy
ch 26 (0x058c) 2.16% busy
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
চ্যানেল মনিটর শুরু
চ্যানেল মনিটর শুরু করুন। OT CLI true একটি বুলিয়ান মান otChannelMonitorSetEnabled- এ পাঠায়। OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel monitor start
channel monitor start
DoneCLI এবং API রেফারেন্স
চ্যানেল মনিটর স্টপ
চ্যানেল মনিটর বন্ধ করুন। OT CLI otChannelMonitorSetEnabled- এ false একটি বুলিয়ান মান পাঠায়। OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE প্রয়োজন৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel monitor stop
channel monitor stop
DoneCLI এবং API রেফারেন্স
চ্যানেল পছন্দ
রেডিও পছন্দের চ্যানেল মাস্ক পায় যা ডিভাইসটি তৈরি করতে পছন্দ করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel preferred
0x7fff800
DoneCLI এবং API রেফারেন্স
চ্যানেল সমর্থিত
রেডিও সমর্থিত চ্যানেল মাস্ক পান যা ডিভাইসটিকে চালু করার অনুমতি দেওয়া হয়েছে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel supported
0x7fff800
DoneCLI এবং API রেফারেন্স
শিশু (আইডি)
একটি সংযুক্ত শিশুর জন্য তার চাইল্ড আইডি বা RLOC16 দ্বারা ডায়াগনস্টিক তথ্য পায়।
পরামিতি
child child-id
উদাহরণ
child 1
Child ID: 1
Rloc: 9c01
Ext Addr: e2b3540590b0fd87
Mode: rn
CSL Synchronized: 1
Net Data: 184
Timeout: 100
Age: 0
Link Quality In: 3
RSSI: -20
DoneCLI এবং API রেফারেন্স
শিশু তালিকা
সংযুক্ত চাইল্ড আইডিগুলির একটি তালিকা প্রদান করে৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
child list
1 2 3 6 7 8
DoneCLI এবং API রেফারেন্স
শিশু টেবিল
সংযুক্ত শিশুদের একটি টেবিল প্রিন্ট করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
child table
| ID | RLOC16 | Timeout | Age | LQ In | C_VN |R|D|N|Ver|CSL|QMsgCnt| Extended MAC |
+-----+--------+------------+------------+-------+------+-+-+-+---+---+-------+------------------+
| 1 | 0xc801 | 240 | 24 | 3 | 131 |1|0|0| 3| 0 | 0 | 4ecede68435358ac |
| 2 | 0xc802 | 240 | 2 | 3 | 131 |0|0|0| 3| 1 | 0 | a672a601d2ce37d8 |
DoneCLI এবং API রেফারেন্স
শিশুত্ব
MTD শিশুদের জন্য সংরক্ষিত IP ঠিকানাগুলির একটি তালিকা পায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
childip
3401: fdde:ad00:beef:0:3037:3e03:8c5f:bc0c
DoneCLI এবং API রেফারেন্স
চাইল্ডিপ ম্যাক্স (সেট)
প্রতিটি MTD শিশু অভিভাবক হিসাবে এই ডিভাইসের সাথে নিবন্ধন করতে পারে এমন সর্বোচ্চ সংখ্যক IP ঠিকানা সেট বা পুনরুদ্ধার করে।
সেটিংস সাফ করতে এবং ডিফল্ট পুনরুদ্ধার করতে 0 পাস করুন।
OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE সক্ষম হলে উপলব্ধ।
পরামিতি
childip max count
উদাহরণ
childip max 2
DoneCLI এবং API রেফারেন্স
চাইল্ডিপ সর্বোচ্চ
প্রতিটি MTD শিশু অভিভাবক হিসাবে এই ডিভাইসের সাথে নিবন্ধন করতে পারে এমন সর্বাধিক সংখ্যক IP ঠিকানা পায়৷
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
childip max
4
DoneCLI এবং API রেফারেন্স
চাইল্ডম্যাক্স (সেট)
বর্তমানে অনুমোদিত শিশুর সর্বাধিক সংখ্যা সেট করে।
থ্রেড প্রোটোকল অপারেশন বন্ধ হয়ে গেলেই এই প্যারামিটারটি সেট করা যেতে পারে।
পরামিতি
childmax count
উদাহরণ
childmax 2
DoneCLI এবং API রেফারেন্স
চাইল্ডম্যাক্স
বর্তমানে অনুমোদিত সর্বাধিক সংখ্যক শিশু পায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
childmax
5
DoneCLI এবং API রেফারেন্স
চাইল্ডরাউটারলিঙ্ক (পান, সেট)
MLE_CHILD_ROUTER_LINKS মান পায় বা সেট করে।
পরামিতি
childrouterlinks [links]
উদাহরণ
childrouterlinks
16
Donechildrouterlinks 16
DoneCLI এবং API রেফারেন্স
শিশু তত্ত্বাবধান চেকটাইমআউট (সেট)
সন্তানের উপর তত্ত্বাবধান চেক টাইমআউট ব্যবধান (সেকেন্ডে) সেট করে।
পরামিতি
childsupervision checktimeout timeout-seconds
উদাহরণ
childsupervision checktimeout 30
DoneCLI এবং API রেফারেন্স
শিশু তত্ত্বাবধান চেকটাইমআউট
শিশুর উপর তত্ত্বাবধান চেক টাইমআউট ব্যবধান (সেকেন্ডে) পায়।
যদি ডিভাইসটি একটি ঘুমন্ত শিশু হয় এবং নির্দিষ্ট চেক টাইমআউটের মধ্যে এটি তার পিতামাতার কাছ থেকে শুনতে না পায় তবে এটি পুনরায় সংযুক্ত করার প্রক্রিয়া শুরু করে (তার পিতামাতার সাথে MLE চাইল্ড আপডেটের অনুরোধ/প্রতিক্রিয়া বিনিময়)।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
childsupervision checktimeout
30
DoneCLI এবং API রেফারেন্স
শিশু তত্ত্বাবধানের ব্যবধান (সেট)
সন্তানের উপর শিশু তত্ত্বাবধানের ব্যবধান (সেকেন্ডে) সেট করে।
পরামিতি
childsupervision interval interval-seconds
উদাহরণ
childsupervision interval 30
DoneCLI এবং API রেফারেন্স
শিশু তত্ত্বাবধানের ব্যবধান
একটি শিশুর উপর শিশু তত্ত্বাবধানের ব্যবধান (সেকেন্ডে) পায়।
শিশু তত্ত্বাবধান বৈশিষ্ট্যটি পিতামাতার জন্য একটি প্রক্রিয়া প্রদান করে যাতে তত্ত্বাবধানের ব্যবধানের মধ্যে প্রতিটি ঘুমন্ত শিশুকে একটি বার্তা পাঠানো হয়। তত্ত্বাবধানের ব্যবধানের মধ্যে যদি শিশুর কাছে কোনো সংক্রমণ না হয়, OpenThread সারিবদ্ধ করে এবং শিশুর কাছে একটি শিশু তত্ত্বাবধানের বার্তা পাঠায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
childsupervision interval
30
DoneCLI এবং API রেফারেন্স
চাইল্ডটাইমআউট (সেট)
চাইল্ড ভূমিকায় কাজ করার সময় ব্যবহৃত থ্রেড চাইল্ড টাইমআউট (সেকেন্ডে) সেট করে।
পরামিতি
childtimeout timeout-seconds
উদাহরণ
childtimeout 300
DoneCLI এবং API রেফারেন্স
চাইল্ডটাইমআউট
শিশু ভূমিকায় কাজ করার সময় থ্রেড চাইল্ড টাইমআউট (সেকেন্ডে) ব্যবহার করা হয়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
childtimeout
300
DoneCLI এবং API রেফারেন্স
coap বাতিল
CoAP সার্ভারে একটি দূরবর্তী সংস্থানে বিদ্যমান পর্যবেক্ষণ সাবস্ক্রিপশন বাতিল করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coap cancel
DoneCLI এবং API রেফারেন্স
coap মুছে ফেলা
নির্দিষ্ট CoAP সংস্থান মুছে দেয়।
পরামিতি
coap delete address uri-path [type] [payload]
-
address: CoAP সার্ভারের IPv6 ঠিকানা। -
uri-path: রিসোর্সের URI পাথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিত (ডিফল্ট)
-
-
payload: CoAP পেলোড স্ট্রিং। উদাহরণস্বরূপ,hellothere.
উদাহরণ
coap delete fdde:ad00:beef:0:2780:9423:166c:1aac test-resource con hellothere
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
coap পেতে
CoAP সার্ভারে নির্দিষ্ট CoAP সংস্থান সম্পর্কে তথ্য পায়।
পরামিতি
coap get address uri-path [type]
-
address: CoAP সার্ভারের IPv6 ঠিকানা। -
uri-path: রিসোর্সের URI পাথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিত (ডিফল্ট) -
block-: এই বিকল্পটি ব্যবহার করুন, ব্লক-ভিত্তিক মান অনুসরণ করুন, যদি প্রতিক্রিয়া ব্লক-ভিত্তিক স্থানান্তর করা উচিত। বৈধ মানগুলি হল:block-16,block-32,block-64,block-128,block-256,block-512, বাblock-1024।
-
উদাহরণ
coap get fdde:ad00:beef:0:2780:9423:166c:1aac test-resource
Donecoap get fdde:ad00:beef:0:2780:9423:166c:1aac test-resource block-1024
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
coap পর্যবেক্ষণ
একটি সাবস্ক্রিপশন অনুরোধ ট্রিগার করে যা CoAP ক্লায়েন্টকে তার রাজ্যে সম্ভাব্য পরিবর্তনের জন্য CoAP সার্ভারে নির্দিষ্ট সংস্থান পর্যবেক্ষণ করতে দেয়।
পরামিতি
coap observe address uri-path [type]
-
address: CoAP সার্ভারের IPv6 ঠিকানা। -
uri-path: রিসোর্সের URI পাথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিত (ডিফল্ট)।
-
উদাহরণ
coap observe fdde:ad00:beef:0:2780:9423:166c:1aac test-resource
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
coap পরামিতি (পান, সেট)
কোন ঐচ্ছিক পরামিতি ছাড়া কমান্ড চালানো হলে বর্তমান CoAP পরামিতি মান পায়।
নির্বাচিত সিনট্যাক্সের উপর নির্ভর করে CoAP প্যারামিটারগুলিকে তাদের ডিফল্ট মানগুলিতে বা আপনার নির্দিষ্ট করা মানগুলিতে সেট করে।
পরামিতি
coap parameters type [default | ack_timeout ack_random_factor_numerator ack_random_factor_denominator max_retransmit]
-
type: CoAP অনুরোধের জন্যrequest, বা CoAP প্রতিক্রিয়াগুলির জন্যresponse। যদি আর কোন প্যারামিটার না দেওয়া হয়, কমান্ড বর্তমান কনফিগারেশন প্রিন্ট করে। -
default: ট্রান্সমিশন প্যারামিটারগুলিকে নিম্নলিখিত ডিফল্ট মানগুলিতে সেট করে:-
ack_timeout: 2000 মিলিসেকেন্ড -
ack_random_factor_numerator: 3 -
ack_random_factor_denominator: 2 -
max_retransmit: 4
-
-
ack_timeout:ACK_TIMEOUT(0-UINT32_MAX) মিলিসেকেন্ডে। RFC7252 পড়ুন। -
ack_random_factor_numerator:ACK_RANDOM_FACTORলব, 0-255 এর সম্ভাব্য মান সহ। RFC7252 পড়ুন। -
ack_random_factor_denominator:ACK_RANDOM_FACTORহর, সম্ভাব্য মান 0-255 সহ। RFC7252 পড়ুন। -
max_retransmit: TheMAX_RETRANSMIT(0-255)। RFC7252 পড়ুন।
উদাহরণ
coap parameters request
Transmission parameters for request:
ACK_TIMEOUT=1000 ms, ACK_RANDOM_FACTOR=255/254, MAX_RETRANSMIT=2
Donecoap parameters request default
Transmission parameters for request:
default
Donecoap parameters request 1000 255 254 2
Transmission parameters for request:
ACK_TIMEOUT=1000 ms, ACK_RANDOM_FACTOR=255/254, MAX_RETRANSMIT=2
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
coap পোস্ট
নির্দিষ্ট CoAP সংস্থান তৈরি করে। আরও তথ্যের জন্য, OT CLI ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল (CoAP) রিসোর্সের সাথে টেস্ট কানেক্টিভিটি পড়ুন।
পরামিতি
coap post address uri-path [type] [payload]
-
address: CoAP সার্ভারের IPv6 ঠিকানা। -
uri-path: রিসোর্সের URI পাথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিত (ডিফল্ট) -
block-: পেলোডের জন্য এলোমেলোভাবে জেনারেট করা সংখ্যক বাইট সহ ব্লক পাঠাতে ব্লক-ভিত্তিক মান অনুসরণ করে এই বিকল্পটি ব্যবহার করুন। বৈধ মানগুলি হল:block-16,block-32,block-64,block-128,block-256,block-512, বাblock-1024।
-
-
payload: CoAP পেলোড অনুরোধ, যা ব্যবহার করা হলে হয় একটি স্ট্রিং বা একটি পূর্ণসংখ্যা,typeউপর নির্ভর করে।typeconবাnon-conহলে,payloadপ্যারামিটার ঐচ্ছিক। আপনি যদিpayloadপ্যারামিটারটি ছেড়ে দেন তবে একটি খালি পেলোড পাঠানো হয়। যাইহোক, আপনি যদিpayloadপ্যারামিটার ব্যবহার করেন, তাহলে এর মান অবশ্যই একটি স্ট্রিং হতে হবে, যেমনhellothere। যদিtypeblock-হয়, তাহলেpayloadপ্যারামিটারের মান অবশ্যই একটি পূর্ণসংখ্যা হতে হবে যা পাঠানোর জন্য ব্লকের সংখ্যা নির্দিষ্ট করে।block-টাইপের জন্যOPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLEসেট করা প্রয়োজন।
উদাহরণ
coap post fdde:ad00:beef:0:2780:9423:166c:1aac test-resource con hellothere
Donecoap post fdde:ad00:beef:0:2780:9423:166c:1aac test-resource block-1024 10
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
coap করা
নির্দিষ্ট CoAP সংস্থান পরিবর্তন করে। আরও তথ্যের জন্য, OT CLI ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল (CoAP) রিসোর্সের সাথে টেস্ট কানেক্টিভিটি পড়ুন।
পরামিতি
coap put address uri-path [type] [payload]
-
address: CoAP সার্ভারের IPv6 ঠিকানা। -
uri-path: রিসোর্সের URI পাথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিত (ডিফল্ট) -
block-: পেলোডের জন্য এলোমেলোভাবে জেনারেট করা সংখ্যক বাইট সহ ব্লক পাঠাতে ব্লক-ভিত্তিক মান অনুসরণ করে এই বিকল্পটি ব্যবহার করুন। বৈধ মানগুলি হল:block-16,block-32,block-64,block-128,block-256,block-512, বাblock-1024।
-
-
payload: CoAP পেলোড অনুরোধ, যা ব্যবহার করা হলে হয় একটি স্ট্রিং বা একটি পূর্ণসংখ্যা,typeউপর নির্ভর করে।typeconবাnon-conহলে,payloadপ্যারামিটার ঐচ্ছিক। আপনি যদিpayloadপ্যারামিটারটি ছেড়ে দেন তবে একটি খালি পেলোড পাঠানো হয়। যাইহোক, আপনি যদিpayloadপ্যারামিটার ব্যবহার করেন, তাহলে এর মান অবশ্যই একটি স্ট্রিং হতে হবে, যেমনhellothere। যদিtypeblock-হয়, তাহলেpayloadপ্যারামিটারের মান অবশ্যই একটি পূর্ণসংখ্যা হতে হবে যা পাঠানোর জন্য ব্লকের সংখ্যা নির্দিষ্ট করে।block-টাইপের জন্যOPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLEসেট করা প্রয়োজন।
উদাহরণ
coap put fdde:ad00:beef:0:2780:9423:166c:1aac test-resource con hellothere
Donecoap put fdde:ad00:beef:0:2780:9423:166c:1aac test-resource block-1024 10
DoneCLI এবং API রেফারেন্স
- কোনো সংশ্লিষ্ট API নেই
কপ সম্পদ (পান, সেট)
CoAP সার্ভার রিসোর্সের URI পাথ পায় বা সেট করে।
পরামিতি
coap resource [uri-path]
উদাহরণ
coap resource test-resource
Donecoap resource
test-resource
DoneCLI এবং API রেফারেন্স
কোপ সেট
সিওএপি সার্ভারে সংস্থান দ্বারা প্রেরিত সামগ্রী সেট করে। যদি কোনও সিওএপি ক্লায়েন্ট সংস্থানটি পর্যবেক্ষণ করে থাকে তবে সেই ক্লায়েন্টকে একটি বিজ্ঞপ্তি প্রেরণ করা হয়।
পরামিতি
coap set new-content
উদাহরণ
coap set Testing123
Doneসিএলআই এবং এপিআই রেফারেন্স
কোপ শুরু
সিওএপি সার্ভার শুরু করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল (সিওএপি) রিসোর্সে টেস্ট সংযোগটি দেখুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coap start
Doneসিএলআই এবং এপিআই রেফারেন্স
কোপ স্টপ
সিওএপি সার্ভার বন্ধ করে দেয়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coap stop
Doneসিএলআই এবং এপিআই রেফারেন্স
COAPS সংযোগ
একটি পিয়ার দিয়ে একটি ডেটাগ্রাম ট্রান্সপোর্ট লেয়ার সিকিউরিটি (ডিটিএলএস) সেশনটি আরম্ভ করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
coaps connect address
address প্যারামিটারটি পিয়ারের আইপিভি 6 ঠিকানা।
উদাহরণ
coaps connect fdde:ad00:beef:0:9903:14b:27e0:5744
Done
coaps connectedসিএলআই এবং এপিআই রেফারেন্স
Coaps মুছুন
মুছতে COAPS পে -লোড স্ট্রিং।
পরামিতি
coaps delete uri-path [type] [payload]
-
uri-path: রিসোর্সের উরি পথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিতযোগ্য (ডিফল্ট)
-
-
payload: COAPS পে -লোড অনুরোধ।
উদাহরণ
coaps delete test-resource con hellothere
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
coaps সংযোগ বিচ্ছিন্ন
ডিটিএলএস সেশন বন্ধ করে দেয়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coaps disconnect
coaps disconnected
Doneসিএলআই এবং এপিআই রেফারেন্স
Coaps পেতে
সিওএপিএস সার্ভারে নির্দিষ্ট সিওএপিএস সংস্থান সম্পর্কে তথ্য পান। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
coaps get uri-path [type]
-
uri-path: রিসোর্সের উরি পথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিতযোগ্য (ডিফল্ট) -
block-: এই বিকল্পটি ব্যবহার করুন, ব্লক-ভিত্তিক মান অনুসরণ করুন, যদি প্রতিক্রিয়াটি ব্লক-ভিত্তিক স্থানান্তরিত করা উচিত। বৈধ মানগুলি হ'ল:block-16,block-32,block-64,block-128,block-256,block-512, বাblock-1024।
-
উদাহরণ
coaps get test-resource
Donecoaps get test-resource block-1024
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
Coaps isclosed
সিওএপি সুরক্ষিত পরিষেবা বন্ধ থাকলে নির্দেশ করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coaps isclosed
no
Doneসিএলআই এবং এপিআই রেফারেন্স
Coaps isconnactive
সিওএপি সিকিউর পরিষেবা সংযোগটি সক্রিয় থাকে কিনা তা নির্দেশ করে (ইতিমধ্যে সংযুক্ত বা কোনও সংযোগ স্থাপনের প্রক্রিয়াতে)। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coaps isconnactive
yes
Doneসিএলআই এবং এপিআই রেফারেন্স
Coaps isConected
সিওএপি সুরক্ষিত পরিষেবা সংযুক্ত থাকলে নির্দেশ করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coaps isconnected
yes
Doneসিএলআই এবং এপিআই রেফারেন্স
Coaps পোস্ট
নির্দিষ্ট COAPS সংস্থান তৈরি করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
uri-path [type] [payload]
-
uri-path: রিসোর্সের উরি পথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিতযোগ্য (ডিফল্ট) -
block-: পে-লোডের জন্য এলোমেলোভাবে উত্পাদিত সংখ্যক বাইট সহ ব্লকগুলি প্রেরণ করতে ব্লক-ভিত্তিক মান অনুসরণ করে এই বিকল্পটি ব্যবহার করুন। বৈধ মানগুলি হ'ল:block-16,block-32,block-64,block-128,block-256,block-512, বাblock-1024।
-
-
payload: কোপস পে -লোড অনুরোধ, যা ব্যবহার করা হলেtypeউপর নির্ভর করে স্ট্রিং বা একটি পূর্ণসংখ্যা হয়।typeযদিconবাnon-conহয় তবে পে-লোড প্যারামিটারটি al চ্ছিক। আপনি যদি পে -লোড প্যারামিটারটি ছেড়ে যান তবে একটি খালি পে -লোড প্রেরণ করা হয়। তবে, আপনি যদি পে -লোড প্যারামিটারটি ব্যবহার করেন তবে এর মান অবশ্যই একটি স্ট্রিং হতে হবে, যেমনhellothereমতো। যদিtypeblock-হয়- তবে পে-লোড প্যারামিটারের মান অবশ্যই একটি পূর্ণসংখ্যা হতে হবে যা প্রেরণের জন্য ব্লকের সংখ্যা নির্দিষ্ট করে।block-টাইপের জন্যOPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLEসেট করা প্রয়োজন।
উদাহরণ
coaps post test-resource con hellothere
Donecoaps post test-resource block-1024 10
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
কোপস পিএসকে
প্রাক-শেয়ার্ড কী (পিএসকে) এবং সাইফার স্যুট ডিটিএলএস_পিএসকে_উইথ_এইএস_128_ccm_8 সেট করে।
পরামিতি
coaps psk psk-value psk-id
-
psk-value: প্রাক-ভাগ করা কী -
psk-id: প্রাক-ভাগ করা কী শনাক্তকারী।
উদাহরণ
coaps psk 1234 key1
Doneসিএলআই এবং এপিআই রেফারেন্স
Coaps রাখা
নির্দিষ্ট COAPS সংস্থান সংশোধন করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
uri-path [type] [payload]
-
uri-path: রিসোর্সের উরি পথ। -
type:-
con: নিশ্চিত -
non-con: অ-নিশ্চিতযোগ্য (ডিফল্ট) -
block-: পে-লোডের জন্য এলোমেলোভাবে উত্পাদিত সংখ্যক বাইট সহ ব্লকগুলি প্রেরণ করতে ব্লক-ভিত্তিক মান অনুসরণ করে এই বিকল্পটি ব্যবহার করুন। বৈধ মানগুলি হ'ল:block-16,block-32,block-64,block-128,block-256,block-512, বাblock-1024।
-
-
payload: কোপস পে -লোড অনুরোধ, যা ব্যবহার করা হলেtypeউপর নির্ভর করে স্ট্রিং বা একটি পূর্ণসংখ্যা হয়।typeযদিconবাnon-conহয় তবে পে-লোড প্যারামিটারটি al চ্ছিক। আপনি যদি পে -লোড প্যারামিটারটি ছেড়ে যান তবে একটি খালি পে -লোড প্রেরণ করা হয়। তবে, আপনি যদি পে -লোড প্যারামিটারটি ব্যবহার করেন তবে এর মান অবশ্যই একটি স্ট্রিং হতে হবে, যেমনhellothereমতো। যদিtypeblock-হয়- তবে পে-লোড প্যারামিটারের মান অবশ্যই একটি পূর্ণসংখ্যা হতে হবে যা প্রেরণের জন্য ব্লকের সংখ্যা নির্দিষ্ট করে।block-টাইপের জন্যOPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLEসেট করা প্রয়োজন।
উদাহরণ
coaps put test-resource con hellothere
Donecoaps put test-resource block-1024 10
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
COAPS রিসোর্স (পান, সেট)
COAPS সার্ভার রিসোর্সের ইউআরআই পথটি পায় বা সেট করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
coaps resource [uri-path]
উদাহরণ
coaps resource test-resource
Donecoaps resource
test-resource
Doneসিএলআই এবং এপিআই রেফারেন্স
COAPS সেট
COAPS সার্ভারে রিসোর্স দ্বারা প্রেরিত সামগ্রী সেট করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
coaps set new-content
উদাহরণ
coaps set Testing123
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
কোপস শুরু
সিওএপি সুরক্ষিত পরিষেবা শুরু করে। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
coaps start [check-peer-cert | max-conn-attempts]
check-peer-cert প্যারামিটার নির্ধারণ করে যে পিয়ার-শংসাপত্রের চেক সক্ষম করা হয়েছে (ডিফল্ট) বা অক্ষম। max-conn-attempts প্যারামিটারটি সিওএপি সিকিউর সার্ভারের সাথে সংযোগ স্থাপনের জন্য সর্বাধিক সংখ্যক অনুমোদিত প্রচেষ্টা, সফল বা ব্যর্থ, সেট করে। এই প্যারামিটারের ডিফল্ট মান 0 , যার অর্থ প্রচেষ্টার সংখ্যার কোনও সীমা নেই। check-peer-cert এবং max-conn-attempts প্যারামিটারগুলি নিম্নলিখিত সংমিশ্রণগুলিতে একসাথে কাজ করে, যদিও আপনি কেবল একটি যুক্তি নির্দিষ্ট করতে পারেন:
- কোনও যুক্তি নির্দিষ্ট করা হয়নি: ডিফল্ট ব্যবহার করা হয়।
-
check-peer-certtrueসেট করা: যুক্তি বাদ দেওয়ার মতো একই প্রভাব রয়েছে, যাcheck-peer-certমানটিtrue, এবংmax-conn-attemptsমান 0 হয়। -
check-peer-certfalseহিসাবে সেট করা:check-peer-certমানটিfalse, এবংmax-conn-attemptsমান 0 হয়। - একটি সংখ্যা নির্দিষ্ট করে:
check-peer-certtrue, এবংmax-conn-attemptsমানটি আর্গুমেন্টে বর্ণিত সংখ্যা।
উদাহরণ
coaps start
Donecoaps start false
Donecoaps start 8
Doneসিএলআই এবং এপিআই রেফারেন্স
Coaps বন্ধ
সিওএপি সুরক্ষিত পরিষেবা বন্ধ করে দেয়। আরও তথ্যের জন্য, ওটি সিএলআই ব্যবহার করে একটি সীমাবদ্ধ অ্যাপ্লিকেশন প্রোটোকল সিকিউর (সিওএপিএস) রিসোর্সে পরীক্ষার সংযোগটি দেখুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coaps stop
Doneসিএলআই এবং এপিআই রেফারেন্স
COAPS x509
DTLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 এর সাথে ডিটিএলএস সেশনের জন্য সম্পর্কিত ব্যক্তিগত কী সহ স্থানীয় ডিভাইসের X509 শংসাপত্র সেট করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
coaps x509
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার ঘোষণা
একটি ঘোষণার শুরু বার্তা প্রেরণ করে।
পরামিতি
commissioner announce mask count period destination
-
mask: বিটমাস্ক যা এমএলইAnnounceবার্তা প্রেরণের জন্য চ্যানেলগুলি সনাক্ত করে। -
count: প্রতি চ্যানেল প্রতি এমএলইAnnounceট্রান্সমিশনের সংখ্যা। -
period: ক্রমাগত এমএলই এর মধ্যে মিলিসেকেন্ডের সংখ্যা সংক্রমণAnnounce। -
destination: বার্তার জন্য গন্তব্য আইপিভি 6 ঠিকানা। বার্তাটি মাল্টিকাস্ট হতে পারে।
উদাহরণ
commissioner announce 0x00050000 2 32 fdde:ad00:beef:0:0:ff:fe00:c00
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার শক্তি
একটি শক্তি স্ক্যান ক্যোয়ারী বার্তা প্রেরণ করে। কমান্ড আউটপুট এটি প্রাপ্ত হিসাবে মুদ্রিত হয়।
পরামিতি
commissioner energy mask count period scanDuration destination
-
mask: বিটমাস্ক যা আইইইই 802.15.4 শক্তি স্ক্যান করার জন্য চ্যানেলগুলি সনাক্ত করে। -
count: আইইইই 802.15.4 প্রতি চ্যানেল প্রতি শক্তি স্ক্যানের সংখ্যা। -
period: ক্রমাগত আইইইই 802.15.4 শক্তি স্ক্যানগুলির মধ্যে মিলিসেকেন্ডের সংখ্যা। -
scanDuration: আইইইই 802.15.4 শক্তি স্ক্যান করার সময় ব্যবহার করার জন্য মিলিসেকেন্ডে স্ক্যানের সময়কাল। -
destination: বার্তার জন্য গন্তব্য আইপিভি 6 ঠিকানা। বার্তাটি মাল্টিকাস্ট হতে পারে।
উদাহরণ
commissioner energy 0x00050000 2 32 1000 fdde:ad00:beef:0:0:ff:fe00:c00
Done
Energy: 00050000 0 0 0 0সিএলআই এবং এপিআই রেফারেন্স
কমিশনার আইডি (গেট, সেট)
Openthread কমিশনার আইডি নাম পান বা সেট করে।
পরামিতি
commissioner id name
উদাহরণ
commissioner id OpenThread Commissioner
Donecommissioner id
OpenThread Commissioner
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার যোগদানকারী অ্যাড
একটি যোগদানকারী এন্ট্রি যোগ করে।
পরামিতি
commissioner joiner add eui64|discerner pksd [timeout]
-
eui64: যোগদানের IEEE EUI-64। যে কোনও যোগদানের সাথে মেলে,*ব্যবহার করুন। -
discerner: ফর্ম্যাটnumber/lengthযোগদানকারী বিচক্ষণ। -
pksd: যোগদানের জন্য প্রাক-ভাগ করা কী। -
timeout: সেকেন্ডে যোগদানের সময়সীমা।
উদাহরণ
commissioner joiner add d45e64fa83f81cf7 J01NME
Donecommissioner joiner add 0xabc/12 J01NME
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার যোগদানকারী সরান
একটি যোগদানকারী প্রবেশ অপসারণ।
পরামিতি
commissioner joiner remove eui64|discerner
-
eui64: যোগদানের IEEE EUI-64। যে কোনও যোগদানের সাথে মেলে,*ব্যবহার করুন। -
discerner: ফর্ম্যাটnumber/lengthযোগদানকারী বিচক্ষণ।
উদাহরণ
commissioner joiner remove d45e64fa83f81cf7
Donecommissioner joiner remove 0xabc/12
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার যোগদানকারী টেবিল
টেবিল ফর্ম্যাটে সমস্ত যোগদানের এন্ট্রি তালিকাভুক্ত করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
commissioner joiner table
| ID | PSKd | Expiration |
+-----------------------+----------------------------------+------------+
| * | J01NME | 81015 |
| d45e64fa83f81cf7 | J01NME | 101204 |
| 0x0000000000000abc/12 | J01NME | 114360 |
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
কমিশনার এমজিএমটিজেট
নেতার কাছে একটি MGMT_GET (ম্যানেজমেন্ট জিইটি) বার্তা প্রেরণ করে। commissioner mgmtset কমান্ড ব্যবহার করে সেট করা পরিবর্তনশীল মানগুলি ফিরে আসে।
পরামিতি
commissioner mgmtget [locator] [sessionid] [steeringdata] [joinerudpport] [-x TLVs]
-
locator: বর্ডার রাউটার আরএলওসি 16। -
sessionid: কমিশনার সেশন আইডি। -
steeringdata: স্টিয়ারিং ডেটা। -
joinerudpport: JONEAR UDP পোর্ট। -
TLVs: টিএলভিগুলির সেটটি পুনরুদ্ধার করতে হবে।
উদাহরণ
commissioner mgmtget locator sessionid
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার এমজিএমটিসেট
নেতাকে একটি MGMT_SET (পরিচালনা সেট) বার্তা প্রেরণ করে এবং নির্দিষ্ট মানগুলিতে ভেরিয়েবলগুলি সেট করে।
পরামিতি
commissioner mgmtset [locator locator] [sessionid sessionid] [steeringdata steeringdata] [joinerudpport joinerudpport] [-x TLVs]
-
locator: বর্ডার রাউটার আরএলওসি 16। -
sessionid: কমিশনার সেশন আইডি। -
steeringdata: স্টিয়ারিং ডেটা। -
joinerudpport: JONEAR UDP পোর্ট। -
TLVs: টিএলভিগুলির সেটটি পুনরুদ্ধার করতে হবে।
উদাহরণ
commissioner mgmtset joinerudpport 9988
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার প্যানিড
একটি প্যান আইডি ক্যোয়ারী প্রেরণ করে। কমান্ড আউটপুটটি পাওয়ার সাথে সাথে ফিরে আসে।
পরামিতি
commissioner panid panid mask destination
-
paind: দ্বন্দ্বগুলি পরীক্ষা করতে ব্যবহার করতে প্যান আইডি। -
mask; বিটমাস্ক যা আইইইই 802.15.4 সক্রিয় স্ক্যানগুলি সম্পাদন করতে চ্যানেলগুলি সনাক্ত করে। -
destination: বার্তার জন্য আইপিভি 6 গন্তব্য ঠিকানা। বার্তাটি মাল্টিকাস্ট হতে পারে।
উদাহরণ
commissioner panid 0xdead 0x7fff800 fdde:ad00:beef:0:0:ff:fe00:c00
Done
Conflict: dead, 00000800সিএলআই এবং এপিআই রেফারেন্স
কমিশনার বিধান
কমিশনার বিধান ইউআরএল সেট করে।
পরামিতি
commissioner provisioningurl provisioningurl
উদাহরণ
commissioner provisioningurl http://github.com/openthread/openthread
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার সেশনআইডি
বর্তমান কমিশনার সেশন আইডি পান।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
commissioner sessionid
0
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার শুরু
থ্রেড কমিশনার ভূমিকা শুরু করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
commissioner start
Commissioner: petitioning
Done
Commissioner: activeসিএলআই এবং এপিআই রেফারেন্স
কমিশনার রাজ্য
কমিশনার বর্তমান অবস্থা প্রদান করে। সম্ভাব্য মানগুলি active , disabled , বা petition (কমিশনার হওয়ার আবেদন করা)।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
commissioner state
active
Doneসিএলআই এবং এপিআই রেফারেন্স
কমিশনার স্টপ
থ্রেড কমিশনার ভূমিকা বন্ধ করে দেয়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
commissioner stop
Doneসিএলআই এবং এপিআই রেফারেন্স
কনটেক্সট্রেডলয়ে (পান, সেট করুন)
CONTEXT_ID_REUSE_DELAY মানটি পায় বা সেট করে।
পরামিতি
contextreusedelay delay
CONTEXT_ID_REUSE_DELAY সেট করতে al চ্ছিক delay আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
contextreusedelay
11
Donecontextreusedelay 11
Doneসিএলআই এবং এপিআই রেফারেন্স
কাউন্টার (ম্যাক)
ম্যাক লেয়ার কাউন্টারগুলি পান।
পরামিতি
counters mac
উদাহরণ
counters mac
TxTotal: 10
TxUnicast: 3
TxBroadcast: 7
TxAckRequested: 3
TxAcked: 3
TxNoAckRequested: 7
TxData: 10
TxDataPoll: 0
TxBeacon: 0
TxBeaconRequest: 0
TxOther: 0
TxRetry: 0
TxErrCca: 0
TxErrBusyChannel: 0
RxTotal: 2
RxUnicast: 1
RxBroadcast: 1
RxData: 2
RxDataPoll: 0
RxBeacon: 0
RxBeaconRequest: 0
RxOther: 0
RxAddressFiltered: 0
RxDestAddrFiltered: 0
RxDuplicated: 0
RxErrNoFrame: 0
RxErrNoUnknownNeighbor: 0
RxErrInvalidSrcAddr: 0
RxErrSec: 0
RxErrFcs: 0
RxErrOther: 0
Doneসিএলআই এবং এপিআই রেফারেন্স
কাউন্টার (এমএলই)
থ্রেড মেল কাউন্টারগুলি পায়।
পরামিতি
counters mle
উদাহরণ
counters mle
Role Disabled: 0
Role Detached: 1
Role Child: 0
Role Router: 0
Role Leader: 1
Attach Attempts: 1
Partition Id Changes: 1
Better Partition Attach Attempts: 0
Parent Changes: 0
Doneসিএলআই এবং এপিআই রেফারেন্স
কাউন্টার
সমর্থিত কাউন্টার নাম পান।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
counters
ip
mac
mle
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
কাউন্টার আইপি
আইপিভি 6 কাউন্টারগুলি পায়।
পরামিতি
counters ip
উদাহরণ
counters ip
TxSuccess: 10
TxFailed: 0
RxSuccess: 5
RxFailed: 0
Doneসিএলআই এবং এপিআই রেফারেন্স
আইপি রিসেট কাউন্টার
আইপিভি 6 কাউন্টারগুলি পুনরায় সেট করুন।
পরামিতি
counters ip reset
উদাহরণ
counters ip reset
Doneসিএলআই এবং এপিআই রেফারেন্স
কাউন্টারগুলি ম্যাক রিসেট
ম্যাক লেয়ার কাউন্টারগুলি পুনরায় সেট করুন।
পরামিতি
counters mac reset
উদাহরণ
counters mac reset
Doneসিএলআই এবং এপিআই রেফারেন্স
কাউন্টারগুলি এমএলই রিসেট
থ্রেড এমএলই কাউন্টারগুলি পুনরায় সেট করুন।
পরামিতি
counters mle reset
উদাহরণ
counters mle reset
Doneসিএলআই এবং এপিআই রেফারেন্স
সিএসএল চ্যানেল
সিএসএল চ্যানেল সেট করে।
পরামিতি
csl channel channel
উদাহরণ
csl channel 20
Doneসিএলআই এবং এপিআই রেফারেন্স
csl
সিএসএল কনফিগারেশন পায়।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
csl
Channel: 11
Period: 160000us
Timeout: 1000s
Doneসিএলআই এবং এপিআই রেফারেন্স
সিএসএল পিরিয়ড
মাইক্রোসেকেন্ডগুলিতে সিএসএল পিরিয়ড সেট করে।
এই প্যারামিটারটি 0 এ সেট করে সিএসএল অক্ষম করুন।
সিএসএল পিরিয়ডটি অবশ্যই OT_LINK_CSL_PERIOD_TEN_SYMBOLS_UNIT_IN_USEC এর একাধিক হতে হবে, অন্যথায় OT_ERROR_INVALID_ARGS ফিরে আসে।
পরামিতি
csl period period
উদাহরণ
csl period 3000000
Doneসিএলআই এবং এপিআই রেফারেন্স
সিএসএল সময়সীমা
সেকেন্ডে সিএসএল সময়সীমা সেট করে।
পরামিতি
csl timeout timeout
উদাহরণ
cls timeout 10
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট সক্রিয়
সক্রিয় অপারেশনাল ডেটাসেট পান।
ওটি সিএলআই কনসোলে ডেটাসেট মানগুলি ফিরিয়ে দিতে ওটোপারেশনাল ড্যাটাসেট সদস্যদের ব্যবহার করে।
পরামিতি
dataset active [-x]
Al চ্ছিক -x আর্গুমেন্টটি হেক্স -এনকোডেড টিএলভি হিসাবে সক্রিয় অপারেশনাল ডেটাসেট মানগুলি মুদ্রণ করে।
উদাহরণ
dataset active
Active Timestamp: 1
Channel: 13
Channel Mask: 0x07fff800
Ext PAN ID: d63e8e3e495ebbc3
Mesh Local Prefix: fd3d:b50b:f96d:722d::/64
Network Key: dfd34f0f05cad978ec4e32b0413038ff
Network Name: OpenThread-8f28
PAN ID: 0x8f28
PSKc: c23a76e98f1a6483639b1ac1271e2e27
Security Policy: 0, onrcb
Donedataset active -x
0e08000000000001000000030000103506000...3023d82c841eff0e68db86f35740c030000ff
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট অ্যাক্টিভেটিমস্ট্যাম্প (পান, সেট করুন)
OtoperationalDataset :: Mactivetimestamp পায় বা সেট করে।
পরামিতি
dataset activetimestamp [timestamp]
সক্রিয় টাইমস্ট্যাম্প সেট করতে al চ্ছিক timestamp যুক্তিটি পাস করুন।
উদাহরণ
dataset activetimestamp
123456789
Donedataset activetimestamp 123456789
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট চ্যানেল (গেট, সেট)
OtoperationalDataset :: mchannel পান বা সেট করে।
পরামিতি
dataset channel [channel-num]
চ্যানেলটি সেট করতে al চ্ছিক channel-num আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset channel
12
Donedataset channel 12
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট চ্যানেলমাস্ক (পান, সেট)
OtoperationalDataset :: mchannelmak
পরামিতি
dataset channelmask [channel-mask]
চ্যানেল মাস্ক সেট করতে al চ্ছিক channel-mask আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset channelmask
0x07fff800
Donedataset channelmask 0x07fff800
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট পরিষ্কার
অপারেশনাল ডেটাসেট বাফারটি পুনরায় সেট করুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dataset clear
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট সক্রিয় প্রতিশ্রুতিবদ্ধ
সক্রিয় অপারেশনাল ডেটাসেটে অপারেশনাল ডেটাসেট বাফার প্রতিশ্রুতিবদ্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dataset commit active
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট মুলতুবি প্রতিশ্রুতিবদ্ধ
অপারেশনাল ডেটাসেট বাফারকে অপারেশনাল ডেটাসেটকে মুলতুবি করে প্রতিশ্রুতিবদ্ধ করুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dataset commit pending
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট বিলম্ব (পান, সেট)
OtoperationalDataset :: Mdelay পান বা সেট করে।
পরামিতি
dataset delay [delay]
বিলম্বের টাইমার মান সেট করতে al চ্ছিক delay আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset delay
1000
Donedataset delay 1000
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট এক্সটপ্যানিড (পান, সেট করুন)
OtoperationalDataset :: Mettendendpanid পান বা সেট করে।
পরামিতি
dataset extpanid [extpanid]
বর্ধিত ব্যক্তিগত অঞ্চল নেটওয়ার্ক আইডি সেট করতে al চ্ছিক extpanid আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset extpanid
000db80123456789
Donedataset extpanid 000db80123456789
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট সহায়তা
dataset সিএলআই কমান্ডের একটি তালিকা পায়। আরও তথ্যের জন্য, ওটি সিএলআই সহ ডেটাসেটগুলি প্রদর্শন এবং পরিচালনা করুন ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dataset help
help
active
activetimestamp
channel
channelmask
clear
commit
delay
extpanid
init
meshlocalprefix
mgmtgetcommand
mgmtsetcommand
networkkey
networkname
panid
pending
pendingtimestamp
pskc
securitypolicy
set
tlvs
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট ইনিশ (সক্রিয়, নতুন, মুলতুবি, টিএলভি)
ওটি সিএলআই active , pending , বা tlvs জন্য চেক করে এবং সংশ্লিষ্ট মানগুলি ফেরত দেয়। অন্যথায়, ওটি সিএলআই একটি নতুন, এলোমেলো নেটওয়ার্ক তৈরি করে এবং একটি নতুন ডেটাসেট দেয়।
পরামিতি
dataset init {active|new|pending|tlvs} [hex-encoded-tlvs] একটি নতুন ডেটাসেট আরম্ভ করতে new ব্যবহার করুন, তারপরে কমান্ড dataset commit active করুন। হেক্স-এনকোডেড টিএলভিগুলির জন্য tlvs ব্যবহার করুন।
উদাহরণ
dataset init new
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট মেশলোক্যালপ্রিফিক্স (পান, সেট)
OtoperationalDataset :: Mmeshlocalprefix পায় বা সেট করে।
পরামিতি
dataset meshlocalprefix [meshlocalprefix]
জাল-স্থানীয় উপসর্গটি সেট করতে al চ্ছিক meshlocalprefix আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset meshlocalprefix
fd00:db8:0:0::/64
Donedataset meshlocalprefix fd00:db8:0:0::
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট এমজিএমটিজেটকম্যান্ড সক্রিয়
এমজিএমটি_অ্যাকটিভ_জেট প্রেরণ করে।
ওটি সিএলআই প্রাসঙ্গিক যুক্তি সহ একটি এমজিএমটি_অ্যাকটিভ_জেট প্রেরণ করে। এই পরামিতি এবং আর্গুমেন্ট ম্যাপিংগুলি সম্পর্কে আরও জানতে, ওটি সিএলআই সহ ডেটাসেটগুলি প্রদর্শন এবং পরিচালনা করুন ।
পরামিতি
dataset mgmtgetcommand active [address leader-address] [dataset-components] [-x tlv-list]
- আইপিভি 6 গন্তব্য নির্দিষ্ট করতে
addressব্যবহার করুন; অন্যথায়, লিডার অ্যালোক ডিফল্ট হিসাবে ব্যবহৃত হয়। -
dataset-componentsজন্য, আপনি ওটোপারেশনালড্যাটাসেটকম্পোনেন্টগুলির যে কোনও সংমিশ্রণটি পাস করতে পারেন, উদাহরণস্বরূপactivetimestamp,pendingtimestampবাnetworkkey। - Al চ্ছিক
-xআর্গুমেন্টটি অনুরোধ করার জন্য কাঁচা টিএলভিগুলি নির্দিষ্ট করে।
উদাহরণ
dataset mgmtgetcommand active address fdde:ad00:beef:0:558:f56b:d688:799 activetimestamp securitypolicy
Donedataset mgmtgetcommand active networkname
Doneসিএলআই এবং এপিআই রেফারেন্স
- otdatasetsendmgmtactiveget
- ডেটাসেট এমজিএমটিজেটকম্যান্ড মুলতুবি
- ডেটাসেট এমজিএমটিএসটিকম্যান্ড সক্রিয়
- ডেটাসেট এমজিএমটিএসটিকম্যান্ড মুলতুবি
ডেটাসেট এমজিএমটিজেটকম্যান্ড মুলতুবি
এমজিএমটি_পেন্ডিং_জেট প্রেরণ করে।
পরামিতি
dataset mgmtgetcommand pending [address leader-address] [dataset-components] [-x tlv-list]
এই পরামিতি এবং আর্গুমেন্ট ম্যাপিংগুলি সম্পর্কে আরও জানতে, ওটি সিএলআই সহ ডেটাসেটগুলি প্রদর্শন এবং পরিচালনা করুন ।
উদাহরণ
dataset mgmtgetcommand pending address fdde:ad00:beef:0:558:f56b:d688:799 activetimestamp securitypolicy
Donedataset mgmtgetcommand pending networkname
Doneসিএলআই এবং এপিআই রেফারেন্স
- otdatasetsendmgmtpendingget
- ডেটাসেট এমজিএমটিজেটকম্যান্ড সক্রিয়
- ডেটাসেট এমজিএমটিএসটিকম্যান্ড সক্রিয়
- ডেটাসেট এমজিএমটিএসটিকম্যান্ড মুলতুবি
ডেটাসেট এমজিএমটিএসটিকম্যান্ড সক্রিয়
এমজিএমটি_অ্যাকটিভ_সেট প্রেরণ করে।
পরামিতি
dataset mgmtsetcommand active [dataset-components] [-x tlv-list]
এই পরামিতি এবং আর্গুমেন্ট ম্যাপিংগুলি সম্পর্কে আরও জানতে, ওটি সিএলআই সহ ডেটাসেটগুলি প্রদর্শন এবং পরিচালনা করুন ।
উদাহরণ
dataset mgmtsetcommand active activetimestamp 123 securitypolicy 1 onrcb
Doneসিএলআই এবং এপিআই রেফারেন্স
- otdatasetsendmgmtactiveset
- ডেটাসেট এমজিএমটিজেটকম্যান্ড সক্রিয়
- ডেটাসেট এমজিএমটিজেটকম্যান্ড মুলতুবি
- ডেটাসেট এমজিএমটিএসটিকম্যান্ড মুলতুবি
ডেটাসেট এমজিএমটিএসটিকম্যান্ড মুলতুবি
এমজিএমটি_পেন্ডিং_সেট প্রেরণ করে।
পরামিতি
dataset mgmtsetcommand pending [dataset-components] [-x tlv-list]
এই পরামিতি এবং আর্গুমেন্ট ম্যাপিংগুলি সম্পর্কে আরও জানতে, ওটি সিএলআই সহ ডেটাসেটগুলি প্রদর্শন এবং পরিচালনা করুন ।
উদাহরণ
dataset mgmtsetcommand pending activetimestamp 123 securitypolicy 1 onrcb
Doneসিএলআই এবং এপিআই রেফারেন্স
- otdatasetsendmgmtpendingset
- ডেটাসেট এমজিএমটিজেটকম্যান্ড সক্রিয়
- ডেটাসেট এমজিএমটিজেটকম্যান্ড মুলতুবি
- ডেটাসেট এমজিএমটিএসটিকম্যান্ড সক্রিয়
ডেটাসেট নেটওয়ার্ককি (পান, সেট)
OtoperationalDataset :: Mnetworkkey get বা সেট করে।
পরামিতি
dataset networkkey [key]
নেটওয়ার্ক কী সেট করতে al চ্ছিক key আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset networkkey
00112233445566778899aabbccddeeff
Donedataset networkkey 00112233445566778899aabbccddeeff
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট নেটওয়ার্ক নাম (পান, সেট)
OtoperationalDataset :: Mnetworkname পায় বা সেট করে।
পরামিতি
dataset networkname [name]
নেটওয়ার্কের নাম সেট করতে al চ্ছিক name আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset networkname
OpenThread
Donedataset networkname OpenThread
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট প্যানিড (পান, সেট)
OtoperationalDataset :: mpanid পান বা সেট করে।
পরামিতি
dataset panid [panid]
প্যান আইডি সেট করতে al চ্ছিক panid আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset panid
0x1234
Donedataset panid 0x1234
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট পেন্ডিংটাইমস্ট্যাম্প (পান, সেট করুন)
OtoperationalDataset :: mpendingtimestamp
পরামিতি
dataset pendingtimestamp [timestamp]
মুলতুবি টাইমস্ট্যাম্প সেকেন্ড সেট করতে al চ্ছিক timestamp আর্গুমেন্টটি ব্যবহার করুন।
উদাহরণ
dataset pendingtimestamp
123456789
Donedataset pendingtimestamp 123456789
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট পিএসকেসি (পান, সেট)
OtoperationalDataset :: এমপিএসকেসি পায় বা সেট করে।
পরামিতি
dataset pskc [-p passphrase] | [key]
শুধুমাত্র এফটিডি -র জন্য, passphrase আর্গুমেন্টের সাথে -p ব্যবহার করুন। -p নেটওয়ার্কের নাম এবং প্রসারিত প্যান আইডির সাথে একত্রে আপনি সরবরাহ করেন এমন ইউটিএফ -8 এনকোডেড passphrase থেকে একটি পিএসকেসি উত্পন্ন করে। যদি সেট করা হয়, -p ডেটাসেট বাফার ব্যবহার করে; অন্যথায়, এটি বর্তমান স্ট্যাক ব্যবহার করে। বিকল্পভাবে, আপনি পিএসকেসি key (হেক্স ফর্ম্যাট) হিসাবে সেট করতে পারেন।
উদাহরণ
dataset pskc
67c0c203aa0b042bfb5381c47aef4d9e
Donedataset pskc -p 123456
Donedataset pskc 67c0c203aa0b042bfb5381c47aef4d9e
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট সিকিউরিটিপলিসি (পান, সেট করুন)
ডেটাসেট সুরক্ষা নীতি পায় বা সেট করে।
পরামিতি
dataset securitypolicy [rotationtime [onrcCepR]]
- কয়েক ঘন্টা ইউনিটগুলিতে
thrKeyRotationজন্যrotationtimeব্যবহার করুন। - সুরক্ষা নীতি কমান্ডগুলি ওটসিকিউরিটিপলিসি সদস্যদের পেতে এবং সেট করতে
onrcCepRআর্গুমেন্ট ম্যাপিংগুলি ব্যবহার করে, উদাহরণস্বরূপoওটিসিকিউরিটিপলিসি :: মবটেননেট ওয়ার্ককেনযোগ্য উপস্থাপন করে। আরও তথ্যের জন্য, ওটি সিএলআই সহ ডেটাসেটগুলি প্রদর্শন এবং পরিচালনা করুন ।
উদাহরণ
dataset securitypolicy
672 onrc
Donedataset securitypolicy 672 onrc
Doneসিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
ডেটাসেট সেট (সক্রিয়, মুলতুবি)
সক্রিয় অপারেশনাল ডেটাসেট সেট করে।
যদি ডেটাসেটটিতে কোনও সক্রিয় টাইমস্ট্যাম্প অন্তর্ভুক্ত না হয় তবে ডেটাসেটটি কেবল আংশিকভাবে সম্পূর্ণ।
যদি আংশিকভাবে সম্পূর্ণ সক্রিয় ডেটাসেট রয়েছে এমন কোনও ডিভাইসে থ্রেড সক্ষম করা থাকে তবে ডিভাইসটি ডেটাসেটে বিদ্যমান কোনও তথ্য ব্যবহার করে একটি বিদ্যমান থ্রেড নেটওয়ার্কের সাথে সংযুক্ত করার চেষ্টা করবে। কোনও নেটওয়ার্কের সাথে সংযুক্ত করার জন্য কেবল থ্রেড নেটওয়ার্ক কী প্রয়োজন।
যদি চ্যানেলটি ডেটাসেটে অন্তর্ভুক্ত না করা হয় তবে ডিভাইসটি অন্যান্য চ্যানেলগুলিতে প্রতিবেশীদের সন্ধানের জন্য বিভিন্ন চ্যানেল জুড়ে এমএলই ঘোষণা করে বার্তা প্রেরণ করবে।
যদি ডিভাইসটি সফলভাবে কোনও থ্রেড নেটওয়ার্কের সাথে সংযুক্ত থাকে তবে ডিভাইসটি তার পিতামাতার কাছ থেকে সম্পূর্ণ সক্রিয় ডেটাসেটটি পুনরুদ্ধার করবে। নোট করুন যে একটি রাউটার-সক্ষম ডিভাইস রাউটার বা নেতার ভূমিকায় রূপান্তর করবে না যতক্ষণ না এটি সম্পূর্ণ সক্রিয় ডেটাসেট না থাকে।
এই ফাংশনটি ধারাবাহিকভাবে OT_ERROR_NONE ফিরে আসে এবং কার্যকরভাবে একটি void রিটার্ন টাইপ হিসাবে বিবেচিত হতে পারে। পূর্বে, অন্যান্য ত্রুটিগুলি (যেমন, OT_ERROR_NOT_IMPLEMENTED ) উত্তরাধিকারের কারণে অনুমোদিত ছিল। তবে, অ-উদ্বায়ী স্টোরেজ এখন থ্রেড অপারেশনের জন্য বাধ্যতামূলক, তাই ডেটাসেট সংরক্ষণে যে কোনও ব্যর্থতা একটি দাবীকে ট্রিগার করবে। otError রিটার্ন প্রকারটি পিছনের সামঞ্জস্যের জন্য ধরে রাখা হয়।
সিএলআই dataset set কমান্ড হেক্স-এনকোডেড টিএলভি ব্যবহার করে সক্রিয় অপারেশনাল ডেটাসেট সেট করে।
পরামিতি
dataset set {active|pending} tlvsউদাহরণ
dataset set active 0e08000000000001000000030000103506000...3023d82c841eff0e68db86f35740c030000ff
Donedataset set pending 0e08000000000001000000030000103506000...3023d82c841eff0e68db86f35740c030000ff
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট টিএলভিএস
একটি প্রদত্ত অপারেশনাল ডেটাসেটকে otOperationalDatasetTlvs রূপান্তর করে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dataset tlvs
0e080000000000010000000300001635060004001fffe0020...f7f8
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট আপডেটার বাতিল
একটি চলমান (যদি থাকে) অপারেশনাল ডেটাসেট আপডেটের অনুরোধ বাতিল করে।
যখন OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE সক্ষম করা হয় তখন উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
@dataset updater cancel
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট আপডেটার
চলমান অপারেশন ডেটাসেট আপডেটের অনুরোধ আছে কিনা তা নির্দেশ করে।
যখন OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE সক্ষম করা হয় তখন উপলব্ধ।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dataset updater
Enabled
Doneসিএলআই এবং এপিআই রেফারেন্স
ডেটাসেট আপডেটের শুরু
অপারেশনাল ডেটাসেটে একটি আপডেটের জন্য অনুরোধ করে।
যখন OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE সক্ষম করা হয় তখন উপলব্ধ।
aDataset আপডেট করার জন্য ক্ষেত্রগুলি এবং তাদের নতুন মান থাকতে হবে। এটিতে সক্রিয় বা মুলতুবি টাইমস্ট্যাম্প ক্ষেত্রগুলি থাকতে হবে না। বিলম্ব ক্ষেত্রটি al চ্ছিক, যদি কোনও ডিফল্ট মান (1000 এমএস) সরবরাহ না করা হয় তবে ব্যবহার করা হবে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
channel
19
Done
dataset clear
Done
dataset channel 15
Done
dataset
Channel: 15
Done
dataset updater start
Done
dataset updater
Enabled
Done
Dataset update complete: OK
channel
15
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিবাগ
ডিভাইস এবং থ্রেড নেটওয়ার্ক সম্পর্কে তথ্য সংগ্রহ করতে সিএলআই কমান্ডের একটি সিরিজ কার্যকর করে। এটি ডিবাগিংয়ের উদ্দেশ্যে। আউটপুটটি প্রতিটি সম্পাদিত সিএলআই কমান্ডের পূর্বে প্রদর্শিত হবে $ তারপরে সংশ্লিষ্ট কমান্ডের উত্পন্ন আউটপুট অনুসরণ করবে। উত্পন্ন আউটপুট নিম্নলিখিত তথ্যগুলি অন্তর্ভুক্ত করে:
- সংস্করণ
- বর্তমান অবস্থা
- আরএলওসি 16, প্রসারিত ম্যাক ঠিকানা
- ইউনিকাস্ট এবং মাল্টিকাস্ট আইপিভি 6 ঠিকানা তালিকা
- চ্যানেল
- প্যান আইডি এবং প্রসারিত প্যান আইডি
- নেটওয়ার্ক ডেটা
- পার্টিশন আইডি
- লিডার ডেটা
যদি ডিভাইসটি এফটিডি হিসাবে পরিচালিত হয়:
- শিশু এবং প্রতিবেশী টেবিল
- রাউটার টেবিল এবং পরবর্তী হপ তথ্য
- ক্যাশে টেবিল ঠিকানা
- নিবন্ধিত এমটিডি চাইল্ড আইপিভি 6 ঠিকানা
- ডিভাইসের বৈশিষ্ট্য
যদি ডিভাইসটি এসআরপি ক্লায়েন্ট হিসাবে সমর্থন করে এবং কাজ করে:
- এসআরপি ক্লায়েন্ট রাজ্য
- এসআরপি ক্লায়েন্ট পরিষেবা এবং হোস্ট তথ্য
যদি ডিভাইসটি এসআরপি সেভ হিসাবে সমর্থন করে এবং কাজ করে:
- এসআরপি সার্ভার রাজ্য এবং ঠিকানা মোড
- এসআরপি সার্ভার নিবন্ধিত হোস্ট এবং পরিষেবাদি
যদি ডিভাইসটি ট্রেল সমর্থন করে:
- ট্রেল স্থিতি এবং পিয়ার টেবিল
যদি ডিভাইসটি সীমানা রাউটার হিসাবে সমর্থন করে এবং কাজ করে:
- বিআর রাজ্য
- বিআর উপসর্গ (ওএমআর, অন-লিংক, নাট 64)
- উপসর্গ টেবিল আবিষ্কার
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
সিএলআই এবং এপিআই রেফারেন্স
- কোনও সম্পর্কিত এপিআই নেই
বিলম্বেরমিন (সেট)
ন্যূনতম বিলম্ব টাইমার সেট করে (সেকেন্ডে)।
পরামিতি
delaytimermin delaytimermin
উদাহরণ
delaytimermin 60
Doneসিএলআই এবং এপিআই রেফারেন্স
বিলম্বিত
ন্যূনতম বিলম্বের টাইমার পান (সেকেন্ডে)।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
delaytimermin
30
Doneসিএলআই এবং এপিআই রেফারেন্স
বিচ্ছিন্ন async
detach কমান্ডের অনুরূপ কর্কশ বিচ্ছিন্ন প্রক্রিয়াটি শুরু করুন এবং কলব্যাকের জন্য অপেক্ষা না করে অপেক্ষা করে যে বিচ্ছিন্নতা শেষ হয়েছে।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
detach async
Doneসিএলআই এবং এপিআই রেফারেন্স
বিচ্ছিন্ন করা
প্রথমে অন্যান্য নোডগুলি অবহিত করে (রাউটার হিসাবে কাজ করা হলে ঠিকানা রিলিজ প্রেরণ করা, বা সন্তানের সময়সীমা প্রেরণ করা যদি শিশু হিসাবে অভিনয় করা হয় তবে পিতামাতার উপর শূন্যে শিশু সময়সীমা নির্ধারণ) শুরু করুন এবং তারপরে থ্রেড প্রোটোকল অপারেশন বন্ধ করুন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
detach
Finished detaching
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিভাইসপ্রপস (সেট)
ডিভাইসের বৈশিষ্ট্য সেট করে।
পরামিতি
deviceprops powerSupply isBr supportsCcm isUnstable weightAdjustment
powerSupply : 'ব্যাটারি', 'বাহ্যিক', 'বাহ্যিক-স্থিতিশীল', 'বাহ্যিক-অনর্থক' হওয়া উচিত।
উদাহরণ
deviceprops battery 0 0 0 -5
Donedeviceprops
PowerSupply : battery
IsBorderRouter : no
SupportsCcm : no
IsUnstable : no
WeightAdjustment : -5
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিভাইসপ্রপস
বর্তমান ডিভাইস বৈশিষ্ট্যগুলি পান।
OPENTHREAD_CONFIG_MLE_DEVICE_PROPERTY_LEADER_WEIGHT_ENABLE প্রয়োজন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
deviceprops
PowerSupply : external
IsBorderRouter : yes
SupportsCcm : no
IsUnstable : no
WeightAdjustment : 0
Doneসিএলআই এবং এপিআই রেফারেন্স
আবিষ্কার
একটি এমএলই আবিষ্কার অপারেশন সম্পাদন করুন।
পরামিতি
discover [channel]
channel : চ্যানেলটি আবিষ্কার করতে হবে। যদি কোনও চ্যানেল সরবরাহ না করা হয় তবে আবিষ্কারটি সমস্ত বৈধ চ্যানেলগুলি কভার করবে।
উদাহরণ
discover
| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThread | dead00beef00cafe | ffff | f1d92a82c8d8fe43 | 11 | -20 | 0 |
Doneসিএলআই এবং এপিআই রেফারেন্স
ReqCallback আবিষ্কার করুন (সক্ষম করুন, অক্ষম করুন)
এমএলই আবিষ্কারের অনুরোধের ডেটা পেতে একটি কলব্যাক সেট করে।
পরামিতি
discover reqcallback enable|disable
উদাহরণ
discover reqcallback enable
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস ব্রাউজ করুন
প্রদত্ত পরিষেবা-নামের জন্য পরিষেবার তালিকা পেতে একটি ব্রাউজ (পরিষেবা উদাহরণ গণনা) ডিএনএস ক্যোয়ারী প্রেরণ করুন
service-name পরে প্যারামিটারগুলি al চ্ছিক। এই al চ্ছিক পরামিতিগুলির জন্য যে কোনও অনির্দিষ্ট (বা শূন্য) মানটি বর্তমান ডিফল্ট কনফিগারেশন ( dns config ) থেকে মান দ্বারা প্রতিস্থাপন করা হয়।
পরামিতি
dns browse service-name [dns-server-IP] [dns-server-port] [response-timeout-ms] [max-tx-attempts] [recursion-desired-boolean]
উদাহরণ
dns browse _service._udp.example.com
DNS browse response for _service._udp.example.com.
inst1
Port:1234, Priority:1, Weight:2, TTL:7200
Host:host.example.com.
HostAddress:fd00:0:0:0:0:0:0:abcd TTL:7200
TXT:[a=6531, b=6c12] TTL:7300
instance2
Port:1234, Priority:1, Weight:2, TTL:7200
Host:host.example.com.
HostAddress:fd00:0:0:0:0:0:0:abcd TTL:7200
TXT:[a=1234] TTL:7300
Donedns browse _airplay._tcp.default.service.arpa
DNS browse response for _airplay._tcp.default.service.arpa.
Mac mini
Port:7000, Priority:0, Weight:0, TTL:10
Host:Mac-mini.default.service.arpa.
HostAddress:fd97:739d:386a:1:1c2e:d83c:fcbe:9cf4 TTL:10
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস সংক্ষেপণ (সক্ষম করুন, অক্ষম করুন)
"ডিএনএস নাম সংক্ষেপণ" মোড সেট করুন।
ডিফল্টরূপে ডিএনএস নাম সংক্ষেপণ সক্ষম করা হয়েছে। যখন অক্ষম করা হয়, ডিএনএসের নামগুলি পূর্ণ হিসাবে সংযুক্ত করা হয় এবং কখনও সংকুচিত হয় না। এটি ওপেনথ্রেডের ডিএনএস এবং এসআরপি ক্লায়েন্ট/সার্ভার OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE জন্য প্রযোজ্য "
পরামিতি
dns compression [enable|disable]
উদাহরণ
dns compression enable
Enableddns compression disable
Done
dns compression
Disabled
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস সংক্ষেপণ
"ডিএনএস নাম সংক্ষেপণ" মোড সক্ষম কিনা তা নির্দেশ করে।
এটি কেবলমাত্র পরীক্ষার জন্য এবং যখন OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE কনফিগারেশন সক্ষম করা হয় তখন এটি উপলব্ধ।
ডিফল্টরূপে ডিএনএস নাম সংক্ষেপণ সক্ষম করা হয়েছে। যখন অক্ষম করা হয়, ডিএনএসের নামগুলি পূর্ণ হিসাবে সংযুক্ত করা হয় এবং কখনও সংকুচিত হয় না। এটি ওপেনথ্রেডের ডিএনএস এবং এসআরপি ক্লায়েন্ট/সার্ভার OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE জন্য প্রযোজ্য "
পরামিতি
dns compression [enable|disable]
উদাহরণ
dns compression
Enabledসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস কনফিগারেশন (সেট)
ডিএনএস ক্লায়েন্টে ডিফল্ট ক্যোয়ারী কনফিগারেশন সেট করে।
একটি নন-নাল aConfig , কলার otDnsQueryConfig ইনস্ট্যান্স অনির্ধারিত (মান শূন্য) এ কয়েকটি ক্ষেত্র ছেড়ে যেতে বেছে নিতে পারে। অনির্ধারিত ক্ষেত্রগুলি ডিফল্ট ক্যোয়ারী কনফিগারেশন গঠনের জন্য সংশ্লিষ্ট ওটি কনফিগারেশন বিকল্প সংজ্ঞা OPENTHREAD_CONFIG_DNS_CLIENT DEFAULT {} by দ্বারা প্রতিস্থাপন করা হয়।
যখন OPENTHREAD_CONFIG_DNS_CLIENT_DEFAULT_SERVER_ADDRESS_AUTO_SET_ENABLE সক্ষম করা হয়, ডিফল্ট কনফিগারেশনে সার্ভারের আইপিভি 6 ঠিকানাটি স্বয়ংক্রিয়ভাবে ডিএনএস ক্লায়েন্ট দ্বারা সেট করা এবং আপডেট করা হয়। এটি কেবল তখনই করা হয় যখন ব্যবহারকারী স্পষ্টভাবে সেট বা নির্দিষ্ট করে না। এই আচরণের জন্য এসআরপি ক্লায়েন্ট এবং এর অটো-স্টার্ট বৈশিষ্ট্যটি সক্ষম করার জন্য প্রয়োজন। এসআরপি ক্লায়েন্ট তারপরে একটি এসআরপি সার্ভার নির্বাচন করতে ডিএনএস/এসআরপি পরিষেবা এন্ট্রিগুলির জন্য থ্রেড নেটওয়ার্ক ডেটা পর্যবেক্ষণ করবে। নির্বাচিত এসআরপি সার্ভার ঠিকানাটি ডিফল্ট কনফিগারেশনে ডিএনএস সার্ভার ঠিকানা হিসাবেও সেট করা আছে।
আমরা কিছু ক্ষেত্রকে অনির্ধারিত হিসাবে ছেড়ে দিতে পারি (বা মান শূন্য ব্যবহার)। অনির্ধারিত ক্ষেত্রগুলি ডিফল্ট ক্যোয়ারী কনফিগারেশন গঠনের জন্য সংশ্লিষ্ট ওটি কনফিগারেশন বিকল্প সংজ্ঞা OPENTHREAD_CONFIG_DNS_CLIENT_DEFAULT দ্বারা প্রতিস্থাপন করা হয়। OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE প্রয়োজন।
পরামিতি
dns config [dns-server-IP] [dns-server-port] [response-timeout-ms] [max-tx-attempts] [recursion-desired-boolean] [service-mode] [protocol]
উদাহরণ
dns config fd00::1 1234 5000 2 0
Donedns config
Server: [fd00:0:0:0:0:0:0:1]:1234
ResponseTimeout: 5000 ms
MaxTxAttempts: 2
RecursionDesired: no
ServiceMode: srv_txt_opt
Nat64Mode: allow
TransportProtocol: udp
Donedns config fd00::2
Donedns config
Server: [fd00:0:0:0:0:0:0:2]:53
ResponseTimeout: 6000 ms
MaxTxAttempts: 3
RecursionDesired: yes
ServiceMode: srv_txt_opt
Nat64Mode: allow
TransportProtocol: udp
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস কনফিগারেশন
ডিএনএস ক্লায়েন্ট দ্বারা ব্যবহৃত বর্তমান ডিফল্ট ক্যোয়ারী কনফিগারেশন পান।
যখন openthread স্ট্যাক শুরু হয়, ডিফল্ট ডিএনএস ক্যোয়ারী কনফিগারেশনটি ওটি কনফিগারেশন বিকল্পগুলির একটি সেট থেকে নির্ধারিত হয় যেমন OPENTHREAD_CONFIG_DNS_CLIENT_DEFAULT_SERVER_IP6_ADDRESS , _DEFAULT_SERVER_PORT , _DEFAULT_RESPONSE_TIMEOUT , config/dns_client.h ।
কনফিগারেশনে সার্ভার আইপিভি 6 ঠিকানা এবং পোর্ট, এমসিসি -তে প্রতিক্রিয়া সময়সীমা (আরএক্স প্রতিক্রিয়ার জন্য অপেক্ষা করুন), ব্যর্থতার প্রতিবেদন করার আগে সর্বাধিক টিএক্স প্রচেষ্টা, সার্ভারটি পুনরাবৃত্তভাবে সমাধান করতে পারে কিনা তা নির্দেশ করতে বুলিয়ান পতাকা অন্তর্ভুক্ত রয়েছে। OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE প্রয়োজন।
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dns config
Server: [fd00:0:0:0:0:0:0:1]:1234
ResponseTimeout: 5000 ms
MaxTxAttempts: 2
RecursionDesired: no
ServiceMode: srv
Nat64Mode: allow
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস সমাধান
প্রদত্ত হোস্ট নামের জন্য এএএএ (আইপিভি 6) রেকর্ড (গুলি) এর জন্য একটি ঠিকানা রেজোলিউশন ডিএনএস ক্যোয়ারী প্রেরণ করে।
aConfig বাতিল হতে পারে। এক্ষেত্রে ডিফল্ট কনফিগারেশন ( otDnsClientGetDefaultConfig() থেকে) এই ক্যোয়ারির জন্য কনফিগার হিসাবে ব্যবহৃত হবে। একটি নন-নাল aConfig , কিছু ক্ষেত্রগুলি অনির্দিষ্ট (মান শূন্য) রেখে যেতে পারে। অনির্ধারিত ক্ষেত্রগুলি তখন ডিফল্ট কনফিগারেশনের মানগুলি দ্বারা প্রতিস্থাপন করা হয়।
প্রদত্ত হোস্টনেমের জন্য আইপিভি 6 ঠিকানা পেতে ডিএনএস ক্যোয়ারী প্রেরণ করুন।
হোস্টনামের পরে প্যারামিটারগুলি al চ্ছিক। এই al চ্ছিক পরামিতিগুলির জন্য যে কোনও অনির্দিষ্ট (বা শূন্য) মানটি বর্তমান ডিফল্ট কনফিগারেশন (ডিএনএস কনফিগার) থেকে মান দ্বারা প্রতিস্থাপন করা হয়।
ডিএনএস সার্ভার আইপি একটি আইপিভি 4 ঠিকানা হতে পারে, যা নেটওয়ার্ক ডেটা থেকে পছন্দসই NAT64 উপসর্গ ব্যবহার করে একটি আইপিভি 6 ঠিকানায় সংশ্লেষিত হবে।
পরামিতি
dns resolve hostname [dns-server-IP] [dns-server-port] [response-timeout-ms] [max-tx-attempts] [recursion-desired-boolean]
উদাহরণ
dns resolve ipv6.google.com
DNS response for ipv6.google.com - 2a00:1450:401b:801:0:0:0:200e TTL: 300dns resolve example.com 8.8.8.8
Synthesized IPv6 DNS server address: fdde:ad00:beef:2:0:0:808:808
DNS response for example.com. - fd4c:9574:3720:2:0:0:5db8:d822 TTL:20456
Doneসিএলআই এবং এপিআই রেফারেন্স
ডিএনএস পরিষেবা
প্রদত্ত পরিষেবা উদাহরণের জন্য একটি ডিএনএস পরিষেবা উদাহরণ রেজোলিউশন শুরু করে।
যখন OPENTHREAD_CONFIG_DNS_CLIENT_SERVICE_DISCOVERY_ENABLE সক্ষম করা হয় তখন উপলব্ধ।
aConfig বাতিল হতে পারে। এক্ষেত্রে ডিফল্ট কনফিগারেশন ( otDnsClientGetDefaultConfig() থেকে) এই ক্যোয়ারির জন্য কনফিগার হিসাবে ব্যবহৃত হবে। একটি নন-নাল aConfig , কিছু ক্ষেত্রগুলি অনির্দিষ্ট (মান শূন্য) রেখে যেতে পারে। অনির্ধারিত ক্ষেত্রগুলি তখন ডিফল্ট কনফিগারেশনের মানগুলি দ্বারা প্রতিস্থাপন করা হয়।
ফাংশনটি প্রদত্ত পরিষেবা উদাহরণের জন্য এসআরভি এবং/অথবা টেক্সট রেকর্ডের জন্য প্রশ্নগুলি প্রেরণ করে। otDnsQueryConfig mServiceMode ক্ষেত্রটি নির্ধারণ করে যে কোন রেকর্ডগুলি কোয়েরি করা উচিত (কেবলমাত্র এসআরভি, কেবলমাত্র টিএক্সটি, বা উভয় এসআরভি এবং টিএক্সটি উভয়) এবং কীভাবে ক্যোয়ারীটি সম্পাদন করতে হয় (একই বার্তায় একসাথে পৃথকভাবে সমান্তরালভাবে বা অপ্টিমাইজড মোডে যেখানে ক্লায়েন্ট চেষ্টা করবেন প্রথমে একই বার্তা এবং তারপরে পৃথকভাবে যদি এটি কোনও প্রতিক্রিয়া পেতে ব্যর্থ হয়)।
এসআরভি রেকর্ডটি পরিষেবা পোর্ট, অগ্রাধিকার এবং ওজন সম্পর্কে তথ্য সরবরাহ করে পরিষেবা উদাহরণের সাথে সম্পর্কিত হোস্ট নামের সাথে। এই ফাংশনটি এসআরভি রেকর্ড থেকে আবিষ্কার করা হোস্ট নামের জন্য ঠিকানা রেজোলিউশন সম্পাদন করে না। সার্ভার/রেজোলভার এসআরভি/টিএক্সটি ক্যোয়ারির প্রতিক্রিয়ার অতিরিক্ত ডেটা বিভাগে হোস্ট নামের জন্য এএএএ/এ রেকর্ড (গুলি) সরবরাহ করতে পারে এবং otDnsServiceCallback otDnsServiceResponseGetServiceInfo() ব্যবহার করে এই তথ্যটি পুনরুদ্ধার করা যেতে পারে। এই এপিআইয়ের ব্যবহারকারীরা অবশ্যই ধরে নিতে পারবেন না যে হোস্ট ঠিকানাটি সর্বদা otDnsServiceResponseGetServiceInfo() থেকে পাওয়া যাবে।
প্রদত্ত পরিষেবা উদাহরণের জন্য একটি পরিষেবা উদাহরণ রেজোলিউশন ডিএনএস ক্যোয়ারী প্রেরণ করুন। পরিষেবা উদাহরণ লেবেল প্রথমে সরবরাহ করা হয়, তারপরে পরিষেবার নাম (দ্রষ্টব্য যে পরিষেবা উদাহরণ লেবেলে বিন্দু 'থাকতে পারে' '' চরিত্র)।
service-name পরে প্যারামিটারগুলি al চ্ছিক। এই al চ্ছিক পরামিতিগুলির জন্য যে কোনও অনির্দিষ্ট (বা শূন্য) মানটি বর্তমান ডিফল্ট কনফিগারেশন ( dns config ) থেকে মান দ্বারা প্রতিস্থাপন করা হয়।
পরামিতি
dns service service-instance-label service-name [DNS-server-IP] [DNS-server-port] [response-timeout-ms] [max-tx-attempts] [recursion-desired-boolean]
উদাহরণ
সিএলআই এবং এপিআই রেফারেন্স
ডিএনএস সার্ভিসহোস্ট
প্রদত্ত পরিষেবা উদাহরণের জন্য একটি ডিএনএস পরিষেবা উদাহরণ রেজোলিউশন শুরু করে, পরিষেবা উদাহরণের জন্য আবিষ্কার করা হোস্ট নামের জন্য একটি সম্ভাব্য ফলো-আপ ঠিকানা রেজোলিউশন সহ।
যখন OPENTHREAD_CONFIG_DNS_CLIENT_SERVICE_DISCOVERY_ENABLE সক্ষম করা হয় তখন উপলব্ধ।
aConfig বাতিল হতে পারে। এক্ষেত্রে ডিফল্ট কনফিগারেশন ( otDnsClientGetDefaultConfig() থেকে) এই ক্যোয়ারির জন্য কনফিগার হিসাবে ব্যবহৃত হবে। একটি নন-নাল aConfig , কিছু ক্ষেত্রগুলি অনির্দিষ্ট (মান শূন্য) রেখে যেতে পারে। অনির্ধারিত ক্ষেত্রগুলি তখন ডিফল্ট কনফিগারেশনের মানগুলি দ্বারা প্রতিস্থাপন করা হয়। This function cannot be used with mServiceMode in DNS config set to OT_DNS_SERVICE_MODE_TXT (ie, querying for TXT record only) and will return OT_ERROR_INVALID_ARGS .
Behaves similarly to otDnsClientResolveService() sending queries for SRV and TXT records. However, if the server/resolver does not provide AAAA/A records for the host name in the response to SRV query (in the Additional Data section), it will perform host name resolution (sending an AAAA query) for the discovered host name from the SRV record. The callback aCallback is invoked when responses for all queries are received (ie, both service and host address resolutions are finished).
Send a service instance resolution DNS query for a given service instance with potential follow-up host name resolution. Service instance label is provided first, followed by the service name (note that service instance label can contain dot '.' character).
The parameters after service-name are optional. Any unspecified (or zero) value for these optional parameters is replaced by the value from the current default config ( dns config ).
পরামিতি
dns servicehost service-instance-label service-name [DNS-server-IP] [DNS-server-port] [response-timeout-ms] [max-tx-attempts] [recursion-desired-boolean]
উদাহরণ
CLI and API References
domainname (set)
Sets the Thread Domain Name.
Only succeeds when Thread protocols are disabled.
পরামিতি
domainname name
Use a backslash to escape spaces.
উদাহরণ
domainname Test\ Thread
DoneCLI and API References
ডোমেইন নাম
Gets the Thread Domain Name.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
domainname
Thread
DoneCLI and API References
dua iid (set,clear)
Sets or clears the Interface Identifier manually specified for the Thread Domain Unicast Address.
Available when OPENTHREAD_CONFIG_DUA_ENABLE is enabled.
পরামিতি
dua iid iid|clear
dua iid clear passes a nullptr to otThreadSetFixedDuaInterfaceIdentifier . Otherwise, you can pass the iid .
উদাহরণ
dua iid 0004000300020001
Donedua iid clear
DoneCLI and API References
dua iid
Gets the Interface Identifier manually specified for the Thread Domain Unicast Address.
Available when OPENTHREAD_CONFIG_DUA_ENABLE is enabled.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
dua iid
0004000300020001
DoneCLI and API References
eidcache
Returns the EID-to-RLOC cache entries.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
eidcache
fd49:caf4:a29f:dc0e:97fc:69dd:3c16:df7d 2000 cache canEvict=1 transTime=0 eid=fd49:caf4:a29f:dc0e:97fc:69dd:3c16:df7d
fd49:caf4:a29f:dc0e:97fc:69dd:3c16:df7f fffe retry canEvict=1 timeout=10 retryDelay=30
DoneCLI and API References
eui64
Gets the factory-assigned IEEE EUI-64 for this interface.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
eui64
0615aae900124b00
DoneCLI and API References
extaddr (set)
Sets the IEEE 802.15.4 Extended Address.
পরামিতি
extaddr extaddr
উদাহরণ
extaddr dead00beef00cafe
dead00beef00cafe
DoneCLI and API References
extaddr
Gets the IEEE 802.15.4 Extended Address.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
extaddr
dead00beef00cafe
DoneCLI and API References
extpanid (set)
Sets the IEEE 802.15.4 Extended PAN ID.
পরামিতি
extpanid extpanid
উদাহরণ
extpanid dead00beef00cafe
DoneCLI and API References
extpanid
Gets the IEEE 802.15.4 Extended PAN ID.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
extpanid
dead00beef00cafe
DoneCLI and API References
factoryreset
Deletes all the settings stored on non-volatile memory, and then triggers a platform reset.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
factoryreset
CLI and API References
fake (a,an)
Sends fake Thread messages.
Available when OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE is enabled.
পরামিতি
fake /a/an dst-ipaddr target meshLocalIid
উদাহরণ
fake /a/an fdde:ad00:beef:0:0:ff:fe00:a800 fd00:7d03:7d03:7d03:55f2:bb6a:7a43:a03b 1111222233334444
DoneCLI and API References
fem
Gets external FEM parameters.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
fem
LNA gain 11 dBm
DoneCLI and API References
fem lnagain (get)
Gets the external FEM's Rx LNA gain in dBm.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
fem lnagain
11
DoneCLI and API References
fem lnagain (set)
Sets the external FEM's Rx LNA gain in dBm.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
fem lnagain 8
DoneCLI and API References
history ipaddr
Displays the unicast IPv6 address history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Event: Possible values are
AddedorRemoved. - Address/Prefix Length: Unicast address with its prefix length (in bits).
- Origin: Possible value are
thread,slaac,dhcp6, ormanual. - Scope: IPv6 address scope.
- P: Preferred flag.
- V: Valid flag.
- RLOC (R): This flag indicates if the IPv6 address is a routing locator.
পরামিতি
history ipaddr [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history ipaddr
| Age | Event | Address / Prefix Length | Origin |Scope| P | V | R |
+----------------------+---------+---------------------------------------------+--------+-----+---+---+---+
| 00:00:04.991 | Removed | 2001:dead:beef:cafe:c4cb:caba:8d55:e30b/64 | slaac | 14 | Y | Y | N |
| 00:00:44.647 | Added | 2001:dead:beef:cafe:c4cb:caba:8d55:e30b/64 | slaac | 14 | Y | Y | N |
| 00:01:07.199 | Added | fd00:0:0:0:0:0:0:1/64 | manual | 14 | Y | Y | N |
| 00:02:17.885 | Added | fdde:ad00:beef:0:0:ff:fe00:fc00/64 | thread | 3 | N | Y | N |
| 00:02:17.885 | Added | fdde:ad00:beef:0:0:ff:fe00:5400/64 | thread | 3 | N | Y | Y |
| 00:02:20.107 | Removed | fdde:ad00:beef:0:0:ff:fe00:5400/64 | thread | 3 | N | Y | Y |
| 00:02:21.575 | Added | fdde:ad00:beef:0:0:ff:fe00:5400/64 | thread | 3 | N | Y | Y |
| 00:02:21.575 | Added | fdde:ad00:beef:0:ecea:c4fc:ad96:4655/64 | thread | 3 | N | Y | N |
| 00:02:23.904 | Added | fe80:0:0:0:3c12:a4d2:fbe0:31ad/64 | thread | 2 | Y | Y | N |
Donehistory ipaddr list 5
00:00:20.327 -> event:Removed address:2001:dead:beef:cafe:c4cb:caba:8d55:e30b prefixlen:64 origin:slaac scope:14 preferred:yes valid:yes rloc:no
00:00:59.983 -> event:Added address:2001:dead:beef:cafe:c4cb:caba:8d55:e30b prefixlen:64 origin:slaac scope:14 preferred:yes valid:yes rloc:no
00:01:22.535 -> event:Added address:fd00:0:0:0:0:0:0:1 prefixlen:64 origin:manual scope:14 preferred:yes valid:yes rloc:no
00:02:33.221 -> event:Added address:fdde:ad00:beef:0:0:ff:fe00:fc00 prefixlen:64 origin:thread scope:3 preferred:no valid:yes rloc:no
00:02:33.221 -> event:Added address:fdde:ad00:beef:0:0:ff:fe00:5400 prefixlen:64 origin:thread scope:3 preferred:no valid:yes rloc:yes
DoneCLI and API References
history ipmaddr
Displays the multicast IPv6 address history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Event: Possible values are
SubscribedorUnsubscribed. - মাল্টিকাস্ট ঠিকানা
- Origin: Possible values are
ThreadorManual.
পরামিতি
history ipmaddr [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history ipmaddr
| Age | Event | Multicast Address | Origin |
+----------------------+--------------+-----------------------------------------+--------+
| 00:00:08.592 | Unsubscribed | ff05:0:0:0:0:0:0:1 | Manual |
| 00:01:25.353 | Subscribed | ff05:0:0:0:0:0:0:1 | Manual |
| 00:01:54.953 | Subscribed | ff03:0:0:0:0:0:0:2 | Thread |
| 00:01:54.953 | Subscribed | ff02:0:0:0:0:0:0:2 | Thread |
| 00:01:59.329 | Subscribed | ff33:40:fdde:ad00:beef:0:0:1 | Thread |
| 00:01:59.329 | Subscribed | ff32:40:fdde:ad00:beef:0:0:1 | Thread |
| 00:02:01.129 | Subscribed | ff03:0:0:0:0:0:0:fc | Thread |
| 00:02:01.129 | Subscribed | ff03:0:0:0:0:0:0:1 | Thread |
| 00:02:01.129 | Subscribed | ff02:0:0:0:0:0:0:1 | Thread |
Donehistory ipmaddr list
00:00:25.447 -> event:Unsubscribed address:ff05:0:0:0:0:0:0:1 origin:Manual
00:01:42.208 -> event:Subscribed address:ff05:0:0:0:0:0:0:1 origin:Manual
00:02:11.808 -> event:Subscribed address:ff03:0:0:0:0:0:0:2 origin:Thread
00:02:11.808 -> event:Subscribed address:ff02:0:0:0:0:0:0:2 origin:Thread
00:02:16.184 -> event:Subscribed address:ff33:40:fdde:ad00:beef:0:0:1 origin:Thread
00:02:16.184 -> event:Subscribed address:ff32:40:fdde:ad00:beef:0:0:1 origin:Thread
00:02:17.984 -> event:Subscribed address:ff03:0:0:0:0:0:0:fc origin:Thread
00:02:17.984 -> event:Subscribed address:ff03:0:0:0:0:0:0:1 origin:Thread
00:02:17.984 -> event:Subscribed address:ff02:0:0:0:0:0:0:1 origin:Thread
DoneCLI and API References
history neighbor
Displays the neighbor history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Type:
ChildorRouter. - Event: Possible values are
Added,Removed, orChanged. - Extended Address
- RLOC16
- Mode: MLE link mode. সম্ভাব্য মান:
-
-: no flags set (rx-off-when-idle, minimal Thread device, stable network data). -
r: rx-on-when-idle -
d: Full Thread Device. -
n: Full Network Data
-
- Ave RSS: Average number of frames (in dBm) received from the neighbor at the time the entry was recorded.
পরামিতি
history neighbor [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history neighbor
| Age | Type | Event | Extended Address | RLOC16 | Mode | Ave RSS |
+----------------------+--------+-----------+------------------+--------+------+---------+
| 00:00:29.233 | Child | Added | ae5105292f0b9169 | 0x8404 | - | -20 |
| 00:01:38.368 | Child | Removed | ae5105292f0b9169 | 0x8401 | - | -20 |
| 00:04:27.181 | Child | Changed | ae5105292f0b9169 | 0x8401 | - | -20 |
| 00:04:51.236 | Router | Added | 865c7ca38a5fa960 | 0x9400 | rdn | -20 |
| 00:04:51.587 | Child | Removed | 865c7ca38a5fa960 | 0x8402 | rdn | -20 |
| 00:05:22.764 | Child | Changed | ae5105292f0b9169 | 0x8401 | rn | -20 |
| 00:06:40.764 | Child | Added | 4ec99efc874a1841 | 0x8403 | r | -20 |
| 00:06:44.060 | Child | Added | 865c7ca38a5fa960 | 0x8402 | rdn | -20 |
| 00:06:49.515 | Child | Added | ae5105292f0b9169 | 0x8401 | - | -20 |
Donehistory neighbor list
00:00:34.753 -> type:Child event:Added extaddr:ae5105292f0b9169 rloc16:0x8404 mode:- rss:-20
00:01:43.888 -> type:Child event:Removed extaddr:ae5105292f0b9169 rloc16:0x8401 mode:- rss:-20
00:04:32.701 -> type:Child event:Changed extaddr:ae5105292f0b9169 rloc16:0x8401 mode:- rss:-20
00:04:56.756 -> type:Router event:Added extaddr:865c7ca38a5fa960 rloc16:0x9400 mode:rdn rss:-20
00:04:57.107 -> type:Child event:Removed extaddr:865c7ca38a5fa960 rloc16:0x8402 mode:rdn rss:-20
00:05:28.284 -> type:Child event:Changed extaddr:ae5105292f0b9169 rloc16:0x8401 mode:rn rss:-20
00:06:46.284 -> type:Child event:Added extaddr:4ec99efc874a1841 rloc16:0x8403 mode:r rss:-20
00:06:49.580 -> type:Child event:Added extaddr:865c7ca38a5fa960 rloc16:0x8402 mode:rdn rss:-20
00:06:55.035 -> type:Child event:Added extaddr:ae5105292f0b9169 rloc16:0x8401 mode:- rss:-20
DoneCLI and API References
history netinfo
Displays the network info history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Role: Device role. Possible values are
router,child,detached, ordisabled. - Mode: MLE link mode. সম্ভাব্য মান:
-
-: no flags set (rx-off-when-idle, minimal Thread device, stable network data). -
r: rx-on-when-idle -
d: Full Thread Device. -
n: Full Network Data
-
- RLOC16
- Partition ID.
পরামিতি
history netinfo [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history netinfo
| Age | Role | Mode | RLOC16 | Partition ID |
+----------------------+----------+------+--------+--------------+
| 00:00:10.069 | router | rdn | 0x6000 | 151029327 |
| 00:02:09.337 | child | rdn | 0x2001 | 151029327 |
| 00:02:09.338 | child | rdn | 0x2001 | 151029327 |
| 00:07:40.806 | child | - | 0x2001 | 151029327 |
| 00:07:42.297 | detached | - | 0x6000 | 0 |
| 00:07:42.968 | disabled | - | 0x6000 | 0 |
Donehistory netinfo list
00:00:59.467 -> role:router mode:rdn rloc16:0x6000 partition-id:151029327
00:02:58.735 -> role:child mode:rdn rloc16:0x2001 partition-id:151029327
00:02:58.736 -> role:child mode:rdn rloc16:0x2001 partition-id:151029327
00:08:30.204 -> role:child mode:- rloc16:0x2001 partition-id:151029327
00:08:31.695 -> role:detached mode:- rloc16:0x6000 partition-id:0
00:08:32.366 -> role:disabled mode:- rloc16:0x6000 partition-id:0
Donehistory netinfo 2
| Age | Role | Mode | RLOC16 | Partition ID |
+----------------------+----------+------+--------+--------------+
| 00:02:05.451 | router | rdn | 0x6000 | 151029327 |
| 00:04:04.719 | child | rdn | 0x2001 | 151029327 |
DoneCLI and API References
history prefix
Displays the network data for the mesh prefix history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Event: Possible values are
AddedorRemoved. - উপসর্গ
- Flags/meaning:
-
p: Preferred flag -
a: Stateless IPv6 address auto-configuration flag. -
d: DHCPv6 IPv6 address configuration flag. -
c: DHCPv6 other-configuration flag. -
r: Default route flag. -
o: On mesh flag. -
s: Stable flag. -
n: Nd Dns flag. -
D: Domain prefix flag.
-
- Pref: Preference. Values can be either
high,med, orlow. - RLOC16
পরামিতি
history prefix [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history prefix
| Age | Event | Prefix | Flags | Pref | RLOC16 |
+----------------------+---------+---------------------------------------------+-----------+------+--------+
| 00:00:10.663 | Added | fd00:1111:2222:3333::/64 | paro | med | 0x5400 |
| 00:01:02.054 | Removed | fd00:dead:beef:1::/64 | paros | high | 0x5400 |
| 00:01:21.136 | Added | fd00:abba:cddd:0::/64 | paos | med | 0x5400 |
| 00:01:45.144 | Added | fd00:dead:beef:1::/64 | paros | high | 0x3c00 |
| 00:01:50.944 | Added | fd00:dead:beef:1::/64 | paros | high | 0x5400 |
| 00:01:59.887 | Added | fd00:dead:beef:1::/64 | paros | med | 0x8800 |
Donehistory prefix list
00:04:12.487 -> event:Added prefix:fd00:1111:2222:3333::/64 flags:paro pref:med rloc16:0x5400
00:05:03.878 -> event:Removed prefix:fd00:dead:beef:1::/64 flags:paros pref:high rloc16:0x5400
00:05:22.960 -> event:Added prefix:fd00:abba:cddd:0::/64 flags:paos pref:med rloc16:0x5400
00:05:46.968 -> event:Added prefix:fd00:dead:beef:1::/64 flags:paros pref:high rloc16:0x3c00
00:05:52.768 -> event:Added prefix:fd00:dead:beef:1::/64 flags:paros pref:high rloc16:0x5400
00:06:01.711 -> event:Added prefix:fd00:dead:beef:1::/64 flags:paros pref:med rloc16:0x8800
DoneCLI and API References
history route
Displays the network data external-route history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Event: Possible values are
AddedorRemoved. - রুট
- Flags/meaning:
-
s: Stable flag. -
n: NAT64 flag.
-
- Pref: Preference. Values can be either
high,med, orlow. - RLOC16
পরামিতি
history route [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history route
| Age | Event | Route | Flags | Pref | RLOC16 |
+----------------------+---------+---------------------------------------------+-----------+------+--------+
| 00:00:05.456 | Removed | fd00:1111:0::/48 | s | med | 0x3c00 |
| 00:00:29.310 | Added | fd00:1111:0::/48 | s | med | 0x3c00 |
| 00:00:42.822 | Added | fd00:1111:0::/48 | s | med | 0x5400 |
| 00:01:27.688 | Added | fd00:aaaa:bbbb:cccc::/64 | s | med | 0x8800 |
Donehistory route list 2
00:00:48.704 -> event:Removed route:fd00:1111:0::/48 flags:s pref:med rloc16:0x3c00
00:01:12.558 -> event:Added route:fd00:1111:0::/48 flags:s pref:med rloc16:0x3c00
DoneCLI and API References
history router
Displays the route-table history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - Event: Possible values are
Added,Removed,NextHopChanged, orCostChanged. - ID (RLOC16): Router ID and RLOC16 of the router.
- Next Hop: Router ID and RLOC16 of the next hop. If there is no next hop,
noneis shown. - Path Cost: old cost
->new cost. A value ofinfindicates an infinite path cost.
পরামিতি
history router [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history router
| Age | Event | ID (RLOC16) | Next Hop | Path Cost |
+----------------------+----------------+-------------+-------------+------------+
| 00:00:05.258 | NextHopChanged | 7 (0x1c00) | 34 (0x8800) | inf -> 3 |
| 00:00:08.604 | NextHopChanged | 34 (0x8800) | 34 (0x8800) | inf -> 2 |
| 00:00:08.604 | Added | 7 (0x1c00) | none | inf -> inf |
| 00:00:11.931 | Added | 34 (0x8800) | none | inf -> inf |
| 00:00:14.948 | Removed | 59 (0xec00) | none | inf -> inf |
| 00:00:14.948 | Removed | 54 (0xd800) | none | inf -> inf |
| 00:00:14.948 | Removed | 34 (0x8800) | none | inf -> inf |
| 00:00:14.948 | Removed | 7 (0x1c00) | none | inf -> inf |
| 00:00:54.795 | NextHopChanged | 59 (0xec00) | 34 (0x8800) | 1 -> 5 |
| 00:02:33.735 | NextHopChanged | 54 (0xd800) | none | 15 -> inf |
| 00:03:10.915 | CostChanged | 54 (0xd800) | 34 (0x8800) | 13 -> 15 |
| 00:03:45.716 | NextHopChanged | 54 (0xd800) | 34 (0x8800) | 15 -> 13 |
| 00:03:46.188 | CostChanged | 54 (0xd800) | 59 (0xec00) | 13 -> 15 |
| 00:04:19.124 | CostChanged | 54 (0xd800) | 59 (0xec00) | 11 -> 13 |
| 00:04:52.008 | CostChanged | 54 (0xd800) | 59 (0xec00) | 9 -> 11 |
| 00:05:23.176 | CostChanged | 54 (0xd800) | 59 (0xec00) | 7 -> 9 |
| 00:05:51.081 | CostChanged | 54 (0xd800) | 59 (0xec00) | 5 -> 7 |
| 00:06:48.721 | CostChanged | 54 (0xd800) | 59 (0xec00) | 3 -> 5 |
| 00:07:13.792 | NextHopChanged | 54 (0xd800) | 59 (0xec00) | 1 -> 3 |
| 00:09:28.681 | NextHopChanged | 7 (0x1c00) | 34 (0x8800) | inf -> 3 |
| 00:09:31.882 | Added | 7 (0x1c00) | none | inf -> inf |
| 00:09:51.240 | NextHopChanged | 54 (0xd800) | 54 (0xd800) | inf -> 1 |
| 00:09:54.204 | Added | 54 (0xd800) | none | inf -> inf |
| 00:10:20.645 | NextHopChanged | 34 (0x8800) | 34 (0x8800) | inf -> 2 |
| 00:10:24.242 | NextHopChanged | 59 (0xec00) | 59 (0xec00) | inf -> 1 |
| 00:10:24.242 | Added | 34 (0x8800) | none | inf -> inf |
| 00:10:41.900 | NextHopChanged | 59 (0xec00) | none | 1 -> inf |
| 00:10:42.480 | Added | 3 (0x0c00) | 3 (0x0c00) | inf -> inf |
| 00:10:43.614 | Added | 59 (0xec00) | 59 (0xec00) | inf -> 1 |
Donehistory router list 20
00:00:06.959 -> event:NextHopChanged router:7(0x1c00) nexthop:34(0x8800) old-cost:inf new-cost:3
00:00:10.305 -> event:NextHopChanged router:34(0x8800) nexthop:34(0x8800) old-cost:inf new-cost:2
00:00:10.305 -> event:Added router:7(0x1c00) nexthop:none old-cost:inf new-cost:inf
00:00:13.632 -> event:Added router:34(0x8800) nexthop:none old-cost:inf new-cost:inf
00:00:16.649 -> event:Removed router:59(0xec00) nexthop:none old-cost:inf new-cost:inf
00:00:16.649 -> event:Removed router:54(0xd800) nexthop:none old-cost:inf new-cost:inf
00:00:16.649 -> event:Removed router:34(0x8800) nexthop:none old-cost:inf new-cost:inf
00:00:16.649 -> event:Removed router:7(0x1c00) nexthop:none old-cost:inf new-cost:inf
00:00:56.496 -> event:NextHopChanged router:59(0xec00) nexthop:34(0x8800) old-cost:1 new-cost:5
00:02:35.436 -> event:NextHopChanged router:54(0xd800) nexthop:none old-cost:15 new-cost:inf
00:03:12.616 -> event:CostChanged router:54(0xd800) nexthop:34(0x8800) old-cost:13 new-cost:15
00:03:47.417 -> event:NextHopChanged router:54(0xd800) nexthop:34(0x8800) old-cost:15 new-cost:13
00:03:47.889 -> event:CostChanged router:54(0xd800) nexthop:59(0xec00) old-cost:13 new-cost:15
00:04:20.825 -> event:CostChanged router:54(0xd800) nexthop:59(0xec00) old-cost:11 new-cost:13
00:04:53.709 -> event:CostChanged router:54(0xd800) nexthop:59(0xec00) old-cost:9 new-cost:11
00:05:24.877 -> event:CostChanged router:54(0xd800) nexthop:59(0xec00) old-cost:7 new-cost:9
00:05:52.782 -> event:CostChanged router:54(0xd800) nexthop:59(0xec00) old-cost:5 new-cost:7
00:06:50.422 -> event:CostChanged router:54(0xd800) nexthop:59(0xec00) old-cost:3 new-cost:5
00:07:15.493 -> event:NextHopChanged router:54(0xd800) nexthop:59(0xec00) old-cost:1 new-cost:3
00:09:30.382 -> event:NextHopChanged router:7(0x1c00) nexthop:34(0x8800) old-cost:inf new-cost:3
DoneCLI and API References
history rx
Displays the IPv6 message RX history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - প্রকার:
- IPv6 message type, such as
UDP,TCP,HopOpts, andICMP6(and its subtype). -
src: Source IPv6 address and port number. -
dst: Destination IPv6 address and port number (port number is valid for UDP/TCP, otherwise it is 0).
- IPv6 message type, such as
- Len: IPv6 payload length (excluding the IPv6 header).
- Chksum: Message checksum (valid for UDP, TCP, or ICMP6 messages).
- Sec: Indicates if link-layer security was used.
- Prio: Message priority. Possible values are
low,norm,high, ornet(for Thread control messages). - RSS: Received Signal Strength (in dBm), averaged over all received fragment frames that formed the message. For TX history,
NA(not applicable) is displayed. - Dir: Shows whether the message was sent (
TX) or received (RX). A failed transmission is indicated withTX-Fin table format ortx-success:noin list format. Examples of a failed transmission include atxgetting aborted and noackgetting sent from the peer for any of the message fragments. - Neighb: Short address (RLOC16) of the neighbor with whom the message was sent/received. If the frame was broadcast, it is shown as
bcastin table format or0xffffin list format. If the short address of the neighbor is not available, it is shown asunknwnin table format or0xfffein list format. - Radio: Radio link on which the message was sent/received (useful when
OPENTHREAD_CONFIG_MULTI_RADIOis enabled). Can be15.4,trel, orall(if sent on all radio links).
পরামিতি
history rx [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history rx
| Age | Type | Len | Chksum | Sec | Prio | RSS |Dir | Neighb | Radio |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0xbd26 | no | net | -20 | RX | 0x4800 | 15.4 |
| 00:00:07.640 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | HopOpts | 44 | 0x0000 | yes | norm | -20 | RX | 0x4800 | 15.4 |
| 00:00:09.263 | src: [fdde:ad00:beef:0:0:ff:fe00:4800]:0 |
| | dst: [ff03:0:0:0:0:0:0:2]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 12 | 0x3f7d | yes | net | -20 | RX | 0x4800 | 15.4 |
| 00:00:09.302 | src: [fdde:ad00:beef:0:0:ff:fe00:4800]:61631 |
| | dst: [fdde:ad00:beef:0:0:ff:fe00:4801]:61631 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | ICMP6(EchoReqst) | 16 | 0x942c | yes | norm | -20 | RX | 0x4800 | 15.4 |
| 00:00:09.304 | src: [fdde:ad00:beef:0:ac09:a16b:3204:dc09]:0 |
| | dst: [fdde:ad00:beef:0:dc0e:d6b3:f180:b75b]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | HopOpts | 44 | 0x0000 | yes | norm | -20 | RX | 0x4800 | 15.4 |
| 00:00:09.304 | src: [fdde:ad00:beef:0:0:ff:fe00:4800]:0 |
| | dst: [ff03:0:0:0:0:0:0:2]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0x2e37 | no | net | -20 | RX | 0x4800 | 15.4 |
| 00:00:21.622 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0xe177 | no | net | -20 | RX | 0x4800 | 15.4 |
| 00:00:26.640 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 165 | 0x82ee | yes | net | -20 | RX | 0x4800 | 15.4 |
| 00:00:30.000 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
| | dst: [fe80:0:0:0:a4a5:bbac:a8e:bd07]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 93 | 0x52df | no | net | -20 | RX | unknwn | 15.4 |
| 00:00:30.480 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
| | dst: [fe80:0:0:0:a4a5:bbac:a8e:bd07]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0x5ccf | no | net | -20 | RX | unknwn | 15.4 |
| 00:00:30.772 | src: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
Donehistory rx list 4
00:00:13.368
type:UDP len:50 checksum:0xbd26 sec:no prio:net rss:-20 from:0x4800 radio:15.4
src:[fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788
dst:[ff02:0:0:0:0:0:0:1]:19788
00:00:14.991
type:HopOpts len:44 checksum:0x0000 sec:yes prio:norm rss:-20 from:0x4800 radio:15.4
src:[fdde:ad00:beef:0:0:ff:fe00:4800]:0
dst:[ff03:0:0:0:0:0:0:2]:0
00:00:15.030
type:UDP len:12 checksum:0x3f7d sec:yes prio:net rss:-20 from:0x4800 radio:15.4
src:[fdde:ad00:beef:0:0:ff:fe00:4800]:61631
dst:[fdde:ad00:beef:0:0:ff:fe00:4801]:61631
00:00:15.032
type:ICMP6(EchoReqst) len:16 checksum:0x942c sec:yes prio:norm rss:-20 from:0x4800 radio:15.4
src:[fdde:ad00:beef:0:ac09:a16b:3204:dc09]:0
dst:[fdde:ad00:beef:0:dc0e:d6b3:f180:b75b]:0
DoneCLI and API References
history rxtx
Displays the combined IPv6 message RX and TX history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - প্রকার:
- IPv6 message type, such as
UDP,TCP,HopOpts, andICMP6(and its subtype). -
src: Source IPv6 address and port number. -
dst: Destination IPv6 address and port number (port number is valid for UDP/TCP, otherwise it is 0).
- IPv6 message type, such as
- Len: IPv6 payload length (excluding the IPv6 header).
- Chksum: Message checksum (valid for UDP, TCP, or ICMP6 messages).
- Sec: Indicates if link-layer security was used.
- Prio: Message priority. Possible values are
low,norm,high, ornet(for Thread control messages). - RSS: Received Signal Strength (in dBm), averaged over all received fragment frames that formed the message. For TX history,
NA(not applicable) is displayed. - Dir: Shows whether the message was sent (
TX) or received (RX). A failed transmission is indicated withTX-Fin table format ortx-success:noin list format. Examples of a failed transmission include atxgetting aborted and noackgetting sent from the peer for any of the message fragments. - Neighb: Short address (RLOC16) of the neighbor with whom the message was sent/received. If the frame was broadcast, it is shown as
bcastin table format or0xffffin list format. If the short address of the neighbor is not available, it is shown asunknwnin table format or0xfffein list format. - Radio: Radio link on which the message was sent/received (useful when
OPENTHREAD_CONFIG_MULTI_RADIOis enabled). Can be15.4,trel, orall(if sent on all radio links).
পরামিতি
history rxtx [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history rxtx
| Age | Type | Len | Chksum | Sec | Prio | RSS |Dir | Neighb | Radio |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | HopOpts | 44 | 0x0000 | yes | norm | -20 | RX | 0x0800 | 15.4 |
| 00:00:09.267 | src: [fdde:ad00:beef:0:0:ff:fe00:800]:0 |
| | dst: [ff03:0:0:0:0:0:0:2]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 12 | 0x6c6b | yes | net | -20 | RX | 0x0800 | 15.4 |
| 00:00:09.290 | src: [fdde:ad00:beef:0:0:ff:fe00:800]:61631 |
| | dst: [fdde:ad00:beef:0:0:ff:fe00:801]:61631 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | ICMP6(EchoReqst) | 16 | 0xc6a2 | yes | norm | -20 | RX | 0x0800 | 15.4 |
| 00:00:09.292 | src: [fdde:ad00:beef:0:efe8:4910:cf95:dee9]:0 |
| | dst: [fdde:ad00:beef:0:af4c:3644:882a:3698]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | ICMP6(EchoReply) | 16 | 0xc5a2 | yes | norm | NA | TX | 0x0800 | 15.4 |
| 00:00:09.292 | src: [fdde:ad00:beef:0:af4c:3644:882a:3698]:0 |
| | dst: [fdde:ad00:beef:0:efe8:4910:cf95:dee9]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0xaa0d | yes | net | NA | TX | 0x0800 | 15.4 |
| 00:00:09.294 | src: [fdde:ad00:beef:0:0:ff:fe00:801]:61631 |
| | dst: [fdde:ad00:beef:0:0:ff:fe00:800]:61631 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | HopOpts | 44 | 0x0000 | yes | norm | -20 | RX | 0x0800 | 15.4 |
| 00:00:09.296 | src: [fdde:ad00:beef:0:0:ff:fe00:800]:0 |
| | dst: [ff03:0:0:0:0:0:0:2]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0xc1d8 | no | net | -20 | RX | 0x0800 | 15.4 |
| 00:00:09.569 | src: [fe80:0:0:0:54d9:5153:ffc6:df26]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0x3cb1 | no | net | -20 | RX | 0x0800 | 15.4 |
| 00:00:16.519 | src: [fe80:0:0:0:54d9:5153:ffc6:df26]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0xeda0 | no | net | -20 | RX | 0x0800 | 15.4 |
| 00:00:20.599 | src: [fe80:0:0:0:54d9:5153:ffc6:df26]:19788 |
| | dst: [ff02:0:0:0:0:0:0:1]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 165 | 0xbdfa | yes | net | -20 | RX | 0x0800 | 15.4 |
| 00:00:21.059 | src: [fe80:0:0:0:54d9:5153:ffc6:df26]:19788 |
| | dst: [fe80:0:0:0:8893:c2cc:d983:1e1c]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 64 | 0x1c11 | no | net | NA | TX | 0x0800 | 15.4 |
| 00:00:21.062 | src: [fe80:0:0:0:8893:c2cc:d983:1e1c]:19788 |
| | dst: [fe80:0:0:0:54d9:5153:ffc6:df26]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 93 | 0xedff | no | net | -20 | RX | unknwn | 15.4 |
| 00:00:21.474 | src: [fe80:0:0:0:54d9:5153:ffc6:df26]:19788 |
| | dst: [fe80:0:0:0:8893:c2cc:d983:1e1c]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 44 | 0xd383 | no | net | NA | TX | bcast | 15.4 |
| 00:00:21.811 | src: [fe80:0:0:0:8893:c2cc:d983:1e1c]:19788 |
| | dst: [ff02:0:0:0:0:0:0:2]:19788 |
Donehistory rxtx list 5
00:00:02.100
type:UDP len:50 checksum:0xd843 sec:no prio:net rss:-20 from:0x0800 radio:15.4
src:[fe80:0:0:0:54d9:5153:ffc6:df26]:19788
dst:[ff02:0:0:0:0:0:0:1]:19788
00:00:15.331
type:HopOpts len:44 checksum:0x0000 sec:yes prio:norm rss:-20 from:0x0800 radio:15.4
src:[fdde:ad00:beef:0:0:ff:fe00:800]:0
dst:[ff03:0:0:0:0:0:0:2]:0
00:00:15.354
type:UDP len:12 checksum:0x6c6b sec:yes prio:net rss:-20 from:0x0800 radio:15.4
src:[fdde:ad00:beef:0:0:ff:fe00:800]:61631
dst:[fdde:ad00:beef:0:0:ff:fe00:801]:61631
00:00:15.356
type:ICMP6(EchoReqst) len:16 checksum:0xc6a2 sec:yes prio:norm rss:-20 from:0x0800 radio:15.4
src:[fdde:ad00:beef:0:efe8:4910:cf95:dee9]:0
dst:[fdde:ad00:beef:0:af4c:3644:882a:3698]:0
00:00:15.356
type:ICMP6(EchoReply) len:16 checksum:0xc5a2 sec:yes prio:norm tx-success:yes to:0x0800 radio:15.4
src:[fdde:ad00:beef:0:af4c:3644:882a:3698]:0
dst:[fdde:ad00:beef:0:efe8:4910:cf95:dee9]:0
DoneCLI and API References
history tx
Displays the IPv6 message TX history in table or list format.
Each table or list entry provides:
- Age: Time elapsed since the command was issued, and given in the format:
hours:minutes:seconds:milliseconds - প্রকার:
- IPv6 message type, such as
UDP,TCP,HopOpts, andICMP6(and its subtype). -
src: Source IPv6 address and port number. -
dst: Destination IPv6 address and port number (port number is valid for UDP/TCP, otherwise it is 0).
- IPv6 message type, such as
- Len: IPv6 payload length (excluding the IPv6 header).
- Chksum: Message checksum (valid for UDP, TCP, or ICMP6 messages).
- Sec: Indicates if link-layer security was used.
- Prio: Message priority. Possible values are
low,norm,high, ornet(for Thread control messages). - RSS: Received Signal Strength (in dBm), averaged over all received fragment frames that formed the message. For TX history,
NA(not applicable) is displayed. - Dir: Shows whether the message was sent (
TX) or received (RX). A failed transmission is indicated withTX-Fin table format ortx-success:noin list format. Examples of a failed transmission include atxgetting aborted and noackgetting sent from the peer for any of the message fragments. - Neighb: Short address (RLOC16) of the neighbor with whom the message was sent/received. If the frame was broadcast, it is shown as
bcastin table format or0xffffin list format. If the short address of the neighbor is not available, it is shown asunknwnin table format or0xfffein list format. - Radio: Radio link on which the message was sent/received (useful when
OPENTHREAD_CONFIG_MULTI_RADIOis enabled). Can be15.4,trel, orall(if sent on all radio links).
পরামিতি
history tx [list] [num-entries]
- Use the
listoption to display the output in list format. Otherwise, the output is shown in table format. - Use the
num-entriesoption to limit the output to the number of most-recent entries specified. If this option is not used, all stored entries are shown in the output.
উদাহরণ
history tx
| Age | Type | Len | Chksum | Sec | Prio | RSS |Dir | Neighb | Radio |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | ICMP6(EchoReply) | 16 | 0x932c | yes | norm | NA | TX | 0x4800 | 15.4 |
| 00:00:18.798 | src: [fdde:ad00:beef:0:dc0e:d6b3:f180:b75b]:0 |
| | dst: [fdde:ad00:beef:0:ac09:a16b:3204:dc09]:0 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 50 | 0xce87 | yes | net | NA | TX | 0x4800 | 15.4 |
| 00:00:18.800 | src: [fdde:ad00:beef:0:0:ff:fe00:4801]:61631 |
| | dst: [fdde:ad00:beef:0:0:ff:fe00:4800]:61631 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 64 | 0xf7ba | no | net | NA | TX | 0x4800 | 15.4 |
| 00:00:39.499 | src: [fe80:0:0:0:a4a5:bbac:a8e:bd07]:19788 |
| | dst: [fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788 |
+----------------------+------------------+-------+--------+-----+------+------+----+--------+-------+
| | UDP | 44 | 0x26d4 | no | net | NA | TX | bcast | 15.4 |
| 00:00:40.256 | src: [fe80:0:0:0:a4a5:bbac:a8e:bd07]:19788 |
| | dst: [ff02:0:0:0:0:0:0:2]:19788 |
Donehistory tx list
00:00:23.957
type:ICMP6(EchoReply) len:16 checksum:0x932c sec:yes prio:norm tx-success:yes to:0x4800 radio:15.4
src:[fdde:ad00:beef:0:dc0e:d6b3:f180:b75b]:0
dst:[fdde:ad00:beef:0:ac09:a16b:3204:dc09]:0
00:00:23.959
type:UDP len:50 checksum:0xce87 sec:yes prio:net tx-success:yes to:0x4800 radio:15.4
src:[fdde:ad00:beef:0:0:ff:fe00:4801]:61631
dst:[fdde:ad00:beef:0:0:ff:fe00:4800]:61631
00:00:44.658
type:UDP len:64 checksum:0xf7ba sec:no prio:net tx-success:yes to:0x4800 radio:15.4
src:[fe80:0:0:0:a4a5:bbac:a8e:bd07]:19788
dst:[fe80:0:0:0:d03d:d3e7:cc5e:7cd7]:19788
00:00:45.415
type:UDP len:44 checksum:0x26d4 sec:no prio:net tx-success:yes to:0xffff radio:15.4
src:[fe80:0:0:0:a4a5:bbac:a8e:bd07]:19788
dst:[ff02:0:0:0:0:0:0:2]:19788
DoneCLI and API References
ifconfig (up,down)
Brings the IPv6 interface up or down.
Call this to enable or disable IPv6 communication.
পরামিতি
ifconfig up|down
উদাহরণ
ifconfig up
Doneifconfig down
DoneCLI and API References
ifconfig
Indicates whether or not the IPv6 interface is up.
পরামিতি
No parameters.
উদাহরণ
ifconfig
down
Doneifconfig
up
DoneCLI and API References
instanceid
Gets the instance identifier.
The instance identifier is set to a random value when the instance is constructed, and then its value will not change after initialization.
পরামিতি
No parameters.
উদাহরণ
instanceid
468697314
DoneCLI and API References
ipaddr add
Adds a Network Interface Address to the Thread interface.
The passed-in instance aAddress is copied by the Thread interface. The Thread interface only supports a fixed number of externally added unicast addresses. See OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS .
পরামিতি
ipaddr add aAddress
উদাহরণ
ipaddr add 2001::dead:beef:cafe
DoneCLI and API References
ipaddr del
Removes a Network Interface Address from the Thread interface.
পরামিতি
ipaddr del aAddress
উদাহরণ
ipaddr del 2001::dead:beef:cafe
DoneCLI and API References
ipaddr
Gets the list of IPv6 addresses assigned to the Thread interface.
পরামিতি
ipaddr [-v]
Use -v to get more verbose information about the address:
-
origin: can bethread,slaac,dhcp6,manualand indicates the origin of the address -
plen: prefix length -
preferred: preferred flag (boolean) -
valid: valid flag (boolean)
উদাহরণ
ipaddr
fdde:ad00:beef:0:0:ff:fe00:0
fdde:ad00:beef:0:558:f56b:d688:799
fe80:0:0:0:f3d9:2a82:c8d8:fe43
Doneipaddr -v
fd5e:18fa:f4a5:b8:0:ff:fe00:fc00 origin:thread plen:64 preferred:0 valid:1
fd5e:18fa:f4a5:b8:0:ff:fe00:dc00 origin:thread plen:64 preferred:0 valid:1
fd5e:18fa:f4a5:b8:f8e:5d95:87a0:e82c origin:thread plen:64 preferred:0 valid:1
fe80:0:0:0:4891:b191:e277:8826 origin:thread plen:64 preferred:1 valid:1
DoneCLI and API References
ipaddr linklocal
Gets the Thread link-local IPv6 address.
The Thread link local address is derived using IEEE802.15.4 Extended Address as Interface Identifier.
পরামিতি
No parameters.
উদাহরণ
ipaddr linklocal
fe80:0:0:0:f3d9:2a82:c8d8:fe43
DoneCLI and API References
ipaddr mleid
Gets the Mesh Local EID address.
পরামিতি
No parameters.
উদাহরণ
ipaddr mleid
fdde:ad00:beef:0:558:f56b:d688:799
DoneCLI and API References
ipaddr rloc
Gets the Thread Routing Locator (RLOC) address.
পরামিতি
No parameters.
উদাহরণ
ipaddr rloc
fdde:ad00:beef:0:0:ff:fe00:0
DoneCLI and API References
ipmaddr add
Subscribes the Thread interface to a Network Interface Multicast Address.
The passed in instance aAddress will be copied by the Thread interface. The Thread interface only supports a fixed number of externally added multicast addresses. See OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS .
পরামিতি
ipmaddr add aAddress
উদাহরণ
ipmaddr add ff05::1
DoneCLI and API References
ipmaddr del
Unsubscribes the Thread interface to a Network Interface Multicast Address.
পরামিতি
ipmaddr del aAddress
উদাহরণ
ipmaddr del ff05::1
DoneCLI and API References
ipmaddr
Gets the list of IPv6 multicast addresses subscribed to the Thread interface.
পরামিতি
No parameters.
উদাহরণ
ipmaddr
ff05:0:0:0:0:0:0:1
ff33:40:fdde:ad00:beef:0:0:1
ff32:40:fdde:ad00:beef:0:0:1
DoneCLI and API References
ipmaddr llatn
Gets the Thread Link-Local All Thread Nodes multicast address.
The address is a link-local Unicast Prefix-Based Multicast Address [RFC 3306], with:
- flgs set to 3 (P = 1 and T = 1)
- scop set to 2
- plen set to 64
- network prefix set to the Mesh Local Prefix
- group ID set to 1
পরামিতি
No parameters.
উদাহরণ
ipmaddr llatn
ff32:40:fdde:ad00:beef:0:0:1
DoneCLI and API References
ipmaddr rlatn
Gets the Thread Realm-Local All Thread Nodes multicast address.
The address is a realm-local Unicast Prefix-Based Multicast Address [RFC 3306], with:
- flgs set to 3 (P = 1 and T = 1)
- scop set to 3
- plen set to 64
- network prefix set to the Mesh Local Prefix
- group ID set to 1
পরামিতি
No parameters.
উদাহরণ
ipmaddr rlatn
ff33:40:fdde:ad00:beef:0:0:1
DoneCLI and API References
joiner discerner (set)
Sets the Joiner Discerner.
পরামিতি
joiner discerner discerner
- Use
{number}/{length}to set thediscerner. -
joiner discerner clearsetsaDiscernertonullptr.
উদাহরণ
joiner discerner 0xabc/12
DoneCLI and API References
joiner discerner clear
Clear the Joiner discerner.
পরামিতি
No parameters.
উদাহরণ
joiner discerner clear
DoneCLI and API References
- No associated API
joiner discerner
Gets the Joiner Discerner.
For more information, refer to otJoinerSetDiscerner .
পরামিতি
No parameters.
উদাহরণ
joiner discerner
0xabc/12
DoneCLI and API References
joiner help
Print the joiner help menu.
পরামিতি
No parameters.
উদাহরণ
joiner help
help
id
start
state
stop
DoneCLI and API References
- No associated API
joiner id
Gets the Joiner ID.
If a Joiner Discerner is not set, Joiner ID is the first 64 bits of the result of computing SHA-256 over factory-assigned IEEE EUI-64. Otherwise the Joiner ID is calculated from the Joiner Discerner value.
The Joiner ID is also used as the device's IEEE 802.15.4 Extended Address during the commissioning process.
পরামিতি
No parameters.
উদাহরণ
joiner id
d65e64fa83f81cf7
DoneCLI and API References
joiner start
Enables the Thread Joiner role.
পরামিতি
joiner start joining-device-credential [provisioning-url]
-
joining-device-credential: Joiner Passphrase. Must be a string of all uppercase alphanumeric characters (0-9 and AY, excluding I, O, Q, and Z for readability), with a length between 6 and 32 characters. -
provisioning-url: Provisioning URL for the Joiner (optional).
উদাহরণ
joiner start J01NM3
DoneCLI and API References
joiner state
Gets the Joiner State.
Returns one of the following states:
-
Idle -
Discover -
Connecting -
Connected -
Entrust -
Joined
পরামিতি
No parameters.
উদাহরণ
joiner state
Idle
DoneCLI and API References
joiner stop
Disables the Thread Joiner role.
পরামিতি
No parameters.
উদাহরণ
joiner stop
DoneCLI and API References
joinerport (set)
Sets the Joiner UDP Port.
পরামিতি
joinerport udp-port
উদাহরণ
joinerport 1000
DoneCLI and API References
joinerport
Gets the Joiner UDP Port.
পরামিতি
No parameters.
উদাহরণ
joinerport
1000
DoneCLI and API References
keysequence counter (set)
Sets the thrKeySequenceCounter.
পরামিতি
keysequence counter counter
উদাহরণ
keysequence counter 10
DoneCLI and API References
keysequence counter
Gets the thrKeySequenceCounter.
পরামিতি
No parameters.
উদাহরণ
keysequence counter
10
DoneCLI and API References
keysequence guardtime (set)
Sets the thrKeySwitchGuardTime (in hours).
পরামিতি
keysequence guardtime guardtime-hours
Use 0 to Thread Key Switch immediately if there's a key index match.
উদাহরণ
keysequence guardtime 0
DoneCLI and API References
keysequence guardtime
Gets the thrKeySwitchGuardTime (in hours).
পরামিতি
No parameters.
উদাহরণ
keysequence guardtime
0
DoneCLI and API References
leaderdata
Gets the Thread Leader Data.
পরামিতি
No parameters.
উদাহরণ
leaderdata
Partition ID: 1077744240
Weighting: 64
Data Version: 109
Stable Data Version: 211
Leader Router ID: 60
DoneCLI and API References
leaderweight (set)
Sets the Thread Leader Weight used when operating in the Leader role.
Directly sets the Leader Weight to the new value, replacing its previous value (which may have been determined from the current otDeviceProperties ).
পরামিতি
leaderweight weight
উদাহরণ
leaderweight 128
DoneCLI and API References
leaderweight
Gets the Thread Leader Weight used when operating in the Leader role.
পরামিতি
No parameters.
উদাহরণ
leaderweight
128
DoneCLI and API References
linkmetrics config enhanced-ack clear
Sends a Link Metrics Management Request to clear an Enhanced-ACK Based Probing.
পরামিতি
linkmetrics config [async] peer-ipaddr enhanced-ack clear
-
async: Use the non-blocking mode. -
peer-ipaddrshould be the Link Local address of the neighboring device.
উদাহরণ
linkmetrics config fe80:0:0:0:3092:f334:1455:1ad2 enhanced-ack clear
Received Link Metrics Management Response from: fe80:0:0:0:3092:f334:1455:1ad2
Status: Success
DoneCLI and API References
linkmetrics config enhanced-ack register
The additional r is optional and only used for reference devices. When this option is specified, Type/Average Enum of each Type Id Flags is set to reserved. This is used to verify that the Probing Subject correctly handles invalid Type Id Flags, and only available when OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE is enabled.
Sends a Link Metrics Management Request to register an Enhanced-ACK Based Probing.
পরামিতি
linkmetrics config [async] peer-ipaddr enhanced-ack register [qmr][r]
-
async: Use the non-blocking mode. - [
q,m, andr] map to otLinkMetricsValues . Per spec 4.11.3.4.4.6, you can only use a maximum of two options at once, for exampleq, orqm.-
q: Layer 2 LQI. -
m: Link Margin. -
r: RSSI.
-
উদাহরণ
linkmetrics config fe80:0:0:0:3092:f334:1455:1ad2 enhanced-ack register qm
Received Link Metrics Management Response from: fe80:0:0:0:3092:f334:1455:1ad2
Status: Success
Done> linkmetrics config fe80:0:0:0:3092:f334:1455:1ad2 enhanced-ack register qm r
Received Link Metrics Management Response from: fe80:0:0:0:3092:f334:1455:1ad2
Status: Cannot support new series
DoneCLI and API References
linkmetrics config forward
Sends an MLE Link Metrics Management Request to configure or clear a Forward Tracking Series.
পরামিতি
linkmetrics config [async] peer-ipaddr forward series-id [ldraX][pqmr]
-
async: Use the non-blocking mode. -
peer-ipaddr: Peer address. -
series-id: The Series ID. - [
l,d,r, anda] map to otLinkMetricsSeriesFlags .Xrepresents none of theotLinkMetricsSeriesFlags, and stops the accounting and removes the series.-
l: MLE Link Probe. -
d: MAC Data. -
r: MAC Data Request. -
a: MAC Ack. -
X: Can only be used without any other flags.
-
- [
p,q,m, andr] map to otLinkMetricsValues .-
p: Layer 2 Number of PDUs received. -
q: Layer 2 LQI. -
m: Link Margin. -
r: RSSI.
-
উদাহরণ
linkmetrics config fe80:0:0:0:3092:f334:1455:1ad2 forward 1 dra pqmr
Received Link Metrics Management Response from: fe80:0:0:0:3092:f334:1455:1ad2
Status: SUCCESS
DoneCLI and API References
linkmetrics probe
Sends an MLE Link Probe message.
পরামিতি
linkmetrics probe peer-ipaddr series-id length
-
peer-ipaddr: Peer address. -
series-id: The Series ID for which this Probe message targets. -
length: The length of the Probe message. A valid range is [0, 64].
উদাহরণ
linkmetrics probe fe80:0:0:0:3092:f334:1455:1ad2 1 10
DoneCLI and API References
linkmetrics request forward
Perform a Link Metrics query (Forward Tracking Series).
পরামিতি
linkmetrics query [async] peer-ipaddr forward series-id
-
async: Use the non-blocking mode. -
peer-ipaddr: Peer address. -
series-id: The Series ID.
উদাহরণ
linkmetrics request fe80:0:0:0:3092:f334:1455:1ad2 forward 1
Received Link Metrics Report from: fe80:0:0:0:3092:f334:1455:1ad2
- PDU Counter: 2 (Count/Summation)
- LQI: 76 (Exponential Moving Average)
- Margin: 82 (dB) (Exponential Moving Average)
- RSSI: -18 (dBm) (Exponential Moving Average)
DoneCLI and API References
linkmetrics request single
Perform a Link Metrics query (Single Probe).
পরামিতি
linkmetrics request [async] peer-ipaddr single [pqmr]
-
async: Use the non-blocking mode. -
peer-ipaddr: Peer address. - [
p,q,m, andr] map to otLinkMetrics .-
p: Layer 2 Number of PDUs received. -
q: Layer 2 LQI. -
m: Link Margin. -
r: RSSI.
-
উদাহরণ
linkmetrics request fe80:0:0:0:3092:f334:1455:1ad2 single qmr
Received Link Metrics Report from: fe80:0:0:0:3092:f334:1455:1ad2
- LQI: 76 (Exponential Moving Average)
- Margin: 82 (dB) (Exponential Moving Average)
- RSSI: -18 (dBm) (Exponential Moving Average)
DoneCLI and API References
linkmetricsmgr (enable,disable)
Enable or disable Link Metrics Manager.
পরামিতি
linkmetricsmgr enable|disable
উদাহরণ
linkmetricmgr enable
Donelinkmetricmgr disable
DoneCLI and API References
linkmetricsmgr show
Get Link Metrics data of a neighbor by its extended address.
পরামিতি
No parameters.
উদাহরণ
linkmetricsmgr show
ExtAddr:827aa7f7f63e1234, LinkMargin:80, Rssi:-20
DoneCLI and API References
locate (set)
Locate the closest destination of an anycast address (ie, find the destination's mesh local EID and RLOC16).
The closest destination is determined based on the current routing table and path costs within the Thread mesh.
Available when OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE is enabled.
পরামিতি
locate anycastaddr
উদাহরণ
locate fdde:ad00:beef:0:0:ff:fe00:fc00
fdde:ad00:beef:0:d9d3:9000:16b:d03b 0xc800
DoneCLI and API References
সনাক্ত করা
Gets the current state ( In Progress or Idle ) of anycast locator.
Available when OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE is enabled.
পরামিতি
No parameters.
উদাহরণ
locate
Idle
Donelocate fdde:ad00:beef:0:0:ff:fe00:fc10
locate
In Progress
DoneCLI and API References
log filename
Specifies filename to capture otPlatLog() messages, useful when debugging automated test scripts on Linux when logging disrupts the automated test scripts.
Requires OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_DEBUG_UART and OPENTHREAD_POSIX .
পরামিতি
log filename filename
উদাহরণ
CLI and API References
log level (set)
Sets the log level.
পরামিতি
log level level
উদাহরণ
log level 4
DoneCLI and API References
লগ স্তর
Get the log level.
পরামিতি
No parameters.
উদাহরণ
log level
1
DoneCLI and API References
mac retries direct (get,set)
Gets or sets the number of direct TX retries on the MAC layer.
পরামিতি
mac retries direct [number]
Use the optional number argument to set the number of direct TX retries.
উদাহরণ
mac retries direct
3
Donemac retries direct 5
DoneCLI and API References
mac retries indirect (get,set)
Gets or sets the number of indirect TX retries on the MAC layer.
পরামিতি
mac retries indirect [number]
Use the optional number argument to set the number of indirect Tx retries.
উদাহরণ
mac retries indirect
3
Done max retries indirect 5
DoneCLI and API References
mac send
Instructs an Rx-Off-When-Idle device to send a MAC frame to its parent. This command is for certification, and can only be used when OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE is enabled.
পরামিতি
mac send datarequest | emptydata
You must choose one of the following two arguments:
-
datarequest: Enqueues an IEEE 802.15.4 Data Request message for transmission. -
emptydata: Instructs the device to send an empty IEEE 802.15.4 data frame.
উদাহরণ
mac send datarequest
Donemac send emptydata
DoneCLI and API References
macfilter addr add
Is available only when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
Adds an IEEE 802.15.4 Extended Address to the MAC filter list. If you specify the optional rss argument, this fixes the received signal strength for messages from the address. If you do not use the rss option, the address will use whatever default value you have set. If you have not set a default, the signal strength will be the over-air signal.
পরামিতি
macfilter addr add extaddr [rss]
উদাহরণ
macfilter addr add 0f6127e33af6b403 -95
Donemacfilter addr add 0f6127e33af6b402
DoneCLI and API References
macfilter addr allowlist
Enables the allowlist MAC filter mode, which means that only the MAC addresses in the MAC filter list will be allowed access.
পরামিতি
No parameters.
উদাহরণ
macfilter addr allowlist
DoneCLI and API References
macfilter addr clear
Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
This command clears all the extended addresses from the MAC filter list.
পরামিতি
No parameters.
উদাহরণ
macfilter addr clear
DoneCLI and API References
macfilter addr denylist
Enables the denylist MAC filter mode, which means that all MAC addresses in the MAC filter list will be denied access.
পরামিতি
No parameters.
উদাহরণ
macfilter addr denylist
DoneCLI and API References
macfilter addr disable
Disables MAC filter modes.
পরামিতি
No parameters.
উদাহরণ
macfilter addr disable
DoneCLI and API References
- No associated API
macfilter addr
Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
নিম্নলিখিত তথ্য প্রদান করে:
- Current mode of the MAC filter list: Either
AllowList,DenyList,orDisabled - A list of all the extended addresses in the filter. The received signal strength (rss) and link quality indicator (lqi) are listed next to the address if these values have been set to be different from the default values.
পরামিতি
No parameters.
উদাহরণ
macfilter addr
Allowlist
0f6127e33af6b403 : rss -95 (lqi 1)
0f6127e33af6b402
DoneCLI and API References
macfilter addr remove
Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
This command removes the specified extended address from the MAC filter list.
পরামিতি
macfilter addr remove extaddr
উদাহরণ
macfilter addr remove 0f6127e33af6b402
DoneCLI and API References
macfilter
নিম্নলিখিত তথ্য প্রদান করে:
-
Address Mode: Current mode of the MAC filter: EitherAllowList,DenyList,orDisabled - A list of all the extended addresses in the MAC filter list. The received signal strength (rss) and link quality indicator (lqi) are listed next to the address if these values have been set to be different from the default values.
- A separate list (
RssIn List) that shows all the extended addresses where thersshas been set to be different from the default value. -
Default rss: Shows the default values, if applicable, for therssandlqisettings.
পরামিতি
No parameters.
উদাহরণ
macfilter
Address Mode: Allowlist
0f6127e33af6b403 : rss -95 (lqi 1)
0f6127e33af6b402
RssIn List:
0f6127e33af6b403 : rss -95 (lqi 1)
Default rss: -50 (lqi 3)
DoneCLI and API References
macfilter rss add
Adds the specified Extended Address to the RssIn list (or modifies an existing address in the RssIn list) and sets the received signal strength (in dBm) entry for messages from that address.
পরামিতি
macfilter rss add extaddr rss
To set a default value for the received signal strength for all received messages, use the * for the extaddr argument.
উদাহরণ
macfilter rss add * -50
Donemacfilter rss add 0f6127e33af6b404 -85
DoneCLI and API References
macfilter rss add-lqi
Adds the specified Extended Address to the RssIn list (or modifies an existing address in the RssIn list) and sets the fixed link quality indicator for messages from that address. The Extended Address does not necessarily have to be in the address allowlist/denylist filter to set the lqi .
This is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
পরামিতি
macfilter rss add-lqi extaddr lqi
To set a default value for the link quality indicator for all received messages, use the * for the extaddr argument. The allowed range is 0 to 3.
উদাহরণ
macfilter rss add-lqi * 3
Donemacfilter rss add-lqi 0f6127e33af6b404 2
DoneCLI and API References
macfilter rss clear
Clears all the received signal strength ( rss ) and link quality indicator ( lqi ) entries (including defaults) from the RssIn list.
Performing this action means that all Extended Addresses will use the on-air signal.
Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
পরামিতি
No parameters.
উদাহরণ
macfilter rss clear
DoneCLI and API References
macfilter rss
নিম্নলিখিত তথ্য প্রদান করে:
- Listing of all the extended addresses where the received signal strength (
rss) has been set to be different from the default value. The link quality indicator (lqi) is also shown. Therssandlqisettings map to each other. If you set one, the value of the other gets set automatically. This list of addresses is called theRssIn List. Setting either thersior thelqiadds the corresponding extended address to theRssInlist. -
Default rss: Shows the default values, if applicable, for therssandlqisettings.
পরামিতি
No parameters.
উদাহরণ
macfilter rss
0f6127e33af6b403 : rss -95 (lqi 1)
Default rss: -50 (lqi 3)
DoneCLI and API References
macfilter rss remove
Removes the specified Extended Address from the RssIn list.
Once removed from the RssIn list, this MAC address will instead use the default rss and lqi settings, assuming defaults have been set. (If no defaults have been set, the over-air signal is used.)
Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.
No action is performed if there is no existing entry in the RssIn list matching the specified Extended Address.
পরামিতি
macfilter rss remove extaddr
If you wish to remove the default received signal strength and link quality indicator settings, use the * as the extaddr . This unsets the defaults but does not remove entries from the RssIn list.
উদাহরণ
macfilter rss remove *
Donemacfilter rss remove 0f6127e33af6b404
DoneCLI and API References
meshdiag childip6
Send a query to a parent to retrieve the IPv6 addresses of all its MTD children.
পরামিতি
meshdiag childip6 parent-rloc16
উদাহরণ
meshdiag childip6 0xdc00
child-rloc16: 0xdc02
fdde:ad00:beef:0:ded8:cd58:b73:2c21
fd00:2:0:0:c24a:456:3b6b:c597
fd00:1:0:0:120b:95fe:3ecc:d238
child-rloc16: 0xdc03
fdde:ad00:beef:0:3aa6:b8bf:e7d6:eefe
fd00:2:0:0:8ff8:a188:7436:6720
fd00:1:0:0:1fcf:5495:790a:370f
DoneCLI and API References
meshdiag childtable
Start a query for child table of a router with a given RLOC16. Output lists all child entries. Information per child:
- RLOC16
- Extended MAC address
- Thread Version
- সময় শেষ (সেকেন্ডে)
- Age (seconds since last heard)
- Supervision interval (in seconds)
- Number of queued messages (in case child is sleepy)
- ডিভাইস মোড
- RSS (average and last)
- Error rates: frame tx (at MAC layer), IPv6 message tx (above MAC)
- Connection time (seconds since link establishment
{dd}d.{hh}:{mm}:{ss}format) - CSL info:
- If synchronized
- Period (in unit of 10-symbols-time)
- সময় শেষ (সেকেন্ডে)
পরামিতি
No parameters.
উদাহরণ
meshdiag childtable 0x6400
rloc16:0x6402 ext-addr:8e6f4d323bbed1fe ver:4
timeout:120 age:36 supvn:129 q-msg:0
rx-on:yes type:ftd full-net:yes
rss - ave:-20 last:-20 margin:80
err-rate - frame:11.51% msg:0.76%
conn-time:00:11:07
csl - sync:no period:0 timeout:0 channel:0
rloc16:0x6403 ext-addr:ee24e64ecf8c079a ver:4
timeout:120 age:19 supvn:129 q-msg:0
rx-on:no type:mtd full-net:no
rss - ave:-20 last:-20 margin:80
err-rate - frame:0.73% msg:0.00%
conn-time:01:08:53
csl - sync:no period:0 timeout:0 channel:0
DoneCLI and API References
- No associated API
meshdiag routerneighbortable
Start a query for router neighbor table of a router with a given RLOC16. Output lists all router neighbor entries. Information per entry:
- RLOC16
- Extended MAC address
- Thread Version
- RSS (average and last) and link margin
- Error rates, frame tx (at MAC layer), IPv6 message tx (above MAC)
- Connection time (seconds since link establishment
{dd}d.{hh}:{mm}:{ss}format)
পরামিতি
meshdiag routerneighbortable router-rloc16
উদাহরণ
meshdiag routerneighbortable 0x7400
rloc16:0x9c00 ext-addr:764788cf6e57a4d2 ver:4
rss - ave:-20 last:-20 margin:80
err-rate - frame:1.38% msg:0.00%
conn-time:01:54:02
rloc16:0x7c00 ext-addr:4ed24fceec9bf6d3 ver:4
rss - ave:-20 last:-20 margin:80
err-rate - frame:0.72% msg:0.00%
conn-time:00:11:27
DoneCLI and API References
meshdiag topology
Discover network topology (list of routers and their connections). Parameters are optional and indicate additional items to discover. Can be added in any order.
-
ip6-addrsto discover the list of IPv6 addresses of every router. -
childrento discover the child table of every router.
Information per router:
- রাউটার আইডি
- RLOC16
- Extended MAC address
- Thread Version (if known)
- Whether the router is this device is itself (
me) - Whether the router is the parent of this device when device is a child (
parent) - Whether the router is
leader - Whether the router acts as a border router providing external connectivity (
br) - List of routers to which this router has a link:
-
3-links: Router IDs to which this router has a incoming link with link quality 3 -
2-links: Router IDs to which this router has a incoming link with link quality 2 -
1-links: Router IDs to which this router has a incoming link with link quality 1 - If a list if empty, it is omitted in the out.
-
- If
ip6-addrs, list of IPv6 addresses of the router - If
children, list of all children of the router. Information per child:- RLOC16
- Incoming Link Quality from perspective of parent to child (zero indicates unknown)
- Child Device mode (
rrx-on-when-idle,dFull Thread Device,nFull Network Data,-no flags set) - Whether the child is this device itself (
me) - Whether the child acts as a border router providing external connectivity (
br)
পরামিতি
meshdiag topology [ip6-addrs] [children]
উদাহরণ
meshdiag topology
id:02 rloc16:0x0800 ext-addr:8aa57d2c603fe16c ver:4 - me - leader
3-links:{ 46 }
id:46 rloc16:0xb800 ext-addr:fe109d277e0175cc ver:4
3-links:{ 02 51 57 }
id:33 rloc16:0x8400 ext-addr:d2e511a146b9e54d ver:4
3-links:{ 51 57 }
id:51 rloc16:0xcc00 ext-addr:9aab43ababf05352 ver:4
3-links:{ 33 57 }
2-links:{ 46 }
id:57 rloc16:0xe400 ext-addr:dae9c4c0e9da55ff ver:4
3-links:{ 46 51 }
1-links:{ 33 }
DoneCLI and API References
mleadvimax
Gets the current Interval Max value used by Advertisement trickle timer.
This API requires OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE , and is intended for testing only.
পরামিতি
No parameters.
উদাহরণ
mleadvimax
12000
DoneCLI and API References
mliid
Sets the Mesh Local IID (for test purpose).
Requires OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE .
It must be used before Thread stack is enabled.
Only for testing/reference device.
পরামিতি
mliid iid
উদাহরণ
mliid 1122334455667788
DoneCLI and API References
mlr reg
Registers Multicast Listeners to Primary Backbone Router.
OPENTHREAD_CONFIG_TMF_PROXY_MLR_ENABLE and OPENTHREAD_CONFIG_COMMISSIONER_ENABLE must be enabled.
Omit timeout to use the default MLR timeout on the Primary Backbone Router.
Use timeout = 0 to deregister Multicast Listeners.
পরামিতি
mlr reg ipaddr [timeout]
উদাহরণ
mlr reg ff04::1
status 0, 0 failed
Donemlr reg ff04::1 ff04::2 ff02::1
status 2, 1 failed
ff02:0:0:0:0:0:0:1
Donemlr reg ff04::1 ff04::2 1000
status 0, 0 failed
Donemlr reg ff04::1 ff04::2 0
status 0, 0 failed
DoneCLI and API References
mode (get,set)
Set the MLE Link Mode configuration.
পরামিতি
mode [rdn]
-
-: no flags set (rx-off-when-idle, minimal Thread device, stable network data) -
r: rx-on-when-idle -
d: Full Thread Device -
n: Full Network Data
উদাহরণ
mode rdn
Donemode -
DoneCLI and API References
multiradio
Get the list of supported radio links by the device.
This command is always available, even when only a single radio is supported by the device.
পরামিতি
No parameters.
উদাহরণ
multiradio
[15.4, TREL]
DoneCLI and API References
- No associated API
multiradio neighbor list
Gets the multi radio link information associated with a neighbor with a given Extended Address.
OPENTHREAD_CONFIG_MULTI_RADIO must be enabled.
পরামিতি
No parameters.
উদাহরণ
multiradio neighbor list
ExtAddr:3a65bc38dbe4a5be, RLOC16:0xcc00, Radios:[15.4(255), TREL(255)]
ExtAddr:17df23452ee4a4be, RLOC16:0x1300, Radios:[15.4(255)]
DoneCLI and API References
multiradio neighbor
Gets the multi radio link information associated with a neighbor with a given Extended Address.
OPENTHREAD_CONFIG_MULTI_RADIO must be enabled.
পরামিতি
multiradio neighbor ext-address
উদাহরণ
multiradio neighbor 3a65bc38dbe4a5be
[15.4(255), TREL(255)]
DoneCLI and API References
nat64 (enable,disable)
Enable or disable NAT64 functions.
When OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled, setting disabled to true resets the mapping table in the translator.
Available when OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE or OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE is enabled.
পরামিতি
nat64 enable|disable
উদাহরণ
nat64 enable
Donenat64 disable
DoneCLI and API References
nat64 cidr
পরামিতি
No parameters.
উদাহরণ
nat64 cidr 192.168.255.0/24
DoneCLI and API References
nat64 cidr
Gets the IPv4 CIDR configured in the NAT64 translator.
Available when OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled.
পরামিতি
No parameters.
উদাহরণ
nat64 cidr
192.168.255.0/24
DoneCLI and API References
nat64 counters
Gets the NAT64 translator packet and error counters.
Available when OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled.
পরামিতি
No parameters.
উদাহরণ
nat64 counters
| | 4 to 6 | 6 to 4 |
+---------------+-------------------------+-------------------------+
| Protocol | Pkts | Bytes | Pkts | Bytes |
+---------------+----------+--------------+----------+--------------+
| Total | 11 | 704 | 11 | 704 |
| TCP | 0 | 0 | 0 | 0 |
| UDP | 0 | 0 | 0 | 0 |
| ICMP | 11 | 704 | 11 | 704 |
| Errors | Pkts | Pkts |
+---------------+-------------------------+-------------------------+
| Total | 8 | 4 |
| Illegal Pkt | 0 | 0 |
| Unsup Proto | 0 | 0 |
| No Mapping | 2 | 0 |
DoneCLI and API References
nat64 mappings
Gets the next AddressMapping info (using an iterator).
Available when OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled.
পরামিতি
No parameters.
উদাহরণ
nat64 mappings
| | Address | | 4 to 6 | 6 to 4 |
+----------+---------------------------+--------+--------------+--------------+
| ID | IPv6 | IPv4 | Expiry | Pkts | Bytes | Pkts | Bytes |
+----------+------------+--------------+--------+------+-------+------+-------+
| 00021cb9 | fdc7::df79 | 192.168.64.2 | 7196s | 6 | 456 | 11 | 1928 |
| | TCP | 0 | 0 | 0 | 0 |
| | UDP | 1 | 136 | 16 | 1608 |
| | ICMP | 5 | 320 | 5 | 320 |CLI and API References
nat64 state
Gets the state of NAT64 functions.
PrefixManager state is available when OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE is enabled. Translator state is available when OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled.
When OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE is enabled, PrefixManager returns one of the following states:
-
Disabled: NAT64 prefix manager is disabled. -
NotRunning: NAT64 prefix manager is enabled, but is not running. This could mean that the routing manager is disabled. -
Idle: NAT64 prefix manager is enabled and is running, but is not publishing a NAT64 prefix. This can happen when there is another border router publishing a NAT64 prefix with a higher priority. -
Active: NAT64 prefix manager is enabled, running, and publishing a NAT64 prefix.
When OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled, Translator returns one of the following states:
-
Disabled: NAT64 translator is disabled. -
NotRunning: NAT64 translator is enabled, but is not translating packets. This could mean that the Translator is not configured with a NAT64 prefix or a CIDR for NAT64. -
Active: NAT64 translator is enabled and is translating packets.
পরামিতি
No parameters.
উদাহরণ
nat64 state
PrefixManager: Active
Translator: Active
DoneCLI and API References
neighbor conntime list
Prints the connection time and age of neighbors. This command is similar to neighbor conntime , but it displays the information in a list format. The age and connection time are both displayed in seconds.
পরামিতি
No parameters.
উদাহরণ
neighbor conntime list
0x8401 1a28be396a14a318 age:63 conn-time:644
0x5c00 723ebf0d9eba3264 age:23 conn-time:852
0xe800 ce53628a1e3f5b3c age:23 conn-time:180
DoneCLI and API References
neighbor conntime
Prints the connection time and age of neighbors. Information per neighbor:
- RLOC16
- Extended MAC
- Last Heard (Age): Number of seconds since last heard from neighbor.
- Connection Time: Number of seconds since link establishment with neighbor. Duration intervals are formatted as
{hh}:{mm}:{ss}for hours, minutes, and seconds if the duration is less than one day. If the duration is longer than one day, the format is{dd}d.{hh}:{mm}:{ss}.
পরামিতি
No parameters.
উদাহরণ
neighbor conntime
| RLOC16 | Extended MAC | Last Heard (Age) | Connection Time |
+--------+------------------+------------------+------------------+
| 0x8401 | 1a28be396a14a318 | 00:00:13 | 00:07:59 |
| 0x5c00 | 723ebf0d9eba3264 | 00:00:03 | 00:11:27 |
| 0xe800 | ce53628a1e3f5b3c | 00:00:02 | 00:00:15 |
DoneCLI and API References
neighbor linkquality
Prints link quality information about all neighbors.
পরামিতি
No parameters.
উদাহরণ
neighbor linkquality
| RLOC16 | Extended MAC | Frame Error | Msg Error | Avg RSS | Last RSS | Age |
+--------+------------------+-------------+-----------+---------+----------+-------+
| 0xe800 | 9e2fa4e1b84f92db | 0.00 % | 0.00 % | -46 | -48 | 1 |
| 0xc001 | 0ad7ed6beaa6016d | 4.67 % | 0.08 % | -68 | -72 | 10 |
DoneCLI and API References
- No associated API
neighbor list
Lists the RLOC16 of each neighbor.
পরামিতি
No parameters.
উদাহরণ
neighbor list
0xcc01 0xc800 0xf000
DoneCLI and API References
- No associated API
neighbor table
Prints information in table format about all neighbors.
For Role , the only possible values for this table are C (Child) or R (Router).
The following columns provide information about the device mode of neighbors. Each column has a value of 0 (off) or 1 (on).
-
R: RX on when idle -
D: Full Thread device -
N: Full network data
পরামিতি
No parameters.
উদাহরণ
neighbor table
| Role | RLOC16 | Age | Avg RSSI | Last RSSI |R|D|N| Extended MAC |
+------+--------+-----+----------+-----------+-+-+-+------------------+
| C | 0xcc01 | 96 | -46 | -46 |1|1|1| 1eb9ba8a6522636b |
| R | 0xc800 | 2 | -29 | -29 |1|1|1| 9a91556102c39ddb |
| R | 0xf000 | 3 | -28 | -28 |1|1|1| 0ad7ed6beaa6016d |
DoneCLI and API References
netdata full
Print "yes" or "no" indicating whether or not the "net data full" callback has been invoked since start of Thread operation or since the last time netdata full reset was used to reset the flag. This command requires OPENTHREAD_CONFIG_BORDER_ROUTER_SIGNAL_NETWORK_DATA_FULL . The "net data full" callback is invoked whenever:
- The device is acting as a leader and receives a Network Data registration from a Border Router (BR) that it cannot add to Network Data (running out of space).
- The device is acting as a BR and new entries cannot be added to its local Network Data.
- The device is acting as a BR and tries to register its local Network Data entries with the leader, but determines that its local entries will not fit.
পরামিতি
No parameters.
উদাহরণ
netdata full
no
DoneCLI and API References
netdata full reset
Reset the flag tracking whether "net data full" callback was invoked.
পরামিতি
No parameters.
উদাহরণ
netdata full reset
DoneCLI and API References
- No associated API
netdata length
Get the current length (number of bytes) of Partition's Thread Network Data.
পরামিতি
No parameters.
উদাহরণ
netdata length
23
DoneCLI and API References
netdata maxlength
Get the maximum observed length of the Thread Network Data since OT stack initialization or since the last call to otNetDataResetMaxLength() .
পরামিতি
No parameters.
উদাহরণ
netdata maxlength
40
DoneCLI and API References
netdata maxlength reset
Reset the tracked maximum length of the Thread Network Data.
পরামিতি
No parameters.
উদাহরণ
netdata maxlength reset
DoneCLI and API References
netdata publish dnssrp anycast
Publishes a DNS/SRP Service Anycast Address with a sequence number. Any current DNS/SRP Service entry being published from a previous publish dnssrp{anycast|unicast} command is removed and replaced with the new arguments.
OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE must be enabled.
পরামিতি
netdata publish dnssrp anycast seq-num
উদাহরণ
netdata publish dnssrp anycast 1
DoneCLI and API References
- netdata publish dnssrp unicast (addr,port)
- netdata publish dnssrp unicast (mle)
- otNetDataPublishDnsSrpServiceAnycast
netdata publish dnssrp unicast (addr,port)
Publishes a DNS/SRP Service Unicast Address with an address and port number. The address and port information is included in Service TLV data. Any current DNS/SRP Service entry being published from a previous publish dnssrp{anycast|unicast} command is removed and replaced with the new arguments.
OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE must be enabled.
পরামিতি
netdata publish dnssrp unicast address port
উদাহরণ
netdata publish dnssrp unicast fd00::1234 51525
DoneCLI and API References
- netdata publish dnssrp unicast (mle)
- netdata publish dnssrp anycast
- otNetDataPublishDnsSrpServiceUnicast
netdata publish dnssrp unicast (mle)
Publishes the device's Mesh-Local EID with a port number. MLE and port information is included in the Server TLV data. To use a different Unicast address, use the netdata publish dnssrp unicast (addr,port) command.
Any current DNS/SRP Service entry being published from a previous publish dnssrp{anycast|unicast} command is removed and replaced with the new arguments.
OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE must be enabled.
পরামিতি
netdata publish dnssrp unicast port
উদাহরণ
netdata publish dnssrp unicast 50152
DoneCLI and API References
- netdata publish dnssrp unicast (addr,port)
- netdata publish dnssrp anycast
- otNetDataPublishDnsSrpServiceUnicastMeshLocalEid
netdata publish prefix
Publish an on-mesh prefix entry. For more information, refer to Display and Manage Network Data with OT CLI .
পরামিতি
netdata publish prefix prefix [padcrosnD] [high|med|low]
OT CLI uses mapped arguments to configure otBorderRouterConfig values. For more information, refer to the OpenThread CLI Overview .
উদাহরণ
netdata publish prefix fd00:1234:5678::/64 paos med
DoneCLI and API References
netdata publish replace
Replaces a previously published external route entry. For more information, refer to Display and Manage Network Data with OT CLI .
পরামিতি
netdata publish replace oldprefix prefix [sn] [high|med|low]
OT CLI uses mapped arguments to configure otExternalRouteConfig values. For more information, refer to the OpenThread CLI Overview .
উদাহরণ
netdata publish replace ::/0 fd00:1234:5678::/64 s high
DoneCLI and API References
netdata publish route
Publish an external route entry. For more information, refer to Display and Manage Network Data with OT CLI .
পরামিতি
publish route prefix [sn] [high|med|low]
OT CLI uses mapped arguments to configure otExternalRouteConfig values. For more information, refer to the OpenThread CLI Overview .
উদাহরণ
netdata publish route fd00:1234:5678::/64 s high
DoneCLI and API References
netdata register
Register configured prefixes, routes, and services with the Leader.
OT CLI checks for OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE . If OTBR is enabled, it registers local Network Data with the Leader. Otherwise, it calls the CLI function otServerRegister . For more information, refer to Display and Manage Network Data with OT CLI .
পরামিতি
No parameters.
উদাহরণ
netdata register
DoneCLI and API References
netdata steeringdata check (discerner)
Check if the steering data includes a Joiner with a given discerner value.
পরামিতি
netdata steeringdata check discerner
-
discerner: The Joiner discerner in format{number}/{length}.
উদাহরণ
netdata steeringdata check 0xabc/12
Donenetdata steeringdata check 0xdef/12
Error 23: NotFoundCLI and API References
netdata steeringdata check (eui64)
Check if the steering data includes a Joiner.
পরামিতি
netdata steeringdata check eui64
-
eui64: The IEEE EUI-64 of the Joiner.
উদাহরণ
netdata steeringdata check d45e64fa83f81cf7
DoneCLI and API References
netdata unpublish (prefix)
Unpublishes a previously published On-Mesh or External Route Prefix.
OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE must be enabled.
For more information, refer to Display and Manage Network Data with OT CLI .
পরামিতি
netdata unpublish prefix
উদাহরণ
netdata unpublish fd00:1234:5678::/64
DoneCLI and API References
netdata unpublish dnssrp
Unpublishes any previously added DNS/SRP (Anycast or Unicast) Service entry from the Thread Network Data.
OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE must be enabled.
পরামিতি
No parameters.
উদাহরণ
netdata unpublish dnssrp
DoneCLI and API References
netstat
Gets the head of linked list of UDP Sockets.
পরামিতি
No parameters.
উদাহরণ
netstat
| Local Address | Peer Address |
+-------------------------------------------------+-------------------------------------------------+
| [0:0:0:0:0:0:0:0]:49153 | [0:0:0:0:0:0:0:0]:0 |
| [0:0:0:0:0:0:0:0]:49152 | [0:0:0:0:0:0:0:0]:0 |
| [0:0:0:0:0:0:0:0]:61631 | [0:0:0:0:0:0:0:0]:0 |
| [0:0:0:0:0:0:0:0]:19788 | [0:0:0:0:0:0:0:0]:0 |
DoneCLI and API References
networkdiagnostic get
Sends a network diagnostic request to retrieve specified Type Length Values (TLVs) for the specified addresses(es).
পরামিতি
networkdiagnostic get addr type(s)
For addr , a unicast address triggers a Diagnostic Get . A multicast address triggers a Diagnostic Query . TLV values you can specify (separated by a space if you specify more than one TLV):
-
0: MAC Extended Address TLV -
1: Address16 TLV -
2: Mode TLV -
3: Timeout TLV (the maximum polling time period for SEDs) -
4: Connectivity TLV -
5: Route64 TLV -
6: Leader Data TLV -
7: Network Data TLV -
8: IPv6 Address List TLV -
9: MAC Counters TLV -
14: Battery Level TLV -
15: Supply Voltage TLV -
16: Child Table TLV -
17: Channel Pages TLV -
19: Max Child Timeout TLV -
23: EUI64 TLV -
24: Version TLV (version number for the protocols and features) -
25: Vendor Name TLV -
26: Vendor Model TLV -
27: Vendor SW Version TLV -
28: Thread Stack Version TLV (version identifier as UTF-8 string for Thread stack codebase/commit/version) -
29: Child TLV -
34: MLE Counters TLV -
35: Vendor App URL TLV
উদাহরণ
networkdiagnostic get fdde:ad00:beef:0:0:ff:fe00:fc00 0 1 6 23
DIAG_GET.rsp/ans: 00080e336e1c41494e1c01020c000608640b0f674074c503
Ext Address: 0e336e1c41494e1c
Rloc16: 0x0c00
Leader Data:
PartitionId: 0x640b0f67
Weighting: 64
DataVersion: 116
StableDataVersion: 197
LeaderRouterId: 0x03
EUI64: 18b4300000000004
Donenetworkdiagnostic get ff02::1 0 1
DIAG_GET.rsp/ans: 00080e336e1c41494e1c01020c00
Ext Address: '0e336e1c41494e1c'
Rloc16: 0x0c00
Done
DIAG_GET.rsp/ans: 00083efcdb7e3f9eb0f201021800
Ext Address: 3efcdb7e3f9eb0f2
Rloc16: 0x1800
DoneCLI and API References
networkdiagnostic reset
Sends a network diagnostic request to reset the specified Type Length Values (TLVs) on the specified address(es). This command only supports the following TLV values: 9 (MAC Counters TLV) or 34 (MLE Counters TLV)
পরামিতি
networkdiagnostic reset addr type(s)
উদাহরণ
networkdiagnostic reset fd00:db8::ff:fe00:0 9
DoneCLI and API References
networkidtimeout (get,set)
Gets or sets the NETWORK_ID_TIMEOUT parameter.
পরামিতি
networkidtimeout [timeout]
Use the optional timeout argument to set the value of the NETWORK_ID_TIMEOUT parameter.
উদাহরণ
networkidtimeout 120
Donenetworkidtimeout
120
DoneCLI and API References
networkkey (key)
Set the Thread Network Key.
Succeeds only when Thread protocols are disabled. A successful call to this function invalidates the Active and Pending Operational Datasets in non-volatile memory.
পরামিতি
networkkey key
উদাহরণ
networkkey 00112233445566778899aabbccddeeff
DoneCLI and API References
networkkey
Get the Thread Network Key.
পরামিতি
No parameters.
উদাহরণ
networkkey
00112233445566778899aabbccddeeff
DoneCLI and API References
networkname (name)
Set the Thread Network Name.
Succeeds only when Thread protocols are disabled. A successful call to this function invalidates the Active and Pending Operational Datasets in non-volatile memory.
পরামিতি
networkname name
উদাহরণ
networkname OpenThread
DoneCLI and API References
networkname
Get the Thread Network Name.
পরামিতি
No parameters.
উদাহরণ
networkname
OpenThread
DoneCLI and API References
networktime (set)
Sets the time sync parameters.
-
timesyncperiod: The time synchronization period, in seconds. -
xtalthreshold: The XTAL accuracy threshold for a device to become Router-Capable device, in PPM.
পরামিতি
networktime timesyncperiod xtalthreshold
উদাহরণ
networktime 100 300
DoneCLI and API References
networktime
Gets the Thread network time and the time sync parameters.
পরামিতি
No parameters.
উদাহরণ
networktime
Network Time: 21084154us (synchronized)
Time Sync Period: 100s
XTAL Threshold: 300ppm
DoneCLI and API References
nexthop (get)
Gets the next hop and path cost towards a given RLOC16 destination.
Can be used with either aNextHopRloc16 or aPathCost being NULL indicating caller does not want to get the value.
পরামিতি
nexthop rloc16
উদাহরণ
nexthop 0xc000
0xc000 cost:0
Donenexthop 0x8001
0x2000 cost:3
DoneCLI and API References
nexthop
Output table of allocated Router IDs and current next hop and path cost for each router.
পরামিতি
No parameters.
উদাহরণ
nexthop
| ID |NxtHop| Cost |
+------+------+------+
| 9 | 9 | 1 |
| 25 | 25 | 0 |
| 30 | 30 | 1 |
| 46 | - | - |
| 50 | 30 | 3 |
| 60 | 30 | 2 |
DoneCLI and API References
panid (panid)
Set the IEEE 802.15.4 PAN ID.
Succeeds only when Thread protocols are disabled. A successful call to this function also invalidates the Active and Pending Operational Datasets in non-volatile memory.
পরামিতি
panid panid
উদাহরণ
panid 0xdead
DoneCLI and API References
panid
Get the IEEE 802.15.4 PAN ID.
পরামিতি
No parameters.
উদাহরণ
panid
0xdead
DoneCLI and API References
অভিভাবক
Get the diagnostic information for a Thread Router as parent.
When operating as a Thread Router when OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE is enabled, this command will return the cached information from when the device was previously attached as a Thread Child. Returning cached information is necessary to support the Thread Test Harness - Test Scenario 8.2.x requests the former parent (ie Joiner Router's) MAC address even if the device has already promoted to a router.
পরামিতি
No parameters.
উদাহরণ
parent
Ext Addr: be1857c6c21dce55
Rloc: 5c00
Link Quality In: 3
Link Quality Out: 3
Age: 20
Version: 4
DoneCLI and API References
parent search
Starts the process for child to search for a better parent while staying attached to its current parent.
Must be used when device is attached as a child.
পরামিতি
No parameters.
উদাহরণ
parent search
DoneCLI and API References
parentpriority (get,set)
Gets or sets the assigned parent priority value: 1, 0, -1 or -2. -2 means not assigned.
পরামিতি
parentpriority [parentpriority]
উদাহরণ
parentpriority
1
Doneparentpriority 1
DoneCLI and API References
partitionid
Get the Thread Network Partition ID.
পরামিতি
No parameters.
উদাহরণ
partitionid
4294967295
DoneCLI and API References
partitionid preferred (get,set)
OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE is required.
পরামিতি
partitionid preferred partitionid
উদাহরণ
partitionid preferred
4294967295
Donepartitionid preferred 0xffffffff
DoneCLI and API References
প্ল্যাটফর্ম
Print the current platform
পরামিতি
No parameters.
উদাহরণ
platform
NRF52840
DoneCLI and API References
- No associated API
pollperiod (get,set)
Get or set the customized data poll period of sleepy end device (milliseconds). Only for certification test.
পরামিতি
No parameters.
উদাহরণ
pollperiod
0
Donepollperiod 10
DoneCLI and API References
preferrouterid
Specifies the preferred router ID that the leader should provide when solicited.
পরামিতি
preferrouterid routerid
উদাহরণ
preferrouterid 16
DoneCLI and API References
prefix add
Adds a valid prefix to the Network Data.
পরামিতি
prefix add prefix [padcrosnD] [high|med|low]
OT CLI uses mapped arguments to configure otBorderRouterConfig values. For more information, refer to the OpenThread CLI Overview .
উদাহরণ
prefix add 2001:dead:beef:cafe::/64 paros med
Doneprefix add fd00:7d03:7d03:7d03::/64 prosD low
DoneCLI and API References
prefix meshlocal
Get the mesh local prefix.
পরামিতি
No parameters.
উদাহরণ
prefix meshlocal
fdde:ad00:beef:0::/64
DoneCLI and API References
- No associated API
উপসর্গ
Get the prefix list in the local Network Data.
For more information about otBorderRouterConfig flags, refer to OpenThread CLI Overview .
পরামিতি
No parameters.
উদাহরণ
prefix
2001:dead:beef:cafe::/64 paros med
- fd00:7d03:7d03:7d03::/64 prosD med
DoneCLI and API References
prefix remove
Remove a border router configuration from the local network data.
পরামিতি
No parameters.
উদাহরণ
prefix remove 2001:dead:beef:cafe::/64
DoneCLI and API References
promiscuous (enable,disable)
Enables or disables the link layer promiscuous mode.
পরামিতি
promiscuous enable|disable
উদাহরণ
promiscuous enable
Donepromiscuous disable
DoneCLI and API References
অশ্লীল
Indicates whether or not promiscuous mode is enabled at the link layer.
পরামিতি
No parameters.
উদাহরণ
promiscuous
Disabled
DoneCLI and API References
pskc (set)
Sets the pskc in hexadecimal format.
পরামিতি
pskc key
উদাহরণ
pskc 67c0c203aa0b042bfb5381c47aef4d9e
DoneCLI and API References
- No associated API
pskc -p
Generates the pskc from the passphrase (UTF-8 encoded), together with the current network name and extended PAN ID.
পরামিতি
pskc -p passphrase
উদাহরণ
pskc -p 123456
DoneCLI and API References
- No associated API
pskc
Get the Thread PSKc.
পরামিতি
No parameters.
উদাহরণ
pskc
67c0c203aa0b042bfb5381c47aef4d9e
DoneCLI and API References
pskcref (set)
Set the Key Reference to the Thread PSKc.
Requires the build-time feature OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE to be enabled.
Will only succeed when Thread protocols are disabled. Upon success, this will also invalidate the Active and Pending Operational Datasets in non-volatile memory.
পরামিতি
pskc keyref
উদাহরণ
pskc 0x20017
DoneCLI and API References
pskcref
Get Key Reference to Thread PSKc stored.
Requires the build-time feature OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE to be enabled.
পরামিতি
No parameters.
উদাহরণ
pskcref
0x80000000
DoneCLI and API References
radio (enable,disable)
Enables or disables the radio.
পরামিতি
radio enable|disable
উদাহরণ
radio enable
Doneradio disable
DoneCLI and API References
radio stats clear
Resets the radio statistics.
All times are reset to 0.
পরামিতি
No parameters.
উদাহরণ
radio stats clear
DoneCLI and API References
radio stats
Gets the radio statistics.
The radio statistics include the time when the radio is in TX/RX/Sleep state. These times are in units of microseconds. All times are calculated from the last reset of radio statistics.
পরামিতি
No parameters.
উদাহরণ
radio stats
Radio Statistics:
Total Time: 67.756s
Tx Time: 0.022944s (0.03%)
Rx Time: 1.482353s (2.18%)
Sleep Time: 66.251128s (97.77%)
Disabled Time: 0.000080s (0.00%)
DoneCLI and API References
rcp version
Get the radio version string.
পরামিতি
No parameters.
উদাহরণ
rcp version
OPENTHREAD/20191113-00825-g82053cc9d-dirty; SIMULATION; Jun 4 2020 17:53:16
DoneCLI and API References
region (set)
Sets the region code.
The radio region format is the 2-bytes ascii representation of the ISO 3166 alpha-2 code.
Changing this can affect the transmit power limit.
পরামিতি
No parameters.
উদাহরণ
region US
DoneCLI and API References
অঞ্চল
Get the region code.
The radio region format is the 2-bytes ascii representation of the ISO 3166 alpha-2 code.
পরামিতি
No parameters.
উদাহরণ
region
US
DoneCLI and API References
releaserouterid (routerid)
Release a Router ID that has been allocated by the device in the Leader role.
পরামিতি
releaserouterid [routerid]
উদাহরণ
releaserouterid 16
DoneCLI and API References
rloc16
Get the RLOC16.
পরামিতি
No parameters.
উদাহরণ
rloc16
0xdead
DoneCLI and API References
route add
For parameters, use:
- s: Stable flag
- n: NAT64 flag
- prf: Default Router Preference, [high, med, low].
Add a valid external route to the Network Data.
পরামিতি
route add prefix [sn] [high|med|low]
উদাহরণ
route add 2001:dead:beef:cafe::/64 s med
DoneCLI and API References
route remove
Remove an external route configuration from the local network data.
পরামিতি
route remove [prefix]
উদাহরণ
route remove 2001:dead:beef:cafe::/64
DoneCLI and API References
রুট
Get the external route list in the local Network Data.
পরামিতি
No parameters.
উদাহরণ
route
2001:dead:beef:cafe::/64 s med
DoneCLI and API References
router (id)
The function retains diagnostic information for a given Thread Router.
Print diagnostic information for a Thread Router. The id may be a Router ID or an RLOC16.
পরামিতি
router [id]
উদাহরণ
router 50
Alloc: 1
Router ID: 50
Rloc: c800
Next Hop: c800
Link: 1
Ext Addr: e2b3540590b0fd87
Cost: 0
Link Quality In: 3
Link Quality Out: 3
Age: 3
Donerouter 0xc800
Alloc: 1
Router ID: 50
Rloc: c800
Next Hop: c800
Link: 1
Ext Addr: e2b3540590b0fd87
Cost: 0
Link Quality In: 3
Link Quality Out: 3
Age: 7
DoneCLI and API References
রাউটার তালিকা
List allocated Router IDs.
পরামিতি
No parameters.
উদাহরণ
router list
8 24 50
DoneCLI and API References
রাউটার টেবিল
Prints a list of routers in a table format.
পরামিতি
No parameters.
উদাহরণ
router table
| ID | RLOC16 | Next Hop | Path Cost | LQ In | LQ Out | Age | Extended MAC | Link |
+----+--------+----------+-----------+-------+--------+-----+------------------+------+
| 22 | 0x5800 | 63 | 0 | 0 | 0 | 0 | 0aeb8196c9f61658 | 0 |
| 49 | 0xc400 | 63 | 0 | 3 | 3 | 0 | faa1c03908e2dbf2 | 1 |
DoneCLI and API References
routerdowngradethreshold (get,set)
Gets or sets the ROUTER_DOWNGRADE_THRESHOLD value.
পরামিতি
routerdowngradethreshold [threshold]
উদাহরণ
routerdowngradethreshold
23
Done routerdowngradethreshold 23
DoneCLI and API References
routereligible (enable,disable)
Enables or disables the router role.
পরামিতি
routereligible [enable|disable]
উদাহরণ
routereligible enable
Doneroutereligible disable
DoneCLI and API References
routereligible
Indicates whether the router role is enabled or disabled.
পরামিতি
No parameters.
উদাহরণ
routereligible
Enabled
DoneCLI and API References
routerselectionjitter
Gets or sets the ROUTER_SELECTION_JITTER value.
পরামিতি
routerselectionjitter [jitter]
উদাহরণ
routerselectionjitter
120
Donerouterselectionjitter 120
DoneCLI and API References
routerupgradethreshold (get,set)
Gets or sets the ROUTER_UPGRADE_THRESHOLD value.
পরামিতি
routerupgradethreshold [threshold]
উদাহরণ
routerupgradethreshold
16
Donerouterupgradethreshold 16
DoneCLI and API References
scan energy
Performs an IEEE 802.15.4 energy scan, and displays the time in milliseconds to use for scanning each channel. All channels are shown unless you specify a certain channel by using the channel option.
পরামিতি
scan energy [duration] [channel]
উদাহরণ
scan energy 10
| Ch | RSSI |
+----+------+
| 11 | -59 |
| 12 | -62 |
| 13 | -67 |
| 14 | -61 |
| 15 | -87 |
| 16 | -86 |
| 17 | -86 |
| 18 | -52 |
| 19 | -58 |
| 20 | -82 |
| 21 | -76 |
| 22 | -82 |
| 23 | -74 |
| 24 | -81 |
| 25 | -88 |
| 26 | -71 |
Donescan energy 10 20
| Ch | RSSI |
+----+------+
| 20 | -82 |
DoneCLI and API References
স্ক্যান
Performs an active IEEE 802.15.4 scan. The scan covers all channels if no channel is specified; otherwise the span covers only the channel specified.
পরামিতি
scan [channel]
উদাহরণ
scan
| PAN | MAC Address | Ch | dBm | LQI |
+------+------------------+----+-----+-----+
| ffff | f1d92a82c8d8fe43 | 11 | -20 | 0 |
DoneCLI and API References
service add
Adds service to the network data.
- enterpriseNumber: IANA enterprise number
- serviceData: Hex-encoded binary service data
- serverData: Hex-encoded binary server data (empty if not provided)
পরামিতি
service add enterpriseNumber serviceData [serverData]
উদাহরণ
service add 44970 112233 aabbcc
Donenetdata register
DoneCLI and API References
service remove
Removes service from the network data.
- enterpriseNumber: IANA enterprise number
- serviceData: Hex-encoded binary service data
পরামিতি
service remove enterpriseNumber serviceData
উদাহরণ
service remove 44970 112233
Donenetdata register
DoneCLI and API References
এককটন
Indicates whether a node is the only router on the network. Returns either true or false .
পরামিতি
No parameters.
উদাহরণ
singleton
true
DoneCLI and API References
sntp query
Sends an SNTP query to obtain the current unix epoch time (from January 1, 1970).
- SNTP server default IP address:
2001:4860:4806:8::(Google IPv6 NTP Server) - SNTP server default port:
123
পরামিতি
sntp query [SNTP server IP] [SNTP server port]
উদাহরণ
sntp query
SNTP response - Unix time: 1540894725 (era: 0)
Donesntp query 64:ff9b::d8ef:2308
SNTP response - Unix time: 1540898611 (era: 0)
DoneCLI and API References
srp client autostart (get)
Indicates the current state of auto-start mode (enabled or disabled). For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp client autostart
Disabled
DoneCLI and API References
srp client autostart disable
Disables the auto-start mode.
Disabling auto-start mode does not stop a running client. However, the SRP client stops monitoring Thread network data.
পরামিতি
No parameters.
উদাহরণ
srp client autostart disable
DoneCLI and API References
srp client autostart enable
Enables auto-start mode.
When auto-start is enabled, the SRP client monitors Thread network data to discover SRP servers, to select the preferred server, and to automatically start and stop the client when an SRP server is detected.
Three categories of network data entries indicate the presence of an SRP sever, and are preferred in the following order:
- Unicast entries in which the server address is included in the service data. If there are multiple options, the option with the lowest numerical IPv6 address is preferred.
- Anycast entries that each have a sequence number. The largest sequence number as specified by Serial Number Arithmetic Logic in RFC-1982 is preferred.
- Unicast entries in which the server address information is included with the server data. If there are multiple options, the option with the lowest numerical IPv6 address is preferred.
পরামিতি
No parameters.
উদাহরণ
srp client autostart enable
DoneCLI and API References
srp client callback (get,enable,disable)
Gets or enables/disables printing callback events from the SRP client. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp client callback [enable|disable]
উদাহরণ
srp client callback enable
Donesrp client callback
Enabled
DoneCLI and API References
srp client host address (get)
Indicates whether auto address mode is enabled. If auto address mode is not enabled, then the list of SRP client host addresses is returned. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp client host address
auto
Donesrp client host address
fd00:0:0:0:0:0:0:1234
fd00:0:0:0:0:0:0:beef
DoneCLI and API References
srp client host address (set)
Enable auto host address mode or explicitly set the list of host addresses. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp client host address [auto|address...]
- Use the
autoparameter to enable auto host address mode. When enabled, the client automatically uses all preferred Threadnetifunicast addresses except for link-local and mesh-local addresses. If there is no valid address, the mesh local EID address gets added. The SRP client automatically re-registers if addresses on the Threadnetifare added or removed or marked as non-preferred. - Explicitly specify the list of host addresses, separating each address by a space. You can set this list while the client is running. This will also disable auto host address mode.
উদাহরণ
srp client host address auto
Donesrp client host address fd00::cafe
DoneCLI and API References
srp client host clear
Clears all host information and all services.
পরামিতি
No parameters.
উদাহরণ
srp client host clear
DoneCLI and API References
srp client host name (get,set)
Gets or sets the host name of the SRP client. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp client host name [name]
To set the client host name when the host has either been removed or not yet registered with the server, use the name parameter.
উদাহরণ
srp client host name dev4312
Donesrp client host name
dev4312
DoneCLI and API References
srp client host remove
Removes SRP client host information and all services from the SRP server. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp client host remove [removekeylease] [sendunregtoserver]
- The parameter
removekeyleaseis an optional boolean value that indicates whether the host key lease should also be removed (default isfalse). - The parameter
sendunregtoserveris an optional boolean value that indicates whether the client host should send an "update" message to the server even when the client host information has not yet been registered with the server (default isfalse). This parameter can be specified only if theremovekeyleaseparameter is specified first in the command.
উদাহরণ
srp client host remove 1
DoneCLI and API References
srp client host
Gets the host info.
পরামিতি
No parameters.
উদাহরণ
srp client host
name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1234, fd00:0:0:0:0:0:0:beef]
DoneCLI and API References
srp client host state
Returns the state of the SRP client host. সম্ভাব্য অবস্থা:
-
ToAdd: Item to be added/registered. -
Adding: Item is being added/registered. -
ToRefresh: Item to be refreshed for lease renewal. -
Refreshing: Item is beig refreshed. -
ToRemove: Item to be removed. -
Removing: Item is being removed. -
Registered: Item is registered with server. -
Removed: Item has been removed.
পরামিতি
No parameters.
উদাহরণ
srp client host state
Registered
DoneCLI and API References
- No associated API
srp client keyleaseinterval (get,set)
Gets or sets the key lease interval in seconds.
পরামিতি
srp client keyleaseinterval [interval]
উদাহরণ
srp client keyleaseinterval 864000
Donesrp client keyleaseinterval
864000
DoneCLI and API References
srp client leaseinterval (get,set)
Gets or sets the lease interval in seconds.
পরামিতি
srp client leaseinterval [interval]
উদাহরণ
srp client leaseinterval 3600
Donesrp client leaseinterval
3600
DoneCLI and API References
srp client server address
Returns the server's IPv6 address.
পরামিতি
No parameters.
উদাহরণ
srp client server address
fd00:0:0:0:d88a:618b:384d:e760
DoneCLI and API References
- No associated API
srp client server port
Returns the server's port number.
পরামিতি
No parameters.
উদাহরণ
srp client server port
4724
DoneCLI and API References
- No associated API
srp client server
Gets the socket address (IPv6 address and port number) of the SRP server that is being used by the SRP client. If the client is not running, the address is unspecified (all zeros) with a port number of 0. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp client server
[fd00:0:0:0:d88a:618b:384d:e760]:4724
DoneCLI and API References
srp client service add
Adds a service with a given instance name, service name, and port number. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp client service add instancename servicename port [priority] [weight] [txt]
The servicename parameter can optionally include a list of service subtype labels that are separated by commas. The examples here use generic naming. The priority and weight (both are uint16_t values) parameters are optional, and if not provided zero is used. The optional txt parameter sets the TXT data associated with the service. The txt value must be in hex-string format and is treated as an already encoded TXT data byte sequence.
উদাহরণ
srp client service add ins1 _test1._udp 777
Donesrp client service add ins2 _test2._udp,_sub1,_sub2 111 1 1
DoneCLI and API References
srp client service key (get,set)
Gets or sets the service key record inclusion mode in the SRP client. This command is intended for testing only, and requires that OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE be enabled. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp client service key enable
Donesrp client service key
Enabled
DoneCLI and API References
srp client service name clear
Clears a service, immediately removing it from the client service list, with no interaction with the SRP server.
পরামিতি
srp client service clear instancename servicename
উদাহরণ
srp client service clear ins2 _test2._udp
DoneCLI and API References
srp client service remove
Requests a service to be unregistered with the SRP server.
পরামিতি
srp client service remove instancename servicename
উদাহরণ
srp client service remove ins2 _test2._udp
DoneCLI and API References
srp client service
Gets the list of services being managed by client.
পরামিতি
No parameters.
উদাহরণ
srp client service
instance:"ins2", name:"_test2._udp,_sub1,_sub2", state:Registered, port:111, priority:1, weight:1
instance:"ins1", name:"_test1._udp", state:Registered, port:777, priority:0, weight:0
DoneCLI and API References
srp client start
Starts the SRP client operation. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp client start serveraddr serverport
উদাহরণ
srp client start fd00::d88a:618b:384d:e760 4724
DoneCLI and API References
srp client state
Indicates whether the SRP client is running or not.
পরামিতি
No parameters.
উদাহরণ
srp client state
Enabled
DoneCLI and API References
srp client stop
Stops the SRP client operation.
Stops any further interactions with the SRP server. Note that it does not remove or clear host info and/or list of services. It marks all services to be added/removed again once the client is (re)started.
পরামিতি
No parameters.
উদাহরণ
srp client stop
DoneCLI and API References
srp client ttl (get,set)
Gets or sets the ttl (time to live) value in seconds.
পরামিতি
srp client ttl [value]
উদাহরণ
srp client ttl 3600
Donesrp client ttl
3600
DoneCLI and API References
srp server (enable,disable)
Enables or disables the SRP server. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp server [enable|disable]
উদাহরণ
srp server disable
DoneCLI and API References
srp server addrmode (get,set)
Gets or sets the address mode used by the SRP server.
The address mode tells the SRP server how to determine its address and port number, which then get published in the Thread network data.
পরামিতি
srp server addrmode [anycast|unicast]
উদাহরণ
srp server addrmode anycast
Donesrp server addrmode
anycast
DoneCLI and API References
srp server auto (enable,disable)
Enables or disables the auto-enable mode on the SRP server.
When this mode is enabled, the Border Routing Manager controls if and when to enable or disable the SRP server.
This command requires that OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE be enabled. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
srp server auto [enable|disable]
উদাহরণ
srp server auto enable
Donesrp server auto
Enabled
DoneCLI and API References
srp server domain (get,set)
Gets or sets the domain name of the SRP server.
পরামিতি
srp server domain [domain-name]
উদাহরণ
srp server domain thread.service.arpa.
Donesrp server domain
thread.service.arpa.
DoneCLI and API References
srp server host
Returns information about all registered hosts. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp server host
srp-api-test-1.default.service.arpa.
deleted: false
addresses: [fdde:ad00:beef:0:0:ff:fe00:fc10]
srp-api-test-0.default.service.arpa.
deleted: false
addresses: [fdde:ad00:beef:0:0:ff:fe00:fc10]
DoneCLI and API References
srp server lease (get,set)
Gets or sets the SRP server lease values in number of seconds.
পরামিতি
srp server lease [min-lease max-lease min-key-lease max-key-lease]
উদাহরণ
srp server lease 1800 7200 86400 1209600
Donesrp server lease
min lease: 1800
max lease: 7200
min key-lease: 86400
max key-lease: 1209600
DoneCLI and API References
srp server seqnum (get,set)
Gets or sets the sequence number used with the anycast address mode. The sequence number is included in the "DNS/SRP Service Anycast Address" entry that is published in the Network Data.
পরামিতি
srp server seqnum [seqnum]
উদাহরণ
srp server seqnum 20
Donesrp server seqnum
20
DoneCLI and API References
srp server service
Returns information about registered services.
The TXT record is displayed as an array of entries. If an entry contains a key, the key is printed in ASCII format. The value portion is printed in hexadecimal bytes. For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp server service
srp-api-test-1._ipps._tcp.default.service.arpa.
deleted: false
subtypes: (null)
port: 49152
priority: 0
weight: 0
ttl: 7200
lease: 7200
key-lease: 1209600
TXT: [616263, xyz=585960]
host: srp-api-test-1.default.service.arpa.
addresses: [fdde:ad00:beef:0:0:ff:fe00:fc10]
srp-api-test-0._ipps._tcp.default.service.arpa.
deleted: false
subtypes: _sub1,_sub2
port: 49152
priority: 0
weight: 0
ttl: 3600
lease: 3600
key-lease: 1209600
TXT: [616263, xyz=585960]
host: srp-api-test-0.default.service.arpa.
addresses: [fdde:ad00:beef:0:0:ff:fe00:fc10]
DoneCLI and API References
- otSrpServerServiceGetInstanceName
- otSrpServerServiceGetServiceName
- otSrpServerServiceGetSubTypeServiceNameAt
srp server state
Returns one of the following possible states of the SRP server:
-
disabled: The SRP server is not enabled. -
stopped: The SRP server is enabled but not active due to existing SRP servers that are already active in the Thread network. The SRP server may become active when the existing SRP servers are no longer active within the Thread network. -
running: The SRP server is active and can handle service registrations.
For more information, refer to Set Up Service Registration Protocol (SRP) Server-Client Connectivity With OT CLI .
পরামিতি
No parameters.
উদাহরণ
srp server state
running
DoneCLI and API References
রাষ্ট্র
Returns the current role of the Thread device, or changes the role as specified with one of the options. Possible values returned when inquiring about the device role:
-
child: The device is currently operating as a Thread child. -
router: The device is currently operating as a Thread router. -
leader: The device is currently operating as a Thread leader. -
detached: The device is not currently participating in a Thread network/partition. -
disabled: The Thread stack is currently disabled.
Using one of the options allows you to change the current role of a device, with the exclusion of changing to or from a disabled state.
পরামিতি
state [child|router|leader|detached]
উদাহরণ
state
child
Donestate leader
DoneCLI and API References
- otThreadGetDeviceRole
- otThreadBecomeChild
- otThreadBecomeRouter
- otThreadBecomeLeader
- otThreadBecomeDetached
tcat advid
Sets/clears advertised ID type and value.
পরামিতি
tcat advid [id_type] [value]
- The
id_typehas five possible values:-
clear- removes all previously set advertised IDs. -
oui24- sets OUI24 ID type. -
oui36- sets OUI36 ID type. -
discriminator- sets discriminator ID type. -
ianapen- sets IANA PEN ID type.
-
- The
valuehexstring value of the ID.
উদাহরণ
tcat advid ianapen f378aabb
DoneCLI and API References
- No associated API
tcat devid
Sets/clears vendor specific device ID.
পরামিতি
tcat devid [value|clear]
- The
valuehexstring value of the ID.clearis a special value removing previously set ID.
উদাহরণ
tcat devid ianapen f378aabb
DoneCLI and API References
- No associated API
tcat start
Starts TCAT operation.
পরামিতি
No parameters.
উদাহরণ
tcat start
DoneCLI and API References
- otBleSecureSetCertificate
- otBleSecureSetCaCertificateChain
- otBleSecureSetSslAuthMode
- otBleSecureSetTcatVendorInfo
- otBleSecureStart
- otBleSecureTcatStart
tcat স্টপ
Stops TCAT operation.
পরামিতি
No parameters.
উদাহরণ
tcat stop
DoneCLI and API References
tcp abort
Unceremoniously ends the TCP connection associated with the example TCP endpoint, transitioning the TCP endpoint to the closed state.
পরামিতি
No parameters.
উদাহরণ
tcp abort
TCP: Connection reset
DoneCLI and API References
tcp benchmark result
Shows the latest result of the TCP benchmark test. Possible status values:
- চলমান
- সম্পন্ন
- পরীক্ষিত নয়
This command is primarily intended for creating scripts that automate the TCP benchmark test.
পরামিতি
No parameters.
উদাহরণ
tcp benchmark result
TCP Benchmark Status: Ongoing
Donetcp benchmark result
TCP Benchmark Status: Completed
TCP Benchmark Complete: Transferred 73728 bytes in 7056 milliseconds
TCP Goodput: 83.592 kb/sCLI and API References
- No associated API
tcp benchmark run
Transfers the specified number of bytes using the TCP connection currently associated with the example TCP endpoint provided by the tcp CLI.
পরামিতি
tcp benchmark run [size]
Use the size parameter to specify the number of bytes to send for the benchmark. If you do not use the size parameter, the default value ( OPENTHREAD_CONFIG_CLI_TCP_DEFAULT_BENCHMARK_SIZE ) is used.
উদাহরণ
tcp benchmark run
Done
TCP Benchmark Complete: Transferred 73728 bytes in 7233 milliseconds
TCP Goodput: 81.546 kb/sCLI and API References
- No associated API
tcp bind
Associates an IPv6 address and a port to the example TCP endpoint provided by the tcp CLI. Associating the TCP endpoint to an IPv6 address and port is referred to as "naming the TCP endpoint." This binds the endpoint for communication. For more information, refer to Test TCP Functionality With OT CLI .
পরামিতি
tcp bind ip port
-
ip: IPv6 address to bind to. If you wish to have the TCP/IPv6 stack assign the binding IPv6 address, use the unspecified IPv6 address:::. -
port: TCP port number to bind to.
উদাহরণ
tcp bind :: 30000
DoneCLI and API References
tcp connect
Establishes a connection with the specified peer.
If the connection establishment is successful, the resulting TCP connection is associated with the example TCP endpoint. For more information, refer to Test TCP Functionality With OT CLI .
পরামিতি
tcp connect ip port [fastopen]
-
ip: IP address of the peer The address can be an IPv4 address, which gets synthesized to an IPv6 address using the preferred NAT64 prefix from the network data. The command returnsInvalidStatewhen the preferred NAT64 prefix is unavailable. -
port: TCP port number of the peer. -
fastopen: This parameter is optional. If set tofast, TCP Fast Open is enabled for this connection. Otherwise, if this parameter is set toslowor not used, TCP Fast Open is disabled.
উদাহরণ
tcp connect fe80:0:0:0:a8df:580a:860:ffa4 30000
Done
TCP: Connection establishedtcp connect 172.17.0.1 1234
Connecting to synthesized IPv6 address: fdde:ad00:beef:2:0:0:ac11:1
DoneCLI and API References
tcp deinit
Deinitializes this TCP endpoint.
This means that OpenThread no longer keeps track of this TCP endpoint and deallocates all resources it has internally allocated for this TCP endpoint. The application can reuse the memory backing the TCP endpoint as it sees fit.
If it corresponds to a live TCP connection, the connection is terminated unceremoniously (as in otTcpAbort() ). All resources the application has provided for this TCP endpoint (linked buffers for the send buffer, memory for the receive buffer, the aEndpoint structure itself, etc.) are immediately returned to the application.
পরামিতি
No parameters.
উদাহরণ
tcp deinit
DoneCLI and API References
tcp init
Initializes the example TCP listener and the example TCP endpoint provided by the tcp CLI.
পরামিতি
tcp init [mode] [size]
- The
modehas three possible values:-
tls: Specifies that the TCP connection between two nodes should also use the TLS protocol on top of TCP. When two nodes communicate over TCP, both nodes must either use TLS or neither node should use TLS because a non-TLS endpoint cannot communicate with a TLS endpoint. -
linkedorcircular: Either one of these options means that TLS is not to be used, and the specified buffering type should be used for TCP buffering. The behavior oflinkedandcircularis identical. Examine the code for the differences between these two buffering types. Two endpoints of a TCP connection are not required to use the same buffering type.
-
- The
sizeparameter sets the size of the receive buffer to associate with the example TCP endpoint. If left unspecified, the maximum size is used. The maximum size is set inOPENTHREAD_CONFIG_CLI_TCP_RECEIVE_BUFFER_SIZE.
উদাহরণ
tcp init tls
DoneCLI and API References
tcp listen
Uses the example TCP listener to listen for incoming connections on the specified IPv6 address and port. For more information, refer to Test TCP Functionality With OT CLI .
পরামিতি
tcp listen ip port
The following parameters are required:
-
ip: IPv6 address or the unspecified IPv6 address (::) of the example TCP listener provided by thetcpCLI. -
port: TCP port of the example TCP listener. If no TCP connection is associated with the example TCP endpoint, then any incoming connections matching the specified IPv6 address and port are accepted and are associated with the example TCP endpoint.
উদাহরণ
tcp listen :: 30000
DoneCLI and API References
tcp send
Sends data over the TCP connection associated with the example TCP endpoint that is provided with the tcp CLI. For more information, refer to Test TCP Functionality With OT CLI .
পরামিতি
tcp send message
The message parameter contains the message you want to send to the remote TCP endpoint.
উদাহরণ
tcp send hello
DoneCLI and API References
- No associated API
tcp sendend
Sends the "end of stream" signal over the TCP connection associated with the example TCP endpoint provided by the tcp CLI. This alerts the peer that it will not receive any more data over this TCP connection.
পরামিতি
No parameters.
উদাহরণ
tcp sendend
DoneCLI and API References
tcp stoplistening
Instructs the example TCP listener to stop listening for incoming TCP connections.
পরামিতি
No parameters.
উদাহরণ
tcp stoplistening
DoneCLI and API References
test tmforiginfilter
Enables or disables the filter to drop TMF UDP messages from untrusted origin.
By default the filter that drops TMF UDP messages from untrusted origin is enabled. When disabled, UDP messages sent to the TMF port that originate from untrusted origin (such as host, CLI or an external IPv6 node) will be allowed.
পরামিতি
test tmforiginfilter [enable|disable]
উদাহরণ
test tmforiginfilter
Enabledtest tmforiginfilter enable
Donetest tmforiginfilter disable
DoneCLI and API References
- No associated API
thread start
Starts the Thread protocol operation.
পরামিতি
No parameters.
উদাহরণ
thread start
DoneCLI and API References
thread stop
Stops the Thread protocol operation.
পরামিতি
No parameters.
উদাহরণ
thread stop
DoneCLI and API References
- No associated API
thread version
Gets the Thread protocol version.
The constants OT_THREAD VERSION * define the numerical version values.
পরামিতি
No parameters.
উদাহরণ
thread version
2
DoneCLI and API References
timeinqueue max
Gets the maximum time-in-queue for messages in the TX queue.
Requires OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_ENABLE .
The time-in-queue is tracked for direct transmissions only and is measured as the duration from when a message is added to the transmit queue until it is passed to the MAC layer for transmission or dropped.
The collected statistics can be reset by calling otThreadResetTimeInQueueStat() .
পরামিতি
No parameters.
উদাহরণ
timeinqueue max
281
DoneCLI and API References
timeinqueue reset
Resets the TX queue time-in-queue statistics.
Requires OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_ENABLE .
পরামিতি
No parameters.
উদাহরণ
timeinqueue reset
DoneCLI and API References
timeinqueue
Gets the time-in-queue histogram for messages in the TX queue.
Requires OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_ENABLE .
Histogram of the time-in-queue of messages in the transmit queue is collected. The time-in-queue is tracked for direct transmissions only and is measured as the duration from when a message is added to the transmit queue until it is passed to the MAC layer for transmission or dropped.
The histogram is returned as an array of uint32_t values with aNumBins entries. The first entry in the array (at index 0) represents the number of messages with a time-in-queue less than aBinInterval . The second entry represents the number of messages with a time-in-queue greater than or equal to aBinInterval , but less than 2 * aBinInterval . ইত্যাদি। The last entry represents the number of messages with time-in-queue greater than or equal to (aNumBins - 1) * aBinInterval .
The collected statistics can be reset by calling otThreadResetTimeInQueueStat() . The histogram information is collected since the OpenThread instance was initialized or since the last time statistics collection was reset by calling the otThreadResetTimeInQueueStat() .
Pointers aNumBins and aBinInterval MUST NOT be NULL.
পরামিতি
No parameters.
উদাহরণ
timeinqueue
| Min | Max |Msg Count|
+------+------+---------+
| 0 | 9 | 1537 |
| 10 | 19 | 156 |
| 20 | 29 | 57 |
| 30 | 39 | 108 |
| 40 | 49 | 60 |
| 50 | 59 | 76 |
| 60 | 69 | 88 |
| 70 | 79 | 51 |
| 80 | 89 | 86 |
| 90 | 99 | 45 |
| 100 | 109 | 43 |
| 110 | 119 | 44 |
| 120 | 129 | 38 |
| 130 | 139 | 44 |
| 140 | 149 | 35 |
| 150 | 159 | 41 |
| 160 | 169 | 34 |
| 170 | 179 | 13 |
| 180 | 189 | 24 |
| 190 | 199 | 3 |
| 200 | 209 | 0 |
| 210 | 219 | 0 |
| 220 | 229 | 2 |
| 230 | 239 | 0 |
| 240 | 249 | 0 |
| 250 | 259 | 0 |
| 260 | 269 | 0 |
| 270 | 279 | 0 |
| 280 | 289 | 0 |
| 290 | 299 | 1 |
| 300 | 309 | 0 |
| 310 | 319 | 0 |
| 320 | 329 | 0 |
| 330 | 339 | 0 |
| 340 | 349 | 0 |
| 350 | 359 | 0 |
| 360 | 369 | 0 |
| 370 | 379 | 0 |
| 380 | 389 | 0 |
| 390 | 399 | 0 |
| 400 | 409 | 0 |
| 410 | 419 | 0 |
| 420 | 429 | 0 |
| 430 | 439 | 0 |
| 440 | 449 | 0 |
| 450 | 459 | 0 |
| 460 | 469 | 0 |
| 470 | 479 | 0 |
| 480 | 489 | 0 |
| 490 | inf | 0 |
DoneCLI and API References
trel (enable,disable)
Enables or disables the TREL radio operation.
পরামিতি
trel enable|disable
উদাহরণ
trel enable
Donetrel disable
DoneCLI and API References
trel counters reset
Resets the TREL counters.
পরামিতি
No parameters.
উদাহরণ
trel counters reset
DoneCLI and API References
trel counters
Gets the TREL counters.
পরামিতি
No parameters.
উদাহরণ
trel counters
Inbound: Packets 32 Bytes 4000
Outbound: Packets 4 Bytes 320 Failures 1
DoneCLI and API References
trel filter (enable,disable)
Enables or disables TREL filter mode.
পরামিতি
trel filter enable|disable
উদাহরণ
trel filter enable
Donetrel filter disable
DoneCLI and API References
trel filter
Indicates whether TREL filter mode is enabled.
When filter mode is enabled, all Rx and Tx traffic sent through the TREL interface gets silently dropped.
পরামিতি
No parameters.
উদাহরণ
trel filter
Disabled
DoneCLI and API References
trel peers
Gets the TREL peer table in table or list format.
পরামিতি
trel peers [list]
উদাহরণ
trel peers
| No | Ext MAC Address | Ext PAN Id | IPv6 Socket Address |
+-----+------------------+------------------+--------------------------------------------------+
| 1 | 5e5785ba3a63adb9 | f0d9c001f00d2e43 | [fe80:0:0:0:cc79:2a29:d311:1aea]:9202 |
| 2 | ce792a29d3111aea | dead00beef00cafe | [fe80:0:0:0:5c57:85ba:3a63:adb9]:9203 |
Donetrel peers list
001 ExtAddr:5e5785ba3a63adb9 ExtPanId:f0d9c001f00d2e43 SockAddr:[fe80:0:0:0:cc79:2a29:d311:1aea]:9202
002 ExtAddr:ce792a29d3111aea ExtPanId:dead00beef00cafe SockAddr:[fe80:0:0:0:5c57:85ba:3a63:adb9]:9203
DoneCLI and API References
trel port
Gets the UDP port of the TREL interface.
পরামিতি
No parameters.
উদাহরণ
trel port
49153
DoneCLI and API References
trel
Indicates whether the TREL operation is enabled.
পরামিতি
No parameters.
উদাহরণ
trel
Enabled
DoneCLI and API References
tvcheck (enable,disable)
Enables or disables the Thread version check when upgrading to router or leader. This check is enabled by default.
পরামিতি
No parameters.
উদাহরণ
tvcheck enable
Donetvcheck disable
DoneCLI and API References
txpower (get,set)
Gets (or sets with the use of the optional txpower argument) the transmit power in dBm.
পরামিতি
txpower [txpower]
উদাহরণ
txpower -10
Donetxpower
-10 dBm
DoneCLI and API References
udp bind
Assigns an IPv6 address and a port to an open socket, which binds the socket for communication. Assigning the IPv6 address and port is referred to as naming the socket. For more information, refer to Test UDP Functionality With OT CLI .
পরামিতি
udp bind [netif] ip port
-
netif: The binding network interface, which is determined as follows:- No value (leaving out this parameter from the command): Thread network interface is used.
-
-u: Unspecified network interface, which means that the UDP/IPv6 stack determines which network interface to bind the socket to. -
-b: Backbone network interface is used.
-
ip: Unicast IPv6 address to bind to. If you wish to have the UDP/IPv6 stack assign the binding IPv6 address, or if you wish to bind to multicast IPv6 addresses, then you can use the following value to use the unspecified IPv6 address:::. Each example uses the unspecified IPv6 address. -
port: UDP port number to bind to. Each of the examples is using port number 1234.
উদাহরণ
udp bind :: 1234
Doneudp bind -u :: 1234
Doneudp bind -b :: 1234
DoneCLI and API References
udp close
Close a UDP/IPv6 socket.
পরামিতি
No parameters.
উদাহরণ
udp close
DoneCLI and API References
udp connect
Connect a UDP/IPv6 socket.
পরামিতি
udp connect ip port
The following parameters are required:
-
ip: IP address of the peer. -
port: UDP port number of the peer. The address can be an IPv4 address, which gets synthesized to an IPv6 address using the preferred NAT64 prefix from the network data. The command returnsInvalidStatewhen the preferred NAT64 prefix is unavailable.
উদাহরণ
udp connect fdde:ad00:beef:0:bb1:ebd6:ad10:f33 1234
Doneudp connect 172.17.0.1 1234
Connecting to synthesized IPv6 address: fdde:ad00:beef:2:0:0:ac11:1
DoneCLI and API References
udp linksecurity (enable,disable)
Enables or disables link security.
পরামিতি
কোন প্যারামিটার নেই।
উদাহরণ
udp linksecurity enable
Doneudp linksecurity disable
DoneCLI and API References
- No associated API
udp linksecurity
Indicates whether link security is enabled or disabled.
পরামিতি
No parameters.
উদাহরণ
udp linksecurity
Enabled
DoneCLI and API References
- No associated API
udp open
Open a UDP/IPv6 socket.
পরামিতি
No parameters.
উদাহরণ
udp open
DoneCLI and API References
udp send
Sends a UDP message using the socket. For more information, refer to Test UDP Functionality With OT CLI .
পরামিতি
udp send [ip port] [type] value
The ip and port are optional as a pair, but if you specify one you must specify the other. If ip and port are not specified, the socket peer address is used from udp connect .
-
ip: Destination address. This address can be either an IPv4 or IPv6 address, An IPv4 address gets synthesized to an IPv6 address with the preferred NAT64 prefix from the network data. (If the preferred NAT64 prefix is unavailable, the command returnsInvalidState). -
port: UDP destination port. -
type/valuecombinations:-
-t: The payload in thevalueparameter is treated as text. If notypevalue is entered, the payload in thevalueparameter is also treated as text. -
-s: Auto-generated payload with the specified length given in thevalueparameter. -
-x: Binary data in hexadecimal representation given in thevalueparameter.
-
উদাহরণ
udp send hello
Doneudp send -t hello
Doneudp send -x 68656c6c6f
Doneudp send -s 800
Doneudp send fdde:ad00:beef:0:bb1:ebd6:ad10:f33 1234 hello
Doneudp send 172.17.0.1 1234 hello
Sending to synthesized IPv6 address: fdde:ad00:beef:2:0:0:ac11:1
Doneudp send fdde:ad00:beef:0:bb1:ebd6:ad10:f33 1234 -t hello
Doneudp send fdde:ad00:beef:0:bb1:ebd6:ad10:f33 1234 -x 68656c6c6f
Doneudp send fdde:ad00:beef:0:bb1:ebd6:ad10:f33 1234 -s 800
DoneCLI and API References
unsecure get
Lists all ports from the allowed unsecured port list.
পরামিতি
No parameters.
উদাহরণ
unsecure get
1234
DoneCLI and API References
unsecureport add
Adds a port to the allowed unsecured port list.
পরামিতি
unsecureport add port
উদাহরণ
unsecureport add 1234
DoneCLI and API References
unsecureport remove
Removes a specified port or all ports from the allowed unsecured port list.
পরামিতি
unsecureport remove port|all
উদাহরণ
unsecureport remove 1234
Doneunsecureport remove all
DoneCLI and API References
uptime ms
Returns the current instance uptime (in msec).
Requires OPENTHREAD_CONFIG_UPTIME_ENABLE to be enabled.
The uptime is given as number of milliseconds since OpenThread instance was initialized.
পরামিতি
No parameters.
উদাহরণ
uptime ms
426238
DoneCLI and API References
আপটাইম
Returns the current instance uptime as a human-readable string.
Requires OPENTHREAD_CONFIG_UPTIME_ENABLE to be enabled.
The string follows the format "
If the resulting string does not fit in aBuffer (within its aSize characters), the string will be truncated but the outputted string is always null-terminated.
পরামিতি
No parameters.
উদাহরণ
uptime
12:46:35.469
DoneCLI and API References
vendor appurl (set)
Set the vendor app URL string.
Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE .
aVendorAppUrl should be UTF8 with max length of 64 chars ( MAX_VENDOR_APPL_URL_TLV_LENGTH ). Maximum length does not include the null \0 character.
পরামিতি
vendor appurl url
উদাহরণ
vendor appurl http://www.example.com
DoneCLI and API References
vendor appurl
Get the vendor app URL string.
পরামিতি
No parameters.
উদাহরণ
vendor appurl
http://www.example.com
DoneCLI and API References
vendor model (set)
Set the vendor model string.
Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE .
aVendorModel should be UTF8 with max length of 32 chars ( MAX_VENDOR_MODEL_TLV_LENGTH ). Maximum length does not include the null \0 character.
পরামিতি
vendor model name
উদাহরণ
vendor model Hub\ Max
DoneCLI and API References
vendor model
Get the vendor model string.
পরামিতি
No parameters.
উদাহরণ
vendor model
Hub Max
DoneCLI and API References
vendor name (set)
Set the vendor name string.
Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE .
aVendorName should be UTF8 with max length of 32 chars ( MAX_VENDOR_NAME_TLV_LENGTH ). Maximum length does not include the null \0 character.
পরামিতি
vendor name name
উদাহরণ
vendor name nest
DoneCLI and API References
বিক্রেতার নাম
Get the vendor name string.
পরামিতি
No parameters.
উদাহরণ
vendor name
nest
DoneCLI and API References
vendor swversion (set)
Set the vendor software version string.
Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE .
aVendorSwVersion should be UTF8 with max length of 16 chars( MAX_VENDOR_SW_VERSION_TLV_LENGTH ). Maximum length does not include the null \0 character.
পরামিতি
vendor swversion version
উদাহরণ
vendor swversion Marble3.5.1
DoneCLI and API References
vendor swversion
Get the vendor software version string.
পরামিতি
No parameters.
উদাহরণ
vendor swversion
Marble3.5.1
DoneCLI and API References
verhoeff calculate
Calculates the Verhoeff checksum for a given decimal string.
Requires OPENTHREAD_CONFIG_VERHOEFF_CHECKSUM_ENABLE .
পরামিতি
verhoeff calculate decimalstring
উদাহরণ
verhoeff calculate 30731842
1
DoneCLI and API References
verhoeff validate
Validates the Verhoeff checksum for a given decimal string.
Requires OPENTHREAD_CONFIG_VERHOEFF_CHECKSUM_ENABLE .
পরামিতি
verhoeff validate decimalstring
উদাহরণ
verhoeff validate 307318421
DoneCLI and API References
version api
Prints the API version number.
পরামিতি
No parameters.
উদাহরণ
version api
28
DoneCLI and API References
- No associated API
সংস্করণ
Gets the OpenThread version string.
পরামিতি
No parameters.
উদাহরণ
version
OPENTHREAD/gf4f2f04; Jul 1 2016 17:00:09
Done