{"id":3449,"date":"2019-02-12T16:09:13","date_gmt":"2019-02-12T16:09:13","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/17-i-o-systems\/candbc_ccp_cmd\/"},"modified":"2025-11-05T12:46:53","modified_gmt":"2025-11-05T17:46:53","slug":"candbc_ccp_cmd","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/candbc_ccp_cmd\/","title":{"rendered":"candbc_ccp_cmd"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Instruct the CanDbc Driver to send a CCP command message.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>candbc_ccp_cmd<\/strong>\u00a0&lt;CCP_COMMAND&gt; [data] [-c=&lt;channel&gt;] [name=&lt;regname&gt;]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>CCP_COMMAND<\/p>\n<\/td>\n<td>\n<p>Specify one of the following commands:\u00a0<\/p>\n<ul>\n<li>CCP_CONNECT<\/li>\n<li>CCP_SET_MTA<\/li>\n<li>CCP_DISCONNECT<\/li>\n<li>CCP_ENABLE_DEBUG<\/li>\n<li>CCP_DISABLE_DEBUG<\/li>\n<li>CCP_START_DAQ<\/li>\n<li>CCP_STOP_DAQ<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>data<\/p>\n<\/td>\n<td>\n<p>Optional. Specify a hex string that represents data for applicable commands.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>-c<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the channel number (0 or 1).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>name<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the registered name of the CanDbc.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>candbc_ccp_cmd<\/strong> CCP_CONNECT<br \/>\nSend the message on the default channel.<\/p>\n<p><strong>candbc_ccp_cmd<\/strong> CCP_SET_META &#8220;0x01000000&#8221; -c=1<br \/>\nSend the message on a second channel.<\/p>\n<p><strong>candbc_ccp_cmd<\/strong> CCP_DISCONNECT<br \/>\nSend the message the on the default channel.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Channel number must be 0 or 1. Values of 2 or higher will result in an error. Some commands like CCP_SET_MTA may require the data argument.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/CAN-bus-Device-Drivers-Setup.pdf\">Can Bus Interface Setup and Use<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Instruct the CanDbc Driver to send a CCP command message. Enter: candbc_ccp_cmd\u00a0&lt;CCP_COMMAND&gt; [data] [-c=&lt;channel&gt;] [name=&lt;regname&gt;] Where: CCP_COMMAND Specify one of the following commands:\u00a0 CCP_CONNECT CCP_SET_MTA CCP_DISCONNECT CCP_ENABLE_DEBUG CCP_DISABLE_DEBUG CCP_START_DAQ CCP_STOP_DAQ data Optional. Specify a hex string that represents data for applicable commands. -c Optional. Specify the channel number (0 or 1). name Optional. Specify [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1964,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3449","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3449"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3449\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1964"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}