Modified tos.py to send a full serial packet at a time.