protected override void EncodePayload(Frame frame) { frame.Write(0, panId); frame.Write(2, coordinatorShortAddr); frame.Write(4, channel); frame.Write(5, shortAddr); if (channelPagePresent) frame.Write(7, channelPage); else frame.DeleteFromBack(1); }