MEC_TXD_BUFSIZE
#define MEC_TXD_BUFSTART(len) (MEC_TXD_BUFSIZE - (len))
uint8_t txbuf[MEC_TXD_BUFSIZE];
if (len <= MEC_TXD_BUFSIZE) {