Documentation Center

  • Trial Software
  • Product Updates


LEGO MINDSTORMS NXT Send via Bluetooth Connection

Send data to another NXT brick over Bluetooth


Simulink Support Package for LEGO MINDSTORMS NXT Hardware


Send data to another NXT brick over the built-in Bluetooth device. The model running on the other NXT brick must contain a Receive 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.

The maximum size for the block input is 64 bytes. The supported data types for the block input are uint8, int8, uint16, int16, uint32, int32, single, and double.

    Note:   Because External mode relies on a Bluetooth connection between the host computer and the NXT brick, you cannot use External mode with models that contain a Send via Bluetooth Connection block or a Receive via Bluetooth Connection block.

Dialog Box


Set the Mailbox parameter in both the Send via Bluetooth Connection and Receive via Bluetooth Connection blocks to the same number.

See Also


Related Examples

External Web Sites

Was this topic helpful?