Referință
Controlul HDfury Diva prin RS232 și IP/telnet: cablare, parametri și sintaxă
Fiecare comandă oferită de serverul web este disponibilă și prin RS232 și prin IP, deci Diva poate fi condusă de la un calculator cu port serial sau de la un sistem de control din rețea. Sintaxa este aceeași în ambele cazuri, cu o singură diferență.
Mufa RS232
Diva primește control serial pe un jack de 3,5 mm, nu pe un DB9, folosind cablul livrat. Semnalele conectorului sunt:
- TIP
- TX, care trimite date dinspre Diva.
- RING
- RX, care primește date în Diva.
- SLEEVE
- Masa.
Legătura rulează la 19200 baud, fără paritate, cu un bit de stop și fără handshake. Dacă folosești un sistem de control care cere aceste valori separat, înseamnă 19200, n, 1. Pagina cu conexiunile pe jack acoperă cablurile DB9 spre jack livrate, iar secțiunea CEC și RS232 are un câmp de test din care poți trimite o comandă din browser și confirma cablarea înainte să scrii ceva.
Control prin IP și telnet
Același set de comenzi este disponibil prin rețea. Portul IP implicit este 2210, deci ai deschide o sesiune către ceva de genul 192.168.1.100:2210. Portul și adresa se setează amândouă în secțiunea CONFIG, iar o modificare a oricăruia are efect după o repornire.
Cum se formează o comandă
Prin RS232, fiecare comandă începe cu antetul #diva și se termină fie cu un carriage return, fie cu un newline. Prin IP și telnet terminatorul este același, dar antetul #diva nu mai este necesar. Fiecare răspuns trimis de Diva are adăugate atât carriage return, cât și newline, sub forma <cr><lf>, deci un parser se poate baza pe un sfârșit de linie consecvent. Folosește exclusiv litere mici.
Există două forme generice. Pentru a scrie o valoare:
- #diva set x y, unde #diva este antetul cu care începe fiecare comandă RS232, set indică faptul că o valoare va fi scrisă în Diva, x este ținta în care se scrie, iar y este valoarea sau valorile.
- #diva get x, unde get indică faptul că o valoare va fi citită din Diva, iar x este ținta care se citește.
- Aceleași două comenzi prin IP sunt exact ca mai sus, cu antetul #diva eliminat.
Odată ce cunoști aceste două tipare, restul listei de comenzi ține de numele țintelor și de valorile permise. Unele ținte primesc mai multe valori, de exemplu atunci când o singură comandă setează ambele ieșiri deodată, iar lista de mai jos precizează intervalul acceptat de fiecare, împreună cu un exemplu concret.
Lista completă de comenzi
Toate comenzile pe care le înțelege Diva sunt listate mai jos, iar tabelul poate fi filtrat, deci este mai rapid să cauți ce vrei să schimbi decât să îl citești în întregime. Aceeași listă poate fi descărcată, iar o copie este inclusă ca fișier text în fiecare pachet de actualizare de firmware. Folosește copia venită cu firmware-ul pe care îl rulezi, pentru că se adaugă comenzi în timp.
| Comandă | Valori | Ce face | Exemplu |
|---|---|---|---|
#diva set insel tx0 tx1 | tx0 and tx1 is [0-3] input port, or [4] for follow | Set tx0 to input 2 and tx1 to input 3 | #diva set insel 2 3 |
#diva set inseltx0 x | x is [0-3] input port, or [4] for follow | Set tx0 to input 1 and keep tx1 as is | #diva set inseltx0 1 |
#diva set inseltx1 x | x is [0-3] input port, or [4] for follow | Set tx0 to input 1 and keep tx0 as is | #diva set inseltx1 1 |
#diva set ipaddr xxx.xxx.xxx.xxx | Sets the static IP address. Active when dhcp is turned off. | #diva set ipaddr 192.168.1.222 | |
#diva set ipmask xxx.xxx.xxx.xxx | Sets the static IP network mask. Active when dhcp is turned off. | #diva set ipmask 255.255.255.0 | |
#diva set ipgw xxx.xxx.xxx.xxx | Sets the static IP gateway address. Active when dhcp is turned off. | #diva set ipgw 192.168.1.1 | |
#diva set dhcp x | x is [on / off] | Set the dynamic or static IP address selection. Dynamic = dhcp on | #diva set dhcp off |
#diva set tcpport x | Set the TCP port to be listened to for commands. Default is 2200 Requires a reboot to be applied. | #diva set port 2201 | |
#diva set autosw x | x is [on / off] | Enables or disables the autoswitch feature | #diva set autosw off |
#diva set autoswprio x | x is [on / off] | Enables or disables the autoswitch priority feature | #diva set autoswprio off |
#diva set edidmode x | x is [automix / custom / fixed / copytx0 / copytx1] | #diva set edidmode automix | |
#diva set edid audio x | x is [stereo / 51 / full / native / tx1] | Sets the automix EDID audio flag | #diva set edid audio native |
#diva set edid bt2020 x | x is [on / off] | Sets the automix EDID bt2020 capability addition Will not remove if existing on the sink - only adds if missing | #diva set edid bt2020 on |
#diva set edid yuvremove x | x is [on / off] | Sets the automix EDID YUV/YCbCr capability force Controls if the source sees a YCbCr capable sink | #diva set edid yuvremove on |
#diva set edid hdr10 x | x is [on / off] | Sets the automix EDID hdr10 capability Will not remove if existing on the sink - only adds if missing | #diva set edid hdr10 on |
#diva set edid hlg x | x is [on / off] | Sets the automix EDID hlg capability Will not remove if existing on the sink - only adds if missing | #diva set edid hlg on |
#diva set edid dv x | x is [on / off] | Sets the automix EDID Dolby Vision capability Will not remove if existing on the sink - only adds if missing | #diva set edid dv on |
#diva set edid dvremove x | x is [on / off] | Sets the automix EDID to remove DV capability | #diva set edid dvremove on |
#diva set edid dvlimit x | x is [on / off] | Sets the automix EDID Dolby Vision frequency capability to 300Mhz max | #diva set edid dvlimit on |
#diva set edid 3dremove x | x is [on / off] | Sets the automix EDID to remove 3D capability Controls if the source sees a 3D capable sink | #diva set edid 3dremove on |
#diva set hdcp x | x is [14 / auto] | Sets the hdcp level in auto mode, depending on sink capability uses hdcp 1.4 or 2.2 | #diva set hdcp auto |
#diva set scale x | x is [auto / custom / none] | Sets the scaling style for tx0 (tx1 is always automatic) In auto mode, optimizes according to the best sink capabilities | #diva set scale auto |
#diva set autonoupscale x | x is [on / off] | Sets the mode for upscaling in tx0 output. Applies in "scale auto" mode only. In "scale auto" mode enables/disables upscaling of 1080p content automatically to 4k. | #diva set autonoupscale off |
#diva set edidtableinp0 x | |||
#diva set edidtableinp1 x | |||
#diva set edidtableinp2 x | |||
#diva set edidtableinp3 x | x is [1 - 100] for edidtableinp0 and [0 - 100] for others | Sets the custom EDID for corresponding input port For ports 1-3 table number 0 indicates copy port 0 table | #diva set edidtableinp0 11 |
#diva set edidalgo x | x is [0 - 4] | Sets the automix algorithm 0 = Min video, min audio 1 = Min video, max audio 2 = Tx0 priority 3 = Tx1 priority 4 = Max video, max audio [default] | #diva set edidalgo 4 |
#diva set hdrcustom x | x is [on / off] | Starts to output custom HDR metadata and ignores any input received HDR metadata. Overrides all other hdrcustom options | #diva set hdrcustom on |
#diva set hdrcustomhdr10only x | x is [on / off] | Starts to output custom HDR metadata if and only if the input is HDR10. This setting is used to replace the incoming HDR10 metadata. | #diva set hdrcustomhdr10only on |
#diva set hdrcustomhlgonly x | x is [on / off] | Starts to output custom HDR metadata if and only if the input is HLG. This setting is used to replace the incoming HLG metadata. | #diva set hdrcustomhlgonly on |
#diva set hdrcustomhlgonlyauto x | x is [on / off] | Starts to output custom HDR metadata if and only if the input is HLG and the sink has no HLG support. This setting is used to replace the incoming HLG metadata. Useful when turning on/off HLG capable sink while non-HLG sink is also connected. | #diva set hdrcustomhlgonlyauto on |
#diva set hdrdisable x | x is [on / off] | Stops sending any HDR metadata content | #diva set hdrdisable on |
#diva set hdrdisablehdr10only x | x is [on / off] | Stops sending any HDR metadata content if the input is HDR10 | #diva set hdrdisablehdr10only on |
#diva set hdrdisablehlgonly x | x is [on / off] | Stops sending any HDR metadata content if the input is HLG | #diva set hdrdisablehlgonly on |
#diva set avicustom x | x is [on / off] | Starts to output custom AVI infoframe and ignores any input received AVI metadata. | #diva set avicustom on |
#diva set avidisable x | x is [on / off] | Stops sending any AVI infoframe content | #diva set avidisable on |
#diva set cec x | x is [on / off] | Sets the CEC engine | #diva set cec on |
#diva set cecla x | x is [video / audio] | Sets the CEC engine logical address. For video [14] and for audio [5]. | #diva set cecla audio |
#diva set archbr x | x is [on / off] | Sets the ARC capability to include DD+ / ATMOS over DD+ capability. | #diva set archbr on |
#diva set oled x | x is [on / off] | Sets the OLED display visibility | #diva set oled on |
#diva set oledrev x | x is [on / off] | Sets the OLED display reversed colors | #diva set oledrev on |
#diva set oledrot x | x is [on / off] | Sets the OLED display rotation | #diva set oledrot on |
#diva set oledpage x | x is [0-4] | Sets the OLED display page | #diva set oledpage 0 |
#diva set oledfade x | x is [0-255] | Sets the OLED display fade timer in seconds. After this time OLED goes blank 0 = no fade | #diva set oledfade 60 |
#diva set osd x | x is [on / off] | Enables / disables osd | #diva set osd on |
#diva set osdloc x y | x is [1 - 1920] and y is [1 - 1080] | Sets the OSD information location coordinates. For 4k the values are 4x | #diva set osdloc 50 850 |
#diva set osdfg x | x is [1 - 31] | Sets the OSD foreground color | #diva set osdfg 20 |
#diva set osdbg x | x is [1 - 31] | Sets the OSD background color | #diva set osdbg 20 |
#diva set osdlevel x | x is [0 - 7] | Sets the OSD opacity level | #diva set osdlevel 4 |
#diva set osdfade x | x is [0-255] | Sets the OSD fade timer in seconds. After this time OSD info disappears 0 = no fade | #diva set osdfade 20 |
#diva set osdfield x y | x is [source / video / videoif / hdr / hdrif / audio / rxhdrforce | rxvideoforce / ignoremetadata] and y is [on / off] Sets the OSD field parameter visibility | #diva set osdfield videoif off |
#diva set osdmaskloc x y x1 y1 | x and x1 are [1 - 1920] and y and y1 are [1 - 1080] | Sets the OSD mask information location coordinates. For 4k the values are 4x | #diva set osdmaskloc 50 850 1900 900 |
#diva set osdmask x | x is [on / off] | Enables / disables osdmask | #diva set osdmask on |
#diva set osdmasklevel x | x is [0 - 7] | Sets the OSD opacity level | #diva set osdmasklevel 4 |
#diva set osdmaskgray x | x is [0 - 15] | Sets the OSD gray level | #diva set osdmaskgray 4 |
#diva set osdtextloc x y | x is [1 - 1920] and y is [1 - 1080] | Sets the OSD text location coordinates. For 4k the values are 4x | #diva set osdtextloc 50 20 |
#diva set osdtextneverfade x | x is [on / off] | Osd text typically fades together with normal OSD. This setting can disable fading. | #diva set osdtextneverfade on |
#diva set osdtextstr x | x max 64 characters | Defines the specific text string to be displayed. Must be in enlosed in quotation | #diva set osdtextstr "HDFury 2019" |
#diva set osdtext x | x is [on / off] | Enables / disables osdtext | #diva set osdtext on |
#diva set mutetx0audio x | x is [on / off] | Mute the tx0 hdmi audio output | #diva set mutetx0audio on |
#diva set mutetx1audio x | x is [on / off] | Mute the tx1 hdmi audio output | #diva set mutetx1audio on |
#diva set analogvolume x | x is [-30 to +10] | Sets the analog L/R audio jack output volume in dB. | #diva set analogvolume -10 |
#diva set analogbass x | x is [-10 to +10] | Sets the analog L/R audio jack output bass level in dB. | #diva set analogbass 5 |
#diva set analogtreble x | x is [-10 to +10] | Sets the analog L/R audio jack output treble level in dB. | #diva set analogtreble -2 |
#diva set reboot | Reboots the unit, does not clear any settings | ||
#diva set factoryreset x | x is [1, 2, 3] | 1 = Erase all settings but retain the custom EDID tables 2 = Erase custom EDID tables but retain other settings 3 = ERASE all settings and EDID tables | #diva set factoryreset 3 |
#diva set jvcmacro x | x is [on / off] | Enables / disables JVC macro sending | #diva set jvcmacro on |
#diva set jvcmacrosync x | x is [on / off] | Enables / disables JVC macro sending on every sync instead of just at start once | #diva set jvcmacrosync on |
#diva set jvcmacrodelay x | x is [0 - 255] | Sets the delay between a mode change and sending the macro command via RS232 | #diva set jvcmacrodelay 25 |
#diva set jvcmacrohdr10mode x | x is [0 - 4] | 0 = auto 1 = ignore metadata 2 = semiautomatic 3 = custom Sets the current JVC macro mode | #diva set jvcmacrohdr10mode 0 |
#diva set hdrprofile x | x is [0-5] | Sets the HDR to SDR conversion tone mapping profile. 0 = OFF. Applies to only when the input is HDR10. | #diva set hdrprofile 2 |
#diva set ledprofilevideo x | x is [0-5] | 0 = off 1 = follow active video 2 = custom static color 3 = custom blinking color 4 = custom pulsating color 5 = rotating colors Sets LED profile used under active video condition | #diva set ledprofilevideo 1 |
#diva set ledprofilesync x | x is [0-5] | 0 = off 1 = follow active video 2 = custom static color 3 = custom blinking color 4 = custom pulsating color 5 = rotating colors Sets LED profile used while signal is resyncing | #diva set ledprofilesync 4 |
#diva set ledspeedrotate x | x is [1-50] | Sets the speed of the rotating colors effect | #diva set ledspeedrotate 125 |
#diva set ledspeedpulsate x | x is [1-50] | Sets the speed of the blinking/pulsating led effect | #diva set ledspeedpulsate 25 |
#diva set ledgamma x | x is [0-3] | 0 = Gamma 2.2 1 = Gamma 2.0 2 = Gamma 1.8 3 = Gamma 1.6 Sets the gamma of the LED elements during active video mode | #diva set ledgamma 0 |
#diva set ledsynckeep x | x is 0, 1 | Sets the flag to keep LED effect active forever under sync condition when no displays/sources are connected | #diva set ledsynckeep 1 |
#diva set ledcolorred x | x is [0-255] | Sets the custom RED color value | #diva set ledcolorred 100 |
#diva set ledcolorgreen x | x is [0-255] | Sets the custom GREEN color value | #diva set ledcolorgreen 100 |
#diva set ledcolorblue x | x is [0-255] | Sets the custom BLUE color value | #diva set ledcolorblue 100 |
#diva set ledredgain x | x is [0-31] | Sets the global RED led calibration amplitude value | #diva set ledredgain 31 |
#diva set ledgreengain x | x is [0-31] | Sets the global GREEN led calibration amplitude value | #diva set ledgreengain 31 |
#diva set ledbluegain x | x is [0-31] | Sets the global BLUE led calibration amplitude value | #diva set ledbluegain 31 |
#diva set lagtesttarget x | x is [0-2] | 0 = left top corner 1 = center 2 = bottom right corner Sets the location of the lag test measurement | #diva set lagtesttarget 1 |
#diva set lagtestenable x | x is 0, 1 | Enables/disables the lag tester display | #diva set lagtestenable 1 |
#diva set lagteststart | Starts the lag test measurement | #diva set lagteststart |
Nimic nu corespunde filtrului.