Posts: 475
Threads: 68
Joined: May 2015
I just got a new Marantz receiver and am trying to get it working via IP. It's not one of the models listed, but in looking at the protocol, it seems that at least the basics should work.
The issue I'm running into is one that was reported in the past. I'm stuck at "Wait for connect". I put in in verbose mode, and the error I'm seeing is this:
Code:
05/13 18:06:30-CQC-MASTER, CQCServer, CQCDrv_marantzThread17444
{
CQCGenDrvS, MEng.System.CQC.Drivers.Marantz.AV8801.DriverImpl.1162, Status/App Status
Exception in connect. Err=Timed out waiting for a message
}
I believe this is the same issue that was occurring in the past. Any ideas / suggestions, or am I out of luck?
Posts: 40,483
Threads: 491
Joined: Aug 2002
Generally the basics won't be good enough. The driver is trying to gather info from the device and if it can't it will not come online. Though, the message is that it timed out, so that could be that the IP address is wrong or it's IP interface needs to be enabled in the configuration or something like that.
Dean Roddey
Explorans limites defectum
Posts: 475
Threads: 68
Joined: May 2015
I did some testing and I can communicate to the receiver using Putty on port 23, and all the commands work as expected. Any other thoughts?
Posts: 475
Threads: 68
Joined: May 2015
05-15-2020, 02:35 PM
(This post was last modified: 05-15-2020, 03:07 PM by dlmorgan999.)
I believe I figured out the issue. I looked at the CML code for Connect method in the driver and tested the commands manually. All of them worked - until I got to zone 3. It turns out this receiver doesn't HAVE a zone 3 - only a zone 2. Now I just need to figure out the easiest/best way to fix this.
I *could* just copy the driver and comment out the Z3 call on line 1147, but that's not the cleanest solution. What do you suggest? I'm not super strong on CML, so I'm hoping to find something that doesn't require too much programming muscle.
Posts: 40,483
Threads: 491
Joined: Aug 2002
You don't have to actually create a whole new one. If you look at the new 'universal' driver:
https://www.charmedquark.com/Web2/CQCDoc...nUniversal
It only requires a small extra class that provides some info to an underlying base class about how many zones and all that. So that would be the best way to do it. You create a new manifest that loads your new derived class to make it unique to that paritcular setup.
The SR5011 and SR5011 ones should be based on this scheme if you want to look at those.
Dean Roddey
Explorans limites defectum
Posts: 475
Threads: 68
Joined: May 2015
05-15-2020, 03:14 PM
(This post was last modified: 05-15-2020, 03:15 PM by dlmorgan999.)
Oh - that sounds great! Thanks for the pointer Dean.
Posts: 475
Threads: 68
Joined: May 2015
I just took a look at the SR5011 driver code Dean. The universal driver is a very elegant solution.
In looking further, I found that the SR5011 driver works for my receiver. As such, I can use that for now, but I think I'll go ahead and do a driver for the SR6014 anyway, just to get some more CML experience.