This structure defines settings for Text API communication for neoVI Fire devices.
typedefstruct_STextAPISettings{unsignedint can1_tx_id;unsignedint can1_rx_id;unsignedint can1_options;// Set to 1 for Extended, 0 for standardunsignedint can2_tx_id;unsignedint can2_rx_id;unsignedint can2_options; // Set to 1 for Extended, 0 for standardunsignedint network_enables;unsignedint can3_tx_id3;unsignedint can3_rx_id3;unsignedint can3_options; // Set to 1 for Extended, 0 for standardunsignedint can4_tx_id4;unsignedint can4_rx_id4;unsignedint can4_options; // Set to 1 for Extended, 0 for standardint Reserved0;int Reserved1;int Reserved2;int Reserved3;int Reserved4;}STextAPISettings;
<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure STextAPISettings
Dim can1_tx_id As UInt32
Dim can1_rx_id As UInt32
Dim can1_options As UInt32 '// Set to 1 for Extended, 0 for standard
Dim can2_tx_id As UInt32
Dim can2_rx_id As UInt32
Dim can2_options As UInt32 '// Set to 1 for Extended, 0 for standard
Dim network_enables As UInt32
Dim can3_tx_id3 As UInt32
Dim can3_rx_id3 As UInt32
Dim can3_options As UInt32 '// Set to 1 for Extended, 0 for standard
Dim can4_tx_id4 As UInt32
Dim can4_rx_id4 As UInt32
Dim can4_options As UInt32 '// Set to 1 for Extended, 0 for standard
Dim Reserved0 As Int32
Dim Reserved1 As Int32
Dim Reserved2 As Int32
Dim Reserved3 As Int32
Dim Reserved4 As Int32
End Structure
[StructLayout(LayoutKind.Sequential,Pack=2)]publicstructSTextAPISettings{publicUInt32 can1_tx_id;publicUInt32 can1_rx_id;publicUInt32 can1_options; // Set to 1 for Extended, 0 for standardpublicUInt32 can2_tx_id;publicUInt32 can2_rx_id;publicUInt32 can2_options; // Set to 1 for Extended, 0 for standardpublicUInt32 network_enables;publicUInt32 can3_tx_id3;publicUInt32 can3_rx_id3;publicUInt32 can3_options; // Set to 1 for Extended, 0 for standardpublicUInt32 can4_tx_id4;publicUInt32 can4_rx_id4;publicUInt32 can4_options; // Set to 1 for Extended, 0 for standardpublicInt32 Reserved0;publicInt32 Reserved1;publicInt32 Reserved2;publicInt32 Reserved3;publicInt32 Reserved4;}
Remarks
Structure Elements
Item
Description
Sets or Reads the Arbitration ID for Sending Text API commands
Sets or Reads the Arbitration ID for Sending Receiving API commands
Sets the length of the Arbitration ID’s. Set to 1 for Extended and 0 for Standard
Bitfield telling which netowrk to support Text API. One one can be enabled at a time.