hello all, I am trying to broadcast a 802.15.4 MAC packet in p802_15_4mac.cc file. My code is:
packet = Packet::alloc(); FrameCtrl frmCtrl; UINT_8 txop = 0; hdr_cmn *ch = HDR_CMN(packet); ch->direction() == hdr_cmn::DOWN; MCPS_DATA_request(index_,0, index_,defFrmCtrl_AddrMode16,0,p802_15_4macDA(packet),ch->size(),packet,0,txop); index_ is the srcAddress, inherited from MAC class. The problem is : [wpan/p802_15_4mac.cc::checkTaskOverflow][1.223884](node 76) task overflow: MCPS-DATA.request How can I send a mac message? I am in peer-to-peer 802.15.4 mode. Thanks in advance.