added macros to indicate IP packet sent/received
added rgb 565 image support