chg writeOutCmd() parameters, add DHudp frame