ONKYO - Integra Serial Communication Protocol for AV Receiver - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 4 Old 07-10-2013, 12:35 PM - Thread Starter
Newbie
 
CiroIp's Avatar
 
Join Date: Jul 2013
Posts: 7
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
1st version stable enough to be shared around:

YAIntegra Remote v. 0.1.2 (Nelson)
If anyone is interested Ill keep posting updates in this thread.


Hi all,
I look around for info about how pilot the whole line of Integra/Onkyo AV Receivers:

DTR-20.2 DTR-30.2 TX-NR708 DTR-40.2 DHC-40.2 TX-NR808 DTR-50.2 TX-NR1008 TX-NR3008 TX-NR5008 DTR-70.2

DTR-80.2 DHC-80.2 PR-SC5508 DTR-20.3 DTR-30.3 TX-NR709 DTR-40.3 TX-NR809 DTR-50.3 TX-NR1009 TX-NR3009 TX-NR5009 DTR-70.3 DTR-80.3 DHC-80.3 PR-SC5509

but it's all pretty scattered around and I just find hard to keep track of the differences on various models, firmwares, configurations.

Im writing Yet Another ISCP Remote Control (YAISCPRC?) based on the ONKYO Protocol:

Version 1.21, 4 July 2011

(Anyone have access to a more recent protocol version?)

If someone else is interested Ill keep posting progresses and problems on here.

Existing applications:

ANDROID INTEGRA Remote
Onkyo NRControl
OnkyoControl
OYRemote
Windows .NET Nonkyo by KaSpar (user on this forum). Source code avaible
JAVA eISCP by TomGutwin. Sourcecode avaible

Developer, UI designer juggling with too many projects.
YAIntegraRemote blog
CiroIp is offline  
Sponsored Links
Advertisement
 
post #2 of 4 Old 07-10-2013, 02:15 PM - Thread Starter
Newbie
 
CiroIp's Avatar
 
Join Date: Jul 2013
Posts: 7
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Ok, 1st update. Got the network stack up and running and successfully queried my unit, a TR-50.2.

DISCOVERY THE DEVICE INFO/IP:

Already something I still don't really understand or something buggy about the whole network implementation of the receiver.

The official (?) "Integra Remote" for android AKA "ONKYO remote" application, Version 1.51.130605.6 (running on a Kindle HD) wasn't able to "discover the receiver.
I read on thia forum about people having some similar problems with their unit identified. Ill have to investigate the issue.
My receiver has been correctly discovered before so seem to be some garbage collected over the Integra network service.

I sent the following UDP message:
Code:
49 53 43 50 00 00 00 10 00 00 00 09 01 00 00 00 21 78 45 43 4E 51 53 54  4E 0D
 ___________________________________________________________________________________
|49 53 43 50 |00 00 00 10 |00 00 00 09 |01 |00 00 00 |21 31 45 43 4E |51 53 54 4E 0D|
| I  S  C  P |            |            | v |         | !  x  E  C  N | Q  S  T  N cr|
|   header   | head. size | data size  | v |reserverd|   ISCP MSG    |              |
|____________|____________|____________|___|_________|_______________|______________|
over the port 60128 and the receiver correctly answer.

Seem the receiver is very forgiving about my packets (very very bad) and incomplete implementations go trough
and return the requested to the point that whatever packet it receive over the UDP seem to be considered valid.

Answer:
Code:
ISCP{00}{00}{00}{10}{00}{00}{00}&{01}{00}{00}{00}!1ECNDTR-50.2/60128/DX/0009B043471B{19}{0D}{0A}{00}{00}{00}{00}{00}{00}{00}{00}{00}{00}{00}...

NOTE:
At the initial connection the receiver "vomited" lot of unrequested data over the network:
Code:
ISCP{00}{00}{00}{10}{00}{00}{01}{00}{01}{00}{00}{00}!1NJA017B336B6B85D1D1B2B2B23BA83B3BD1525252B23BEEB0FDFD93F7F781813BD17BD5D514D554543B5CB0EEA85270BD3D3D3D3D3DBDAD31315208A8B2B25454853170E6D15C5B5C3B3FA8A83BB0FDAEB0AA7B7BAD3D8383CDD5313131BDD531ADD8317B546B6B525452D133333352D1092F0000FBDD248B24A9D72FD7{1A}{0D}{0A}I
confirming that the ONKYO/INTEGRA network implementation is not the most clean thing I ever saw...
From the Protocol specs. 1.21 I have seem to be packet describing some art/album data:
Code:
!1NJA

Developer, UI designer juggling with too many projects.
YAIntegraRemote blog
CiroIp is offline  
post #3 of 4 Old 07-17-2013, 11:01 AM - Thread Starter
Newbie
 
CiroIp's Avatar
 
Join Date: Jul 2013
Posts: 7
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
The receiver keep streaming from network while in standby.
STREAM OVER INTERNET RADIO SERVICES OR LOCAL NETWORK

pretty straighforward; switch to the right "MODE":
!1SLI28 for internet streams/radio/broadcasts/podcasts
!1SLI27 for local network contents

and navigate the interface with the !NTCxxx commands, UP, DOWN, RIGHT, LEFT, RETURN and SELECT.

once the stream start the RECEIVER will keep sending out packets every second with the stream POSITION and LENGHT
in mm:ss/mm:ss format.

Not sure how good I feel about the fact that the RECEIVER keep the stream running continuosly after switched to STANDBY.
The only advantage I can see is that the media contents are immediately available when the UNIT get switched back ON
but seem pretty odd.
Im pondering to turn off all the stream everytime the user set the RECEIVER in STANDBY.

Developer, UI designer juggling with too many projects.
YAIntegraRemote blog
CiroIp is offline  
post #4 of 4 Old 08-30-2013, 01:22 PM
Newbie
 
lwoody's Avatar
 
Join Date: Aug 2013
Posts: 3
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I'm interested in exploring your application, partly to learn the API commands. I want to use a linux command line to control my Onkyo receiver. Please post here if you update this app. Have you done any work with a linux version? Any plans to add control for Zone2 and Zone3 to this app?
lwoody is offline  
Reply Home A/V Distribution

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off