pxt-calliope/docs/reference/radio/set-transmit-serial-number.md
Peli de Halleux 2b504d863d
Radiodocsupdate (#1430)
* a few updates

* more updates

* reorder radio blocks

* more shuffling of new radio apis

* fixing hot or ocold

* more doc fixes

* more updates

* fixing docs issues

* more doc fixes

* restore docs errors

* missing packate

* renamed argument of callback

* mssing radio

* more odcs fixes

* lock turtle

* ignore docs for now
2018-10-15 15:32:09 -07:00

738 B

set Transmit Serial Number

Make the radio packet embed the board serial number with each packet of data.

radio.setTransmitSerialNumber(true);

Parameters

  • transmit is a boolean that, when true, means that the board serial number is included in each transmitted packet. If false, the serial number value is set to 0.

Example

This program makes the radio send the serial number in each packet.

radio.setTransmitSerialNumber(true);

See also

received packet property, send number, send value, send string

radio