changeset 219:0c26906b7ebf main

new CAN message for sending "start program" requests around.
author Bob Cook <bob@bobcookdev.com>
date Mon, 07 Jul 2014 18:41:23 -0700
parents 7411b6a1dba2
children 74381e5dd204
files main/packages/common/can/can_messages.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/packages/common/can/can_messages.h	Thu Jul 03 19:46:07 2014 -0700
+++ b/main/packages/common/can/can_messages.h	Mon Jul 07 18:41:23 2014 -0700
@@ -84,6 +84,16 @@
 
 const uint16_t can_dataid_odr_start_pgm = 0x0014;
 
+const uint8_t odr_pgm_wander        = 0x01;
+const uint8_t odr_pgm_straight_line = 0x02;
+const uint8_t odr_pgm_small_box     = 0x03;
+
+typedef struct
+{
+    uint8_t pgm_id;
+
+}   can_data_pgm_selection;
+
 // ----------------------------------------------------------------------------------------
 
 const uint16_t can_dataid_imu_roll  = 0x0020;