Implement packet constructor for arduino and send.