An introduction to SPI on XBee radios