Skip to content

MailboxClass

詳細情報

メンバー

MailboxClass()

MailboxClass::MailboxClass(BridgeClass &b=Bridge)

引数

  • BridgeClass& b

begin()

void MailboxClass::begin()

end()

void MailboxClass::end()

readMessage()

unsigned int MailboxClass::readMessage(uint8_t *buffer, unsigned int size)

引数

  • uint8_t * buffer
  • unsigned int size

戻り値

unsigned int

readMessage()

void MailboxClass::readMessage(String &str, unsigned int maxLength=128)

引数

  • String & str
  • unsigned int maxLength

writeMessage()

void MailboxClass::writeMessage(const uint8_t *buffer, unsigned int size)

引数

  • constuint8_t * buffer
  • unsigned int size

writeMessage()

void MailboxClass::writeMessage(const String &str)

引数

  • constString & str

writeJSON()

void MailboxClass::writeJSON(const String &str)

引数

  • constString & str

messageAvailable()

unsigned int MailboxClass::messageAvailable()

戻り値

unsigned int