format lcd display and respond to ip command