Character driver complete. Need to add protocol part of the code