Référence
Contrôle RS232 et IP/Telnet de la HDfury Diva : câblage, paramètres et syntaxe
Toutes les commandes offertes par le serveur web sont également disponibles en RS232 et en IP : la Diva se pilote donc depuis un ordinateur en série ou depuis un système de contrôle sur le réseau. La syntaxe est la même dans les deux cas, à un détail près.
Le jack RS232
La Diva reçoit le contrôle série sur un jack 3,5 mm plutôt que sur un DB9, à l'aide du câble fourni. Les signaux de la fiche sont les suivants :
- TIP
- TX, qui envoie les données depuis la Diva.
- RING
- RX, qui reçoit les données vers la Diva.
- SLEEVE
- La masse.
La liaison fonctionne à 19200 bauds, sans parité, avec un bit d'arrêt et sans contrôle de flux. Si votre système de contrôle attend ces valeurs séparément, cela donne 19200, n, 1. La page des connexions jack traite des câbles DB9 vers jack fournis, et la section CEC et RS232 propose un champ de test pour envoyer une commande depuis le navigateur et valider le câblage avant d'écrire quoi que ce soit.
Contrôle en IP et en Telnet
Le même jeu de commandes est accessible par le réseau. Le port IP par défaut est 2210 : vous ouvrirez donc une session vers quelque chose comme 192.168.1.100:2210. Le port et l'adresse se définissent tous deux dans la section CONFIG, et toute modification prend effet après un redémarrage.
Comment se compose une commande
En RS232, chaque commande commence par l'en-tête #diva et se termine par un retour chariot ou un saut de ligne. En IP et en Telnet, le terminateur est le même, mais l'en-tête #diva est inutile. Chaque réponse renvoyée par la Diva se termine par un retour chariot suivi d'un saut de ligne, sous la forme <cr><lf>, ce qui permet à un analyseur de compter sur une fin de ligne constante. N'utilisez que des caractères minuscules.
Il existe deux formes génériques. Pour écrire une valeur :
- #diva set x y, où #diva est l'en-tête qui commence toute commande RS232, set indique qu'une valeur va être écrite dans la Diva, x est la cible à écrire et y la valeur ou les valeurs.
- #diva get x, où get indique qu'une valeur va être lue depuis la Diva et x est la cible à lire.
- Les deux mêmes commandes en IP s'écrivent exactement comme ci-dessus, sans l'en-tête #diva.
Une fois ces deux schémas connus, le reste de la liste des commandes se résume à connaître les noms de cibles et leurs valeurs admises. Certaines cibles prennent plusieurs valeurs, par exemple lorsqu'une même commande règle les deux sorties d'un coup, et la liste ci-dessous indique la plage acceptée par chacune ainsi qu'un exemple concret.
La liste complète des commandes
Toutes les commandes comprises par la Diva sont listées ci-dessous, et le tableau est consultable par recherche : il est plus rapide de chercher ce que vous voulez modifier que de tout parcourir. La même liste est téléchargeable, et une copie est incluse sous forme de fichier texte dans chaque paquet de mise à jour du firmware. Utilisez la copie livrée avec le firmware que vous exécutez réellement, car des commandes s'ajoutent au fil du temps.
| Commande | Valeurs | Rôle | Exemple |
|---|---|---|---|
#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 |
Aucun résultat pour ce filtre.