2016-08-10 22:10:40 +02:00
|
|
|
# Set Transmit Serial Number
|
|
|
|
|
|
|
|
Make the ``radio`` packet embed the board serial number with each packet of data.
|
|
|
|
|
|
|
|
```sig
|
|
|
|
radio.setTransmitSerialNumber(true);
|
|
|
|
```
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
2017-03-16 15:57:41 +01:00
|
|
|
* ``transmit`` is a [boolean](/types/boolean) that represents whether the serial number needs to be transmitted.
|
2016-08-10 22:10:40 +02:00
|
|
|
|
|
|
|
### Example
|
|
|
|
|
|
|
|
This program makes the ``radio`` send the serial number in each packet.
|
|
|
|
|
|
|
|
```blocks
|
|
|
|
radio.setTransmitSerialNumber(true);
|
|
|
|
```
|
|
|
|
|
|
|
|
### See also
|
|
|
|
|
2016-10-25 01:30:21 +02:00
|
|
|
[on data packet received](/reference/radio/on-data-packet-received),
|
|
|
|
[send number](/reference/radio/send-number),
|
|
|
|
[send value](/reference/radio/send-value),
|
|
|
|
[send string](/reference/radio/send-string)
|
2016-08-10 22:10:40 +02:00
|
|
|
|
|
|
|
```package
|
2016-10-23 06:29:31 +02:00
|
|
|
radio
|
2016-08-10 22:10:40 +02:00
|
|
|
```
|