Skip to content

CoapMessageLayer

詳細情報

メンバー

ACK_TIMEOUT

const uint32_t CoapMessageLayer::ACK_TIMEOUT

MAX_ACK_TIMEOUT

const uint32_t CoapMessageLayer::MAX_ACK_TIMEOUT

MAX_RETRANSMIT

const uint8_t CoapMessageLayer::MAX_RETRANSMIT

MAX_TRANSMIT_SPAN

const uint32_t CoapMessageLayer::MAX_TRANSMIT_SPAN

MAX_TRANSMIT_WAIT

const uint32_t CoapMessageLayer::MAX_TRANSMIT_WAIT

CoapMessageLayer()

CoapMessageLayer::CoapMessageLayer(uint8_t *rxBuffer, uint16_t rxLen, TembooCoAPIPStack &ipStack)

引数

  • uint8_t * rxBuffer
  • uint16_t rxLen
  • TembooCoAPIPStack& ipStack

reliableSend()

CoapMessageLayer::Result CoapMessageLayer::reliableSend(CoapMsg &msg, IPAddress destAddr, uint16_t destPort)

引数

  • CoapMsg& msg
  • IPAddress destAddr
  • uint16_t destPort

戻り値

Result

cancelReliableSend()

CoapMessageLayer::Result CoapMessageLayer::cancelReliableSend()

戻り値

Result

acceptMsg()

CoapMessageLayer::Result CoapMessageLayer::acceptMsg(CoapMsg &msg)

引数

  • CoapMsg& msg

戻り値

Result

acceptMsg()

CoapMessageLayer::Result CoapMessageLayer::acceptMsg(CoapMsg &msg, IPAddress addr, uint16_t port)

引数

  • CoapMsg& msg
  • IPAddress addr
  • uint16_t port

戻り値

Result

rejectMsg()

CoapMessageLayer::Result CoapMessageLayer::rejectMsg(CoapMsg &msg)

引数

  • CoapMsg& msg

戻り値

Result

rejectMsg()

CoapMessageLayer::Result CoapMessageLayer::rejectMsg(CoapMsg &msg, IPAddress addr, uint16_t port)

引数

  • CoapMsg& msg
  • IPAddress addr
  • uint16_t port

戻り値

Result

loop()

CoapMessageLayer::Result CoapMessageLayer::loop()

戻り値

Result

getLastResult()

Result CoapMessageLayer::getLastResult()

戻り値

Result

getRXByteCount()

uint16_t CoapMessageLayer::getRXByteCount()

戻り値

uint16_t

setState()

void CoapMessageLayer::setState(State state)

引数

  • State state