Skip to content

TembooMQTTIPStack

詳細情報

メンバー

TembooMQTTIPStack()

TembooMQTTIPStack::TembooMQTTIPStack(Client &client)

引数

  • Client& client

connect()

int TembooMQTTIPStack::connect(const char *hostname, int port)

引数

  • constchar * hostname
  • int port

戻り値

int

isConnected()

bool TembooMQTTIPStack::isConnected()

戻り値

bool

disconnect()

int TembooMQTTIPStack::disconnect()

戻り値

int

read()

int TembooMQTTIPStack::read(unsigned char *buffer, int len, int timeoutMillis)

引数

  • unsigned char * buffer
  • int len
  • int timeoutMillis

戻り値

int

write()

int TembooMQTTIPStack::write(unsigned char *buffer, int len, int timeout)

引数

  • unsigned char * buffer
  • int len
  • int timeout

戻り値

int