Initial definition of Protocol object.
Update for arduino library.