Skip to content

TembooCoAPClient

詳細情報

メンバー

TembooCoAPClient()

TembooCoAPClient::TembooCoAPClient(TembooCoAPIPStack &ipStack, IPAddress gatewayAddress, uint16_t gatewayPort=DEFAULT_COAP_PORT)

引数

  • TembooCoAPIPStack& ipStack
  • IPAddress gatewayAddress
  • uint16_t gatewayPort

~TembooCoAPClient()

TembooCoAPClient::~TembooCoAPClient()

begin()

void TembooCoAPClient::begin(long seed)

引数

  • long seed

write()

TembooCoAPClient::Result TembooCoAPClient::write(uint8_t value)

引数

  • uint8_t value

戻り値

Result

write()

TembooCoAPClient::Result TembooCoAPClient::write(uint8_t *value, uint16_t len)

引数

  • uint8_t * value
  • uint16_t len

戻り値

Result

clearData()

void TembooCoAPClient::clearData()

loop()

TembooCoAPClient::Result TembooCoAPClient::loop()

戻り値

Result

sendChoreoRequest()

TembooCoAPClient::Result TembooCoAPClient::sendChoreoRequest()

戻り値

Result

getPacketBuffer()

uint8_t* TembooCoAPClient::getPacketBuffer()

戻り値

uint8_t *

getPacketBufferSize()

int32_t TembooCoAPClient::getPacketBufferSize()

戻り値

int32_t

getPacketLength()

int32_t TembooCoAPClient::getPacketLength()

戻り値

int32_t

getRespHttpCode()

int16_t TembooCoAPClient::getRespHttpCode()

戻り値

int16_t

getState()

State TembooCoAPClient::getState()

戻り値

State

sendBlockRequest()

TembooCoAPClient::Result TembooCoAPClient::sendBlockRequest(uint16_t msgID, uint32_t blockNum)

引数

  • uint16_t msgID
  • uint32_t blockNum

戻り値

Result

resetChoreo()

void TembooCoAPClient::resetChoreo()

getMessageState()

int TembooCoAPClient::getMessageState()

戻り値

int

requestTime()

Result TembooCoAPClient::requestTime(uint16_t msgID)

引数

  • uint16_t msgID

戻り値

Result