Write string to SD card and send string via xbee