Why not just make up a single message for transmission using sprintf, and pick it apart using sscanf?