Receive data from another NXT brick over Bluetooth
Receive data from another NXT brick over the built-in Bluetooth® device. The model running on the other NXT brick must contain a Send via Bluetooth Connection block.
To establish multiple channels between the two NXT bricks, use multiple pairs of Bluetooth blocks, and set the Mailbox parameters for each pair to a unique number. This approach cannot be used to establish communication between more than two NXT bricks.
Set the Mailbox parameter in both the Send via Bluetooth Connection and Receive via Bluetooth Connection blocks to the same number.
Match the Data type parameter with the data type of the incoming data.
Match the Message size (elements) parameter with the number of elements in the incoming data. For example, if the data type of the incoming data is single and the dimensions are [2x2], set the Message size (elements) parameter to single and set the Message size (elements) to 4.
Specify how often the block reads buffer values.
Smaller values require the processor to complete the same number of instructions in less time, which can cause task overruns.