Google은 흑인 공동체를 위한 인종적 평등을 추구하기 위해 노력하고 있습니다. 자세히 알아보기

원시 링크

이 모듈에는 원시 링크 레이어 구성을 제어하는 함수가 포함되어 있습니다.

요약

Typedef

otLinkRawEnergyScanDone)(otInstance *aInstance, int8_t aEnergyScanMaxRssi) typedef
void(*
IEEE 802.15.4 프레임이 수신되면 이 함수 포인터
otLinkRawReceiveDone)(otInstance *aInstance, otRadioFrame *aFrame, otError aError) typedef
void(*
IEEE 802.15.4 프레임이 수신되면 이 함수 포인터
otLinkRawTransmitDone)(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError) typedef
void(*
IEEE 802.15.4 프레임이 수신되면 이 함수 포인터

함수

otLinkRawEnergyScan(otInstance *aInstance, uint8_t aScanChannel, uint16_t aScanDuration, otLinkRawEnergyScanDone aCallback)
이 메서드는 라디오에서 에너지 스캔 순서를 시작합니다.
otLinkRawGetCaps(otInstance *aInstance)
라디오 기능을 이용하세요.
otLinkRawGetPromiscuous(otInstance *aInstance)
bool
이 함수는 무차별 모드의 상태를 가져옵니다.
otLinkRawGetRadioTime(otInstance *aInstance)
uint64_t
라디오 칩의 현재 플랫폼 시간 (64비트 너비)을 가져옵니다.
otLinkRawGetRssi(otInstance *aInstance)
int8_t
최신 RSSI 측정을 가져옵니다.
otLinkRawGetTransmitBuffer(otInstance *aInstance)
라디오가 Transmit에서 Receive로 전환됩니다.
otLinkRawIsEnabled(otInstance *aInstance)
bool
이 함수는 원시 링크 레이어의 사용 설정 여부를 나타냅니다.
otLinkRawReceive(otInstance *aInstance)
라디오를 절전 모드에서 수신 모드로 전환합니다.
otLinkRawSetMacFrameCounter(otInstance *aInstance, uint32_t aMacFrameCounter)
현재 MAC 프레임 카운터 값을 설정합니다.
otLinkRawSetMacFrameCounterIfLarger(otInstance *aInstance, uint32_t aMacFrameCounter)
새 값이 현재 값보다 큰 경우에만 현재 MAC 프레임 카운터 값을 설정합니다.
otLinkRawSetMacKey(otInstance *aInstance, uint8_t aKeyIdMode, uint8_t aKeyId, const otMacKey *aPrevKey, const otMacKey *aCurrKey, const otMacKey *aNextKey)
MAC 키와 키 색인을 업데이트합니다.
otLinkRawSetPromiscuous(otInstance *aInstance, bool aEnable)
이 함수는 무차별 모드를 사용 설정하거나 중지합니다.
otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback)
이 함수는 원시 링크 레이어를 사용 설정/사용 중지합니다.
otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress)
주소 필터링의 단축 주소를 설정합니다.
otLinkRawSleep(otInstance *aInstance)
라디오를 수신에서 절전 모드로 전환합니다.
otLinkRawSrcMatchAddExtEntry(otInstance *aInstance, const otExtAddress *aExtAddress)
소스 데이터 이동 색인에 확장 주소 추가
otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress)
소스 데이터 이동 색인에 짧은 주소 추가
otLinkRawSrcMatchClearExtEntries(otInstance *aInstance)
소스 데이터 이동 색인에서 모든 확장 주소 삭제
otLinkRawSrcMatchClearExtEntry(otInstance *aInstance, const otExtAddress *aExtAddress)
라디오의 소스 데이터 이동 색인에서 확장된 주소 삭제
otLinkRawSrcMatchClearShortEntries(otInstance *aInstance)
소스 데이터 이동 색인에서 짧은 주소 모두 삭제
otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress)
소스 데이터 이동 색인에서 단축 주소 삭제
otLinkRawSrcMatchEnable(otInstance *aInstance, bool aEnable)
대기 중인 프레임의 소스 일치를 사용/사용 중지합니다.
otLinkRawTransmit(otInstance *aInstance, otLinkRawTransmitDone aCallback)
이 메서드는 라디오에서 전송 시퀀스를 시작합니다.

Typedef

함수

자료

OpenThread API 참조 주제는 GitHub에서 제공되는 소스 코드에서 비롯됩니다. 자세한 내용을 보거나 문서에 참여하려면 리소스를 참고하세요.