added hardware tx function outline. to be implemeted