{"id":42252,"date":"2020-11-18T08:39:45","date_gmt":"2020-11-18T16:39:45","guid":{"rendered":"https:\/\/www.dragonframe.com\/?post_type=ufaq&#038;p=42252"},"modified":"2026-09-19T18:22:53","modified_gmt":"2026-09-20T01:22:53","slug":"using-the-simple-interface-to-receive-notifications-and-send-commands-to-dragonframe-via-serial-or-tcp","status":"publish","type":"ufaq","link":"https:\/\/www.dragonframe.com\/fr\/ufaqs\/using-the-simple-interface-to-receive-notifications-and-send-commands-to-dragonframe-via-serial-or-tcp\/","title":{"rendered":"Utilisation de l&#039;interface simple pour recevoir des notifications et envoyer des commandes \u00e0 Dragonframe via s\u00e9rie ou TCP."},"content":{"rendered":"<style>.ewd-ufaq-faq-display-style-block:hover, .ewd-ufaq-faq-display-style-block:hover a, .ewd-ufaq-faq-display-style-block:hover h1, .ewd-ufaq-faq-display-style-block:hover h2, .ewd-ufaq-faq-display-style-block:hover h3, .ewd-ufaq-faq-display-style-block:hover h4, .ewd-ufaq-faq-display-style-block:hover h5, .ewd-ufaq-faq-display-style-block:hover h6,\r\n.ewd-ufaq-faq-display-style-block.ewd-ufaq-post-active, .ewd-ufaq-faq-display-style-block.ewd-ufaq-post-active a {\r\n    text-decoration: none !important;\r\n    color: #fff;\r\n    background: inherit !important;\r\n}\r\n\r\n.ui-autocomplete {\r\nbackground:#3e3e3e;\r\n}\r\n\r\n.ufaq-faq-category-title {\r\nmargin-top:20px;\r\n}\r\n\r\ndiv.ufaq-faq-title h4 {\r\nfont-size:18px;\r\n}\r\n\r\ndiv.ewd-ufaq-faq-post h4 {\r\nfont-size:20px;\r\nmargin-bottom:5px;\r\nmargin-top:5px;\r\ncolor: #ffffff;\r\nfont-weight: 600;\r\n}\r\n\r\ndiv.ewd-ufaq-faq-post h5 {\r\nfont-size:18px;\r\nmargin-bottom:12px;\r\nmargin-top:0;\r\ncolor: #ffffff;\r\nfont-weight: 600;\r\n}\r\n\r\ndiv.ufaq-faq-title div.ewd-ufaq-post-margin-symbol {\r\npadding:6px 0 0 2px;\r\n}\r\n\r\n.ufaq-faq-display-style-Minimalist .ewd-ufaq-post-margin-symbol span {\r\nfont-size:19px;\r\n}\r\n.single-ufaq .ewd-ufaq-permalink {\r\ndisplay: none;\r\n}\r\n\r\n.single-ufaq .single-navigation {\r\ndisplay: none;\r\n}\r\n\r\n.single-ufaq h2 {\r\n margin-bottom: 20px;\r\n}\r\n.single-ufaq .ewd-ufaq-faq-title {\r\n display: none;\r\n}\r\n.single-ufaq .entry-date {\r\n display: none;\r\n}\r\n.single-ufaq #primary {\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-top: 80px;\r\n float: none;\r\n}\r\n.ewd-ufaq-faq-post a {\r\n    color: #d89222 !important;\r\n}\r\n\r\ndiv.ewd-ufaq-faq-post p {\r\n margin-bottom: 0px;\r\n}<\/style><div  class=\"ewd-ufaq-faq-list ewd-ufaq-page-type-distinct ewd-ufaq-category-tabs-\" id='ewd-ufaq-faq-list'>\n\n\t<input type='hidden' name='show_on_load' value='' id='ewd-ufaq-show-on-load' \/>\n<input type='hidden' name='include_category' value='' id='ewd-ufaq-include-category' \/>\n<input type='hidden' name='exclude_category' value='' id='ewd-ufaq-exclude-category' \/>\n<input type='hidden' name='orderby' value='title' id='ewd-ufaq-orderby' \/>\n<input type='hidden' name='order' value='asc' id='ewd-ufaq-order' \/>\n<input type='hidden' name='post_count' value='-1' id='ewd-ufaq-post-count' \/>\n<input type='hidden' name='current_url' value='\/fr\/wp-json\/wp\/v2\/ufaq\/42252' id='ewd-ufaq-current-url' \/>\n\t\n\t\n\t<div class='ewd-ufaq-faqs'>\n\n\t\t<div  class=\"ewd-ufaq-faq-div ewd-ufaq-faq-column-count-one ewd-ufaq-faq-responsive-columns- ewd-ufaq-faq-display-style-default ewd-ufaq-can-be-toggled\" id='ewd-ufaq-post-42252-b8AkQWzHZM' data-post_id='42252'>\n\n\t\t\n\t<div class='ewd-ufaq-faq-title ewd-ufaq-faq-toggle'>\n\t\n\t<a class='ewd-ufaq-post-margin'  href='#' role=\"button\">\n\n\t\t<div class='ewd-ufaq-post-margin-symbol ewd-ufaq-square'>\n\t\t\t<span >A<\/span>\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-faq-title-text'>\n\n\t\t\t<h4>\n\t\t\t\tUsing the Simple Interface to receive notifications and send commands to Dragonframe via serial or TCP.\t\t\t<\/h4>\n\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-clear'><\/div>\n\n\t<\/a>\n\t\n<\/div>\n\t\n\t<div class='ewd-ufaq-faq-body' >\n\n\t\t\n\t\t\t\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t<p style=\"margin-top: 0px\">The Simple Interface is a basic protocol in Dragonframe that can be used over a serial port (or virtualized serial port) or TCP.<\/p>\n<p>You can send commands to Dragonframe and receive notifications from it. It may be a useful integration point for using Dragonframe with other devices or applications.<\/p>\n<p>It is the same protocol used by the DFRemote Arduino sketch (not the DFMoco motion control sketch).<\/p>\n<p>After creating a device that sends\/receives these messages, use the program&#8217;s <strong>Scene | Connections<\/strong> and add a connection of type <strong>Simple Interface \/ Serial<\/strong> or <strong>Simple Interface \/ TCP<\/strong>, depending on your implementation.<\/p>\n<h4>Serial Port Settings<\/h4>\n<table style=\"width: 500px\">\n<tbody>\n<tr class=\"even\">\n<td style=\"width: 200px\">Baud Rate<\/td>\n<td>56000 kbps<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Data Bits<\/td>\n<td>8<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Stop Bits<\/td>\n<td>1<\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Parity<\/td>\n<td>None<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4>Messages to Control Dragonframe<\/h4>\n<table style=\"width: 500px\">\n<tbody>\n<tr class=\"even\">\n<td style=\"width: 200px\">Shoot<\/td>\n<td><code>S [frame count][\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Delete<\/td>\n<td><code>D[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Play\/Stop<\/td>\n<td><code>P[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Go to Live<\/td>\n<td><code>L[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Mute<\/td>\n<td><code>M[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Toggle Play to black<\/td>\n<td><code>PB[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Toggle Looping<\/td>\n<td><code>LP[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Opacity Down<\/td>\n<td><code>OD[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Opacity Up<\/td>\n<td><code>OU[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Step Forward<\/td>\n<td><code>SF[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Step Backward<\/td>\n<td><code>SB[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Short Play<\/td>\n<td><code>SP[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Live Toggle (Press)<\/td>\n<td><code>LT 1[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Live Toggle (Release)<\/td>\n<td><code>LT 0[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Auto Toggle<\/td>\n<td><code>AT[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Toggle High-Res\/Video-Assist<\/td>\n<td><code>TP[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Set View Frame Updates<\/td>\n<td><code>VF [0 or 1][\\r\\n]<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4>Messages from Dragonframe<\/h4>\n<table style=\"width: 700px\">\n<tbody>\n<tr class=\"even\">\n<td style=\"width: 200px\">Shooting Frame<\/td>\n<td><code>SH [FRAME] [EXPOSURE] [EXPOSURE NAME] [STEREO INDEX][\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Deleting Frame<\/td>\n<td><code>DE[\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>Position Frame (Move to Frame)<\/td>\n<td><code>PF [FRAME] [EXPOSURE] [EXPOSURE NAME] [STEREO INDEX][\\r\\n]<\/code><\/td>\n<\/tr>\n<tr class=\"odd\">\n<td>Capture Complete<\/td>\n<td><code>CC [FRAME] [EXPOSURE] [EXPOSURE NAME] [STEREO INDEX][\\r\\n]<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t<div class='ewd-ufaq-permalink'>\n\t\n\t<a href='https:\/\/www.dragonframe.com\/fr\/ufaqs\/using-the-simple-interface-to-receive-notifications-and-send-commands-to-dragonframe-via-serial-or-tcp\/'>\n\t\t\n\t\tPermalink\t\t\t\n\t<\/a>\n\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t<\/div>\n\n<\/div>\n\t<\/div>\n\n\t\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Utilisation de l'interface simple pour recevoir des notifications et envoyer des commandes \u00e0 Dragonframe via une liaison s\u00e9rie ou TCP. L'interface simple est un protocole de base de Dragonframe utilisable sur un port s\u00e9rie (ou un port s\u00e9rie virtualis\u00e9) ou TCP. Elle permet d'envoyer des commandes \u00e0 Dragonframe et de recevoir des notifications. <a title=\"Utilisation de l&#039;interface simple pour recevoir des notifications et envoyer des commandes \u00e0 Dragonframe via s\u00e9rie ou TCP.\" class=\"read-more\" href=\"https:\/\/www.dragonframe.com\/fr\/ufaqs\/using-the-simple-interface-to-receive-notifications-and-send-commands-to-dragonframe-via-serial-or-tcp\/\" aria-label=\"En savoir plus sur Utilisation de l&#039;interface simple pour recevoir des notifications et envoyer des commandes \u00e0 Dragonframe via s\u00e9rie ou TCP.\">En savoir plus<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","ufaq-category":[417],"ufaq-tag":[],"class_list":["post-42252","ufaq","type-ufaq","status-publish","hentry","ufaq-category-scripting","no-featured-image-padding"],"_links":{"self":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq\/42252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq"}],"about":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/types\/ufaq"}],"author":[{"embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/comments?post=42252"}],"wp:attachment":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/media?parent=42252"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq-category?post=42252"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq-tag?post=42252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}