SDK
23.9.2
For IoT System Software Development
|
Double-Sided Two-Way Ranging: TDoA 기반으로 거리를 측정할 수 있는 저전력 MAC 프로토콜 More...
#include <DSTWRanging.hpp>
Public Member Functions | |
void | begin (PacketRadioChip &chip, uint16_t panId, const uint8_t *eui64, uint16_t shortId) |
void | onSendDone (void(*sendDoneHandler)(IEEE802_15_4Mac &radio, IEEE802_15_4Frame *frame, int64_t tof)) |
void | onSendDone (void(*sendDoneHandler)(IEEE802_15_4Mac &radio, IEEE802_15_4Frame *frame)) |
void | onReceiveProbe (void(*func)(uint16_t panId, const uint8_t *eui64, uint16_t shortId)) |
void | onReceive (void(*func)(IEEE802_15_4Mac &radio, const IEEE802_15_4Frame *frame)) |
void | onReceive (void(*func)(IEEE802_15_4Mac &radio, const IEEE802_15_4Frame *frame, int64_t tof)) |
void | setProbePeriod (uint32_t msec) |
void | scan () |
void | stopScanning () |
bool | isScanning () |
void | requestToF (bool) |
Public Member Functions inherited from IEEE802_15_4Mac | |
error_t | send (IEEE802_15_4Frame *frame) |
frame 을 전송합니다. More... | |
error_t | cancelSend (IEEE802_15_4Frame *frame) |
frame 전송을 취소합니다. More... | |
virtual void | onSendDone (void(*sendDoneHandler)(IEEE802_15_4Mac &, IEEE802_15_4Frame *)) |
전송이 완료될 때 호출될 함수를 지정합니다. More... | |
void | onReceive (void(*receiveHandler)(IEEE802_15_4Mac &, const IEEE802_15_4Frame *)) |
수신이 완료될 때 호출될 함수를 지정합니다. More... | |
Static Public Member Functions | |
static DSTWRanging * | Create () |
Static Public Member Functions inherited from IEEE802_15_4Mac | |
static int32_t | ConvertChToFreq2450MHz (uint16_t channelNumber) |
IEEE 802.15.4-2015 2450MHz 대역 채널번호-주파수 변환 함수 More... | |
static int32_t | ConvertChToFreq917MHzSUN_FSK1 (uint16_t channelNumber) |
IEEE 802.15.4-2015 917~923.5 MHz 대역 SUN FSK operating mode #1 채널번호-주파수 변환 함수 More... | |
Protected Member Functions | |
bool | checkTxFrame (IEEE802_15_4Frame *frame) |
void | handleRxFrame (IEEE802_15_4Frame *frame) |
void | notifySendDone (RadioPacket *frame) |
Protected Member Functions inherited from IEEE802_15_4Mac | |
bool | checkTxFrame (RadioPacket *frame) |
void | handleRxFrame (RadioPacket *frame) |
IEEE802_15_4Frame * | getNextTxFrame () |
Protected Member Functions inherited from PacketRadio | |
virtual void | sendDone (RadioPacket *frame, RadioPacket::Result_t) |
virtual void | receive (RadioPacket *frame) |
RadioPacket * | getNextTxFrame () |
error_t | enqueueTxFrame (RadioPacket *frame) |
virtual void | notifyReceive (RadioPacket *frame) |
error_t | send (RadioPacket *frame) |
frame 을 전송합니다. More... | |
error_t | cancelSend (RadioPacket *frame) |
frame 전송을 취소합니다. More... | |
void | onSendDone (void(*sendDoneHandler)(PacketRadio &, RadioPacket *)) |
전송이 완료될 때 호출될 함수를 지정합니다. More... | |
uint8_t | getNumPendingSendFrames () |
전송 대기 중인 프레임 갯수를 구합니다. More... | |
void | onReceive (void(*receiveHandler)(PacketRadio &, const RadioPacket *)) |
수신이 완료될 때 호출될 함수를 지정합니다. More... | |
void | setEventListener (PacketRadioEventListener &) |
전송 완료 및 수신 이벤트에 대해 PacketRadioEventListener 를 구현한 클래스로 콜백합니다. More... | |
Additional Inherited Members | |
Public Attributes inherited from IEEE802_15_4Mac | |
bool | useForceNoAckRequest = false |
전송할 프레임에 대해 강제로 Ack를 요청하지 않게 합니다. More... | |
Static Public Attributes inherited from IEEE802_15_4Mac | |
static uint16_t | HoppingSequenceList2450MHz [16] |
IEEE 802.15.4-2015 2450 MHz 대역을 위한 macHoppingSequenceList. More... | |
static uint16_t | HoppingSequenceList917MHzSUN_FSK1 [32] |
IEEE 802.15.4-2015 917~923.5 MHz 대역 SUN FSK operating mode #1 을 위한 macHoppingSequenceList. More... | |
Protected Types inherited from PacketRadio | |
enum | { TX_FIFO_SIZE = 10, RX_FIFO_SIZE = 10, TX_DONE_FIFO_SIZE = 10 } |
Protected Attributes inherited from PacketRadio | |
Queue< RadioPacket * > | txFifo |
Queue< RadioPacket * > | rxFifo |
Queue< RadioPacket * > | txDoneFifo |
void(* | callbackSendDone )(PacketRadio &, RadioPacket *) |
void(* | callbackReceive )(PacketRadio &, const RadioPacket *) |
PacketRadioEventListener * | eventListener |
Double-Sided Two-Way Ranging: TDoA 기반으로 거리를 측정할 수 있는 저전력 MAC 프로토콜