공장 진단
이 모듈에는 진단 기능을위한 플랫폼 추상화가 포함되어 있습니다.
요약
기능 | |
---|---|
otPlatDiagAlarmCallback ( otInstance *aInstance) | void 이 기능은 알람 이벤트를 처리합니다. |
otPlatDiagChannelSet (uint8_t aChannel) | void 이 기능은 공장 진단에 사용할 채널을 설정합니다. |
otPlatDiagModeGet (void) | bool 이 기능은 공장 진단 모드가 활성화되었는지 여부를 나타냅니다. |
otPlatDiagModeSet (bool aMode) | void 이 기능은 공장 진단 모드를 활성화 / 비활성화합니다. |
otPlatDiagProcess ( otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) | 이 기능은 공장 진단 명령 줄을 처리합니다. |
otPlatDiagRadioReceived ( otInstance *aInstance, otRadioFrame *aFrame, otError aError) | void 이 기능은 수신 된 무선 프레임을 처리합니다. |
otPlatDiagTxPowerSet (int8_t aTxPower) | void 이 기능은 공장 진단에 사용할 송신 전력을 설정합니다. |
기능
otPlatDiagAlarmCallback
void otPlatDiagAlarmCallback( otInstance *aInstance )
이 기능은 알람 이벤트를 처리합니다.
세부 | |||
---|---|---|---|
매개 변수 |
|
otPlatDiagChannelSet
void otPlatDiagChannelSet( uint8_t aChannel )
이 기능은 공장 진단에 사용할 채널을 설정합니다.
세부 | |||
---|---|---|---|
매개 변수 |
|
otPlatDiagModeGet
bool otPlatDiagModeGet( void )
이 기능은 공장 진단 모드가 활성화되었는지 여부를 나타냅니다.
세부 | |
---|---|
보고 | 공장 진단 모드가 활성화 된 경우 TRUE, 그렇지 않으면 FALSE입니다. |
otPlatDiagModeSet
void otPlatDiagModeSet( bool aMode )
이 기능은 공장 진단 모드를 활성화 / 비활성화합니다.
세부 | |||
---|---|---|---|
매개 변수 |
|
otPlatDiagProcess
otError otPlatDiagProcess( otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen )
이 기능은 공장 진단 명령 줄을 처리합니다.
세부 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
매개 변수 |
| ||||||||||
반환 값 |
|
otPlatDiagRadioReceived
void otPlatDiagRadioReceived( otInstance *aInstance, otRadioFrame *aFrame, otError aError )
이 기능은 수신 된 무선 프레임을 처리합니다.
세부 | |||||||
---|---|---|---|---|---|---|---|
매개 변수 |
|
otPlatDiagTxPowerSet
void otPlatDiagTxPowerSet( int8_t aTxPower )
이 기능은 공장 진단에 사용할 전송 전력을 설정합니다.
세부 | |||
---|---|---|---|
매개 변수 |
|