Referenca
Upravljanje HDfury Diva prek RS232 in IP/Telnet: ožičenje, parametri in skladnja
Vsaka nastavitev, ki jo ponuja spletni strežnik, je na voljo tudi prek RS232 in prek IP, zato lahko Divo voziš s serijskega računalnika ali iz krmilnega sistema na omrežju. Skladnja je v obeh primerih enaka, razen ene podrobnosti.
Priključek RS232
Diva sprejema serijsko upravljanje na 3,5 mm priključku in ne na DB9, s priloženim kablom. Signali na vtiču so:
- TIP
- TX, ki pošilja podatke iz Dive.
- RING
- RX, ki sprejema podatke v Divo.
- SLEEVE
- Ozemljitev.
Povezava teče pri 19200 baud, brez paritete, z enim ustavitvenim bitom in brez usklajevanja. Če uporabljaš krmilni sistem, ki to pričakuje navedeno posebej, je to 19200, n, 1. Stran o priključkih pokriva priložena kabla DB9 na priključek, razdelek CEC in RS232 pa ima testno polje, tako da lahko ukaz pošlješ iz brskalnika in potrdiš ožičenje, preden karkoli napišeš.
Upravljanje prek IP in Telnet
Isti nabor ukazov je dosegljiv prek omrežja. Privzeta vrata IP so 2210, torej bi sejo odprl na nekaj takega kot 192.168.1.100:2210. Vrata in naslov se nastavita v razdelku CONFIG, sprememba enega ali drugega pa začne veljati po ponovnem zagonu.
Kako je sestavljen ukaz
Prek RS232 se vsak ukaz začne z glavo #diva in konča bodisi s pomikom na začetek vrstice bodisi z znakom za novo vrstico. Prek IP in Telnet je zaključni znak enak, glave #diva pa ni treba pisati. Vsakemu odgovoru, ki ga Diva pošlje nazaj, sta pripeta pomik na začetek vrstice in znak za novo vrstico, v obliki <cr><lf>, tako da se razčlenjevalnik lahko zanese na dosleden konec vrstice. Ves čas uporabljaj samo male črke.
Splošni obliki sta dve. Za zapis vrednosti:
- #diva set x y, kjer je #diva glava, s katero se začne vsak ukaz RS232, set pove, da se bo v Divo zapisala vrednost, x je cilj zapisa, y pa vrednost ali vrednosti.
- #diva get x, kjer get pove, da se bo iz Dive prebrala vrednost, x pa je cilj branja.
- Ista ukaza prek IP sta natanko takšna kot zgoraj, le brez glave #diva.
Ko poznaš ta dva vzorca, je preostanek seznama ukazov le še stvar poznavanja imen ciljev in njihovih dovoljenih vrednosti. Nekateri cilji vzamejo več kot eno vrednost, na primer kadar en sam ukaz nastavi oba izhoda hkrati, spodnji seznam pa pri vsakem navaja sprejemljiv razpon skupaj z izdelanim primerom.
Celoten seznam ukazov
Spodaj so našteti vsi ukazi, ki jih Diva razume, po tabeli pa je mogoče iskati, zato je hitreje poiskati tisto, kar želiš spremeniti, kot brati vse povprek. Isti seznam je na voljo za prenos, izvod pa je kot besedilna datoteka priložen vsakemu paketu s posodobitvijo vdelane programske opreme. Uporabi izvod, ki je prišel s programsko opremo, ki jo dejansko poganjaš, saj se ukazi sčasoma dodajajo.
| Ukaz | Vrednosti | Kaj naredi | Primer |
|---|---|---|---|
#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 |
Filtru ne ustreza nič.