MAC protocol on GNU Radio

Hi all,

I am new to GNU Radio. I want to implement MAC protocol for Underwater
Acoustic Sensor Network on GNU Radio.

What is the best way to do this?

First my impression was I can implement it using m-block, but later I
found
that m-blocks are deprecated.

Is there any sample code I can start working on with?

Thanks,
Sagar