工場の診断 - スレッドスタック
このモジュールには、スレッド スタックの実行を制御する関数が含まれています。
概要
関数 |
|
|---|---|
otDiagIsEnabled(otInstance *aInstance)
|
bool
出荷時診断モードが有効かどうかを示します。
|
otDiagProcessCmd(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen)
|
工場出荷時診断のコマンドラインを処理します。
|
otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOutputMaxLen)
|
工場出荷時診断のコマンドラインを処理します。
|
関数
otDiagIsEnabled
bool otDiagIsEnabled( otInstance *aInstance )
出荷時診断モードが有効かどうかを示します。
| 詳細 | |||||
|---|---|---|---|---|---|
| パラメータ |
|
||||
| 戻り値 |
|
||||
otDiagProcessCmd
otError otDiagProcessCmd( otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen )
工場出荷時診断のコマンドラインを処理します。
この関数の出力(aOutput に書き込まれるコンテンツ)は \0 で終了しなければならず、\0 は出力バッファ内にあります。
| 詳細 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| パラメータ |
|
||||||||||
| 戻り値 |
|
||||||||||
otDiagProcessCmdLine
otError otDiagProcessCmdLine( otInstance *aInstance, const char *aString, char *aOutput, size_t aOutputMaxLen )
工場出荷時診断のコマンドラインを処理します。
この関数の出力(aOutput に書き込まれるコンテンツ)は \0 で終了しなければならず、\0 は出力バッファ内にあります。
| 詳細 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| パラメータ |
|
||||||||
| 戻り値 |
|
||||||||
関連情報
OpenThread API リファレンスのトピックは、GitHub で入手できるソースコードに由来しています。 詳細について、またはドキュメントへの投稿については、リソースをご覧ください。