PRADEEP NAZARETH
PRADEEP NAZARETH

Reputation: 167

Regarding Transmission and receiving Acknowledgement in UnetStack MAC layer

Implementing Acknowledgement mechanisms in unetstack

Kindly provide information of implementing transmission/receiving of acknowledgement in MAC layer using UnetStack

Upvotes: 1

Views: 90

Answers (1)

Mandar Chitre
Mandar Chitre

Reputation: 2280

It is easy to transmit ACK frames using the TxFrameReq messages sent to the Physical service, and receive them on the other side by subscribing to the Physical service and looking for RxFrameNtf messages. You'd want to use Protocol.MAC as your protocol number, so you can filter messages intended for MAC by protocol number.

An example of this is in the MAC tutorial (see section on "Simple MAC with handshake").

Good luck with your implementation!

Upvotes: 1

Related Questions