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