I have adapted the French Denon remote app from french forum to Marantz.
Added bunch of stuff from the attached protocoll.
Added Eco mode On/Off
Added 11 more Surround sound modes
Added 10 Sources
Upload and edit ip varible to get it working.
The rest of the varibles should not be changed.
You can customize the sources buttons names in the edit panel.
If you wanna check code before downloading, you can also visit my repo for this