NULL //security
);
MHR(&m_emptyDataFrame)[MHR_INDEX_FC1] |= FC1_FRAMETYPE_DATA;
- m_emptyDataFrame.headerLen = 9;
+ m_emptyDataFrame.headerLen = call IEEE154Frame.getHeaderLength(emptyDataMsg);
m_emptyDataFrame.client = 1; // lock
if (call CoordCapTx.transmit(&m_emptyDataFrame) != IEEE154_SUCCESS)
m_emptyDataFrame.client = 0; // unlock