Added support for AC cmd and tcp/serial responding