<div dir="ltr">On Sun, Aug 18, 2013 at 12:51 AM, Matt Mossholder <span dir="ltr"><<a href="mailto:matt@mossholder.com" target="_blank">matt@mossholder.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think I have it figured out... the regex cetonstreamhandler.cpp 's<br>
GetVar function doesn't match the response code to the GET<br>
/get_var?i=5&s=tuner&v=CarrierLock call to the tuner. The Eth 6's<br>
response looks like this:<br>
<br>
<html><style>body.get {font-family: Verdana, Helvetica, Arial;<br>
padding: 0px; margin: 0px; background-color: #DDE2E6;}</style><body<br>
class="get">1</body></html><br>
<br>
>From the code, it looks like the other Ceton devices hand back<br>
something that looks JSONy. Testing my theory now...<br>
<br>
--Matt</blockquote><div><br></div><div>get_var will return HTML, while get_var.json will return JSON. My code for the ceton should always be using get_var.json, so there should be no problem. I assume you were just poking around by hand and didn't notice the distinction. </div>
<div><br></div><div>Also, remember that mailing-list rules say no top-posting. Put your reply below the quoted text, not above.</div><div><br></div><div>---</div><div>Ron Frazier</div></div></div></div>