Convert transmit buffers from byte/bit to bit/bit
Use shared rawhid settings constants in client

Also tweak bandwidth constants.
Support macros in client
Add sample macro