Reference   Language | Libraries | Comparison | Changes

Bridge : Mailbox Class

messageAvailable()

Description

Checks and returns the size of the next available message.

Syntax

  • Mailbox.messageAvailable()

Parameters

none

Returns

int : The size of the next available message. Returns 0 if there is no messages in the queue.

See also

Bridge.transfer()


Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.