比如我想在发送某条数据时,想把“MAC Heade”中的"Frame Control"修改以下,有什么方法可以实现吗?比如下边图中的这个控制字,我想把Frame Pending这个标志位设置为1,也就是把"Frame Control"由现在的8861改为8871:
我用了void MAC_SrcMatchAckAllPending ( uint8 option ) 这个函数,看他的函数描述,option 设置为TRUE后,所有的数据包的pending位都会置位,但是,没起作用。??
/*********************************************************************
* @fn MAC_SrcMatchAckAllPending
*
* @brief Enabled/disable acknowledging all packets with pending bit set
* The application normally enables it when adding new entries to
* the source address table fails due to the table is full, or
* disables it when more entries are deleted and the table has
* empty slots.
*
* @param option - TRUE (acknowledging all packets with pending field set)
* FALSE (address filtering and FSM control sets
* the pending field)
*
* @return none
*/
