publish and receive serial cmmands