CIGI API Version 2.7.1 
CIGI API : Users' Guide
Reference : Index of Changes

References

Index of Changes

The following changes made to the API have been tracked and are listed in the table below. In addition, the changes made to each file should be recorded at the top of the file modified.

Changes are categorized by version.

CIGI Version 2

Table : Changes to the API for version 2 release 7.1
Date
Author
Files
Description
Jan 29, 2004
James Durtschy
cigi_api.c
Fixed the function names of the CigiAddPacketReplaceCollisionSegmentResp() and the CigiAddPacketReplaceCollisionVolumeResp() functions, including the LE versions of the functions, which were inconsistent with the prototypes in the header file.
Fixed the implementation of the CIGI CigiSwapPacketLosResp() function and added the implementation for the CigiSwapPacketLosResp_V1() function.

Table : Changes to the API for version 2 release 7
Date
Author
Files
Description
Jan 27, 2004
Lance Durham
cigi_api.h
cigi_api.c
Added the CigiAddPacketReplace*() functions. Added GetSessionPtr(), CigiCompareMemoryMasked(), and CigiSearchForPacket() functions.

Table : Changes to the API for version 2 release 6.1
Date
Author
Files
Description
Nov 07, 2003
James Durtschy
cigi_api.h
Fixed the include files where the cigi_icd.h file was included twice instead of the cigi_compatibility.h header file.

Table : Changes to the API for version 2 release 6
Date
Author
Files
Description
Feb 07, 2003
James Durtschy
cigi_api.c
Fixed a bug found in the CigiEndMessage() function where setting a CIGI_OPCODE_NONE value was added to the end of the message. The memory location needed to be dereferenced.
*pcs->BufferPtrs[ pcs->BufferIdx] =
    ( unsigned char)CIGI_OPCODE_NONE;
Freed the memory allocated for the _CigiSessionPtrs after the sessions were closed in the CigiUninit() function.
Freed the session pointer allocated for the session in the CigiCloseSession() function, before setting the value to NULL.

Table : Changes to the API for version 2 release 5
Date
Author
Files
Description
Nov 27, 2002
James Durtschy
cigi_icd.h
Added the following type definition:
typedef unsigned short B6;
for packet fields of type B6, as defined in the ICD for the CIGI. The following fields in the CIGI_SPECIAL_EFFECT_DEFINITION packet were redeclared as type B6:
x_scale
y_scale
z_scale
time_scale
The following fields in the CIGI_COLL_DET_SEGMENT_DEFINITION packet were redeclared as type B6:
x_start
y_start
z_start
x_end
y_end
z_end
The following fields in the CIGI_COLL_DET_VOLUME_DEFINITION packet were redeclared as type B6:
x_offset
y_offset
z_offset
height
width
depth
The following fields in the CIGI_SENSOR_RESPONSE packet were redeclared as type B6:
x_offset
y_offset
cigi_api.h
cigi_api.c
Added the following function to set a default callback functions for processing incoming packets:
void CigiSetDefaultCallback(const CIGICBPROC proc)
cigi_api.h
Added the follwing error code:
CIGI_ERROR_INVALID_PACKET_SIZE
Which will be returned from CigiInit() if a packet size does not match the predefined value.
Added the following macro definitions, to use for converting between type float (double) and type B6:
#define CIGI_FLOAT_TO_B6( _fval)
#define CIGI_B6_TO_FLOAT( _b6val)
cigi_api.c
Fixed a bug in the CigiSwapPacketViewCtrl() routine, where CigiCopy4() was used instead of CigiSwap4() for the following float fields in the CIGI_VIEW_CONTROL packet:
x_offset
y_offset
z_offset
roll_offset
pitch_offset
heading_offset

 
Added the CIGI_DEFAULT_CALLBACK_INDEX preprocessor definition to augment the CigiSetDefaultCallback() function.
Fixed a bug in the CigiSwapIncomingMsgBuffer() function, where the case for the IG_RESPONSE_MESSAGE packet had an erroneous & (ampersand) character when casted to a CIGI_PACKET_HEADER*.
Fixed a bug in the CigiSwapIncomingMsgBuffer() function, where
CigiSwapPacketCollisionSegmentResp
was called instead of
CigiSwapPacketCollisionDetSegmentDef
for the CIGI_COLL_DET_SEGMENT_DEFINITION_OPCODE case.
Added a CIGI_OPCODE_NONE value to terminate the end of a message in the CigiEndMessage() function. This fix problems with messages under 100 bytes not being terminating properly.
Added checks to the CigiInit() function, which will verify that the size defined for each of the CIGI packets is the same value obtained from the sizeof operator for the packet. For insance,
CIGI_IG_CONTROL_SIZE
should be equal to:
sizeof CIGI_IG_CONTROL
Or a CIGI_ERROR_INVALID_PACKET_SIZE error code value will be returned from CigiInit(). This is done to ensure that each packet is actually the same size as defined in the ICD.
cigi_helper.c
Modified the following print functions to print out B6 values as floating-point values:
CigiPrintSpecialEffectDefinitionPacket
CigiPrintCollisionDetSegmentDefPacket
CigiPrintCollisionDetVolumeDefPacket
CigiPrintSensorResponsePacket

Table : Changes to the API for version 2
Date
Author
Files
Description
Jul 18, 2002
James Durtschy
cigi_api.h
Added a check for C++ and used the extern "C" modifier if detected.
Changed the use of the LITTE_ENDIAN preprocessor definition to use CIGI_LITTE_ENDIAN instead.
Added a preprocessor definition check for CIGIAPI_LIBRARY in the CIGI_LITTE_ENDIAN function name mappings. The little endian versions of the functions will not be used if CIGIAPI_LIBRARY is defined.
cigi_icd.h
Added a check for C++ and used the extern "C" modifier if detected.
cigi_helper.h
Added a check for C++ and used the extern "C" modifier if detected.
Jul 16, 2002
James Durtschy
cigi_api.c
Fixed errors in the CigiSwapIncomingMsgBuffer() function using the correct preprocessor definitions:
CIGI_HAT_REQUEST
CIGI_LOS_OCCULT_REQUEST

 
instead of the following preprocessor definitions:
CIGI_HAT_REQUEST_SIZE
CIGI_LOS_OCCULT_REQUEST_SIZE

 
Jun 03, 2002
James Durtschy
cigi_helper.c
Fixed the CigiPrintViewDefinitionPacket() function to print the correct fields in the CIGI_VIEW_DEFINITION packet.
Apr 23, 2002
James Durtschy
cigi_icd.h
Added missing spare3A field to the CIGI_HAT_RESPONSE packet.
cigi_helper.h
cigi_helper.c
Updated the following functions to use the %lf printf format flag for double fields, instead of the %f format flag.
CigiPrintEntityControlPacket
CigiPrintEntityControlPacket_V1
CigiPrintHatRequestPacket
CigiPrintHatRequestPacket_V1
CigiPrintLosOccultRequestPacket
CigiPrintLosOccultRequestPacket_V1
CigiPrintLosRangeRequestPacket
CigiPrintLosRangeRequestPacket_V1
CigiPrintHotReqPacket
CigiPrintHotReqPacket_V1
CigiPrintHatResponsePacket
CigiPrintLosResponsePacket
CigiPrintLosResponsePacket_V1
CigiPrintHotResponsePacket

 
Apr 12, 2002
James Durtschy
cigi_icd.h
Changed many of the field names within the packets for consistency.
Removed the following packets from the CIGI API.
CIGI_COLL_DET_DEFINITION
CIGI_VOLUME_COLL_DET_DEFINITION
CIGI_COLL_RESPONSE
CIGI_VOLUME_COLL_DET_RESPONSE

 
Each of the packets removed above were renamed to the packet name in the following list (in order).
CIGI_COLL_DET_SEGMENT_DEFINITION
CIGI_COLL_DET_VOLUME_DEFINITION
CIGI_COLL_SEGMENT_RESPONSE
CIGI_COLL_VOLUME_RESPONSE

 
The following preprocessor definitions for indicating packet opcodes and sizes were changed for consistency.
CIGI_TRAJECTORY_DEF_OPCODE
CIGI_TRAJECTORY_DEF_SIZE_V1
CIGI_TRAJECTORY_DEF_SIZE
CIGI_EFFECT_DEF_OPCODE
CIGI_EFFECT_DEF_SIZE
CIGI_VIEW_DEF_OPCODE
CIGI_VIEW_DEF_SIZE_V1
CIGI_VIEW_DEF_SIZE
COLL_DET_SEGMENT_OPCODE
CIGI_COLL_DET_DEF_SIZE_V1
CIGI_COLL_DET_DEF_SIZE
CIGI_SOF_OPCODE
CIGI_SOF_SIZE_V1
CIGI_SOF_SIZE
CIGI_COLL_RESPONSE_OPCODE
CIGI_COLL_RESPONSE_SIZE_V1
CIGI_COLL_RESPONSE_SIZE
CIGI_SEN_RESPONSE_OPCODE
CIGI_SEN_RESPONSE_SIZE_V1
CIGI_SEN_RESPONSE_SIZE

 
These were changed to take the form of PACKET_NAME_OPCODE and PACKET_NAME_SIZE. The new definitions are as follows (in order).
CIGI_TRAJECTORY_DEFINITION_OPCODE
CIGI_TRAJECTORY_DEFINITION_SIZE_V1
CIGI_TRAJECTORY_DEFINITION_SIZE
CIGI_SPECIAL_EFFECT_DEFINITION_OPCODE
CIGI_SPECIAL_EFFECT_DEFINITION_SIZE
CIGI_VIEW_DEFINITION_OPCODE
CIGI_VIEW_DEFINITION_SIZE_V1
CIGI_VIEW_DEFINITION_SIZE
CIGI_COLL_DET_SEGMENT_DEFINITION_OPCODE
CIGI_COLL_DET_SEGMENT_DEFINITION_SZIE_V1
CIGI_COLL_DET_SEGMENT_DEFINITION_SZIE
CIGI_START_OF_FRAME_OPCODE
CIGI_START_OF_FRAME_SIZE_V1
CIGI_START_OF_FRAME_SIZE
CIGI_COLL_SEGMENT_RESPONSE_OPCODE
CIGI_COLL_SEGMENT_RESPONSE_SIZE_V1
CIGI_COLL_SEGMENT_RESPONSE_SIZE
CIGI_SENSOR_RESPONSE_OPCODE
CIGI_SENSOR_RESPONSE_SIZE_V1
CIGI_SENSOR_RESPONSE_SIZE

 
Added the following general-purpose preprocessor definitions for packet field values.
CIGI_DISABLED
CIGI_ENABLED
CIGI_INACTIVE
CIGI_ACTIVE
CIGI_INVALID
CIGI_VALID

 
Removed the following preprocessor definitions for packet field values, which can instead use one of the values defined above.
ENTITY_INACTIVE
ENTITY_ACTIVE
ENTITY_DESTRUCT
ENTITY_CONSTRUCT
ENTITY_NO_COLLISION
ENTITY_COLLISION_DETECTION
ART_PART_STATE_INACTIVE
ART_PART_STATE_ACTIVE
ART_PART_X_INACTIVE
ART_PART_X_ACTIVE
ART_PART_Y_INACTIVE
ART_PART_Y_ACTIVE
ART_PART_Z_INACTIVE
ART_PART_Z_ACTIVE
ART_PART_ROLL_INACTIVE
ART_PART_ROLL_ACTIVE
ART_PART_PITCH_INACTIVE
ART_PART_PITCH_ACTIVE
ART_PART_HDG_INACTIVE
ART_PART_HDG_ACTIVE
WEATHER_DISABLED
WEATHER_ENABLED
WEATHER_RANDOM_WINDS_DISABLED
WEATHER_RANDOM_WINDS_ENABLED
VIEW_X_OFFSET_ENABLED
VIEW_X_OFFSET_DISABLED
VIEW_Y_OFFSET_ENABLED
VIEW_Y_OFFSET_DISABLED
VIEW_Z_OFFSET_ENABLED
VIEW_Z_OFFSET_DISABLED
VIEW_ROLL_OFFSET_ENABLED
VIEW_ROLL_OFFSET_DISABLED
VIEW_PITCH_OFFSET_ENABLED
VIEW_PITCH_OFFSET_DISABLED
VIEW_HEADING_OFFSET_ENABLED
VIEW_HEADING_OFFSET_DISABLED
SENSOR_DISABLED
SENSOR_ENABLED
SENSOR_LINE_BY_LINE_DROPOUT_DISABLED
SENSOR_LINE_BY_LINE_DROPOUT_ENABLED
SENSOR_AUTO_GAIN_OFF
SENSOR_AUTO_GAIN_ON
VIEW_DEF_NEAR_ENABLED
VIEW_DEF_NEAR_DISABLED
VIEW_DEF_FAR_ENABLED
VIEW_DEF_FAR_DISABLED
VIEW_DEF_LEFT_ENABLED
VIEW_DEF_LEFT_DISABLED
VIEW_DEF_RIGHT_ENABLED
VIEW_DEF_RIGHT_DISABLED
VIEW_DEF_TOP_ENABLED
VIEW_DEF_TOP_DISABLED
VIEW_DEF_BOTTOM_ENABLED
VIEW_DEF_BOTTOM_DISABLED
COLLISION_DET_VECTOR_DISABLED
COLLISION_DET_VECTOR_ENABLED
HAT_RESPONSE_INVALID
HAT_RESPONSE_VALID

 
Removed the following preprocessor defininition packet values.
ENVIRONMENT_STATIC_TOD
ENVIRONMENT_CONTINUOUS_TOD
WEATHER_TYPE_CLOUD_A
WEATHER_TYPE_CLOUD_B
SENSOR_TRACK_WHITE
SENSOR_TRACK_BLACK
VIEW_DEF_NO_PIXEL_REPLICATE
VIEW_DEF_1X2_PIXEL_REPLICATE
VIEW_DEF_2X1_PIXEL_REPLICATE
VIEW_DEF_2X2_PIXEL_REPLICATE
VOLUME_COLL_DET_CONTACT_NON_ENTITY
VOLUME_COLL_DET_CONTACT_ENTITY

 
Each of the preprocessor definitions removed above were renamed to the preprocessor definition in the following list (in order).
EPHEMERIS_STATIC_TOD
EPHEMERIS_CONTINUOUS_TOD
WEATHER_TYPE_CLOUD_1
WEATHER_TYPE_CLOUD_2
SENSOR_WHITE_HOT
SENSOR_BLACK_HOT
VIEW_DEF_PIXEL_REPLICATE_NONE
VIEW_DEF_PIXEL_REPLICATE_1X2
VIEW_DEF_PIXEL_REPLICATE_2X1
VIEW_DEF_PIXEL_REPLICATE_2X2
COLL_RESPONSE_CONTACT_NON_ENTITY
COLL_RESPONSE_CONTACT_ENTITY

 
Removed the following preprocessor defininition packet value, which are no being used.
COMPONENT_ASSOCIATION_ENTITY
COMPONENT_ASSOCIATION_ENVIRONMENT
COMPONENT_ASSOCIATION_VIEW

 
cigi_api.h
cigi_api.c
Removed the following functions from the CIGI API.
CigiAddPacketCollisionDetDef
CigiAddPacketCollisionDetDefLE
CigiAddPacketVolumeCollDetDef
CigiAddPacketVolumeCollDetDefLE
CigiAddPacketColResp
CigiAddPacketColRespLE
CigiAddPacketVolumeCollDetResp
CigiAddPacketVolumeCollDetRespLE

 
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiAddPacketCollisionDetSegmentDef
CigiAddPacketCollisionDetSegmentDefLE
CigiAddPacketCollisionDetVolumeDef
CigiAddPacketCollisionDetVolumeDefLE
CigiAddPacketCollisionSegmentResp
CigiAddPacketCollisionSegmentRespLE
CigiAddPacketCollisionVolumeResp
CigiAddPacketCollisionVolumeRespLE

 
Removed the following internal functions from the CIGI API.
CigiSwapPacketCollisionDetDef
CigiSwapPacketCollisionDetDef_V1
CigiSwapPacketVolumeCollDetDef
CigiSwapPacketColResp
CigiSwapPacketColResp_V1
CigiSwapPacketVolumeCollDetResp

 
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiSwapPacketCollisionDetSegmentDef
CigiSwapPacketCollisionDetSegmentDef_V1
CigiSwapPacketCollisionDetVolumeDef
CigiSwapPacketCollisionSegmentResp
CigiSwapPacketCollisionSegmentResp_V1
CigiSwapPacketCollisionVolumeResp

 
cigi_helper.h
cigi_helper.c
Removed the following functions.
CigiCreateCollDetDefinitionPacket
CigiCreateVolumeCollDetDefPacket
CigiCreateColResponsePacket
CigiCreateVolumeCollDetResponsePacket

 
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiCreateCollisionDetSegmentDef
CigiCreateCollisionDetVolumeDefPacket
CigiCreateCollisionSegmentRespPacket
CigiCreateCollisionVolumeRespPacket

 
Removed the following functions.
CigiPrintCollDetDefinitionPacket
CigiPrintCollDetDefinitionPacket_V1
CigiPrintVolumeCollDetDefPacket
CigiPrintColResponsePacket
CigiPrintColResponsePacket_V1
CigiPrintVolumeCollDetResponsePacket

 
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiPrintCollisionDetSegmentDefPacket
CigiPrintCollisionDetSegmentDefPacket_V1
CigiPrintCollisionDetVolumeDefPacket
CigiPrintCollisionSegmentRespPacket
CigiPrintCollisionSegmentRespPacket_V1
CigiPrintCollisionVolumeRespPacket

 
cigi_compatibility.h
Added each of the preprocessor definitions and old packet names that were remoed from the cigi_icd.h file, and each of the old function names from the API that were changed.
Mar 29, 2002
James Durtschy
cigi_api.h
cigi_api.c
Moved the following function prototypes to the cigi_api.h file in order to make them available outside of the cigi_api.c source file. These are now categorized as utility functions in the CIGI API.
CigiSwap2
CigiSwap4
CigiSwap8

 
Moved the following macro definitions to the cigi_api.h file in order to make them available outside of the cigi_api.c source file.
CigiCopy1
CigiCopy2
CigiCopy4
CigiCopy8

 
Mar 21, 2002
James Durtschy
cigi_version.h
Added the file containing preprocessor definitions for selecting packets from CIGI version 1 instead of the current version implemented by the API. The preprocessor definition CIGI_VERSION_1 is used to select packets from version 1.
cigi_icd.h
Changed the name of the CIGI_COL_RESPONSE packet to
 
CIGI_COLL_RESPONSE

 
Changed each of the #define statements for the CIGI_COLL_RESPONSE packet to use COLL instead of COL as the abbreviation.
Changed the #define statement from ENTITY_INDEPENDANT to
 
ENTITY_INDEPENDENT

 
for the CIGI_ENTITY_CONTROL packet.
Changed the #define statement from HAT_RESPONCE_INVALID to
 
HAT_RESPONCE_INVALID

 
and changed the #define statement from HAT_RESPONCE_VALID to
 
HAT_RESPONSE_VALID

 
for the CIGI_HAT_RESPONSE packet.
cigi_helper.h
Changed the name of the CigiCreateHotRespPacket function to
 
CigiCreateHotResponsePacket
Changed the name of the CigiPrintHotRespPacket function to
 
CigiPrintHotResponsePacket
Changed the name of the CigiCreateVolumeCollDetRespPacket function to
 
CigiCreateVolumeCollDetResponsePacket
Changed the name of the CigiPrintVolumeCollDetRespPacket function to
 
CigiPrintVolumeCollDetResponsePacket
cigi_api.h
Fixed the name of the CIGI_ERROR_MISSING_SOF_PACKET error code from CIGI_ERROR_MISSING_SOF_PACEKT.
cigi_api.h
cigi_api.c
Added the following function for use with the CIGI_IG_RESPONSE_MESSAGE paket.
CigiSetIGResponseString
Added the following functions for use with the CIGI_USER_DATA_PACKET paket.
CigiSetUserDefinablePacketData
CigiClearUserDefinablePacketData
Mar 14, 2002
James Durtschy
cigi_version.h
Added the file containing preprocessor definitions for selecting packets from CIGI version 1 instead of the current version implemented by the API. The preprocessor definition CIGI_VERSION_1 is used to select packets from version 1.
cigi_icd.h
Added the following CIGI packets to the interface.
CIGI_HOT_REQUEST
CIGI_HOT_RESPONSE
CIGI_IG_RESPONSE_MESSAGE
CIGI_USER_DATA_PACKET
CIGI_VOLUME_COLL_DET_DEFINITION
CIGI_VOLUME_COLL_DET_RESPONSE
cigi_icd.h
Updated the following packets definitions to comply with CIGI version 2.
CIGI_IG_CONTROL
CIGI_ENTITY_CONTROL
CIGI_COMPONENT_CONTROL
CIGI_ENVIRONMENT_CONTROL
CIGI_WEATHER_CONTROL
CIGI_VIEW_CONTROL
CIGI_TRAJECTORY_DEFINITION
CIGI_VIEW_DEFINITION
CIGI_COLL_DET_DEFINITION
CIGI_HAT_REQUEST
CIGI_LOS_OCCULT_REQUEST
CIGI_LOS_RANGE_REQUEST
CIGI_START_OF_FRAME
CIGI_HAT_RESPONSE
CIGI_LOS_RESPONSE
CIGI_COL_RESPONSE

 
Created the following types for compliance with packets defined in CIGI version 1.
CIGI_IG_CONTROL_V1
CIGI_ENTITY_CONTROL_V1
CIGI_COMPONENT_CONTROL_V1
CIGI_ENVIRONMENT_CONTROL_V1
CIGI_WEATHER_CONTROL_V1
CIGI_VIEW_CONTROL_V1
CIGI_TRAJECTORY_DEFINITION_V1
CIGI_VIEW_DEFINITION_V1
CIGI_COLL_DET_DEFINITION_V1
CIGI_HAT_REQUEST_V1
CIGI_LOS_OCCULT_REQUEST_V1
CIGI_LOS_RANGE_REQUEST_V1
CIGI_START_OF_FRAME_V1
CIGI_HAT_RESPONSE_V1
CIGI_LOS_RESPONSE_V1
CIGI_COL_RESPONSE_V1
cigi_api.h
cigi_api.c
Introduced the follwing add packet functions to the API.
CigiAddPacketHotReq
CigiAddPacketVolumeCollDetDef
CigiAddPacketHotResp
CigiAddPacketIGResponseMessage
CigiAddPacketUserData
CigiAddPacketVolumeCollDetResp

 
Implemented the little endian versions in the following functions.
CigiAddPacketHotReqLE
CigiAddPacketVolumeCollDetDefLE
CigiAddPacketHotRespLE
CigiAddPacketIGResponseMessageLE
CigiAddPacketVolumeCollDetRespLE

 
Added the following swap routines for the functions added.
CigiSwapPacketHotReq
CigiSwapPacketHotResp
CigiSwapPacketIGResponseMessage
CigiSwapPacketVolumeCollDetDef
CigiSwapPacketVolumeCollDetResp
cigi_api.c
Updated the byte-swapping routines for use with the packet definitions in the CIGI version 2.
CigiSwapPacketIGCtrl
CigiSwapPacketEntityCtrl
CigiSwapPacketComponentCtrl
CigiSwapPacketEnvCtrl
CigiSwapPacketWeatherCtrl
CigiSwapPacketViewCtrl
CigiSwapPacketTrajectoryDef
CigiSwapPacketViewDef
CigiSwapPacketCollisionDetDef
CigiSwapPacketHatReq
CigiSwapPacketLosOccultReq
CigiSwapPacketLosRangeReq
CigiSwapPacketSof
CigiSwapPacketHatResp
CigiSwapPacketLosResp
CigiSwapPacketColResp

 
Created versions of the byte-swapping routines for use with CIGI packets defined in version 1.
CigiSwapPacketIGCtrl_V1
CigiSwapPacketEntityCtrl_V1
CigiSwapPacketComponentCtrl_V1
CigiSwapPacketEnvCtrl_V1
CigiSwapPacketWeatherCtrl_V1
CigiSwapPacketViewCtrl_V1
CigiSwapPacketTrajectoryDef_V1
CigiSwapPacketViewDef_V1
CigiSwapPacketCollisionDetDef_V1
CigiSwapPacketHatReq_V1
CigiSwapPacketLosOccultReq_V1
CigiSwapPacketLosRangeReq_V1
CigiSwapPacketSof_V1
CigiSwapPacketHatResp_V1
CigiSwapPacketLosResp_V1
CigiSwapPacketColResp_V1

 
Added the preprocessor directives for determining which version of the swap routines are used. The version 1 routines are used instead if CIGI_VERSION_1 is defined.
cigi_helper.h
cigi_helper.c
Added the following CigiCreateXXXPacket() functions.
CigiCreateHotReqPacket
CigiCreateHotRespPacket
CigiCreateIGResponseMessagePacket
CigiCreateVolumeCollDetDefPacket
CigiCreateVolumeCollDetRespPacket

 
Added the following CigiPrintXXXPacket() functions.
CigiPrintHotReqPacket
CigiPrintHotRespPacket
CigiPrintIGResponseMessagePacket
CigiPrintVolumeCollDetDefPacket
CigiPrintVolumeCollDetRespPacket
cigi_helper.h
cigi_helper.c
Updated the following CigiPrintXXXPacket() functions for use with the packet definitions in the CIGI version 2.
CigiPrintIGControlPacket
CigiPrintEntityControlPacket
CigiPrintComponentControlPacket
CigiPrintEnvironmentControlPacket
CigiPrintWeatherControlPacket
CigiPrintViewControlPacket
CigiPrintTrajectoryDefinitionPacket
CigiPrintViewDefinitionPacket
CigiPrintCollDetDefinitionPacket
CigiPrintHatRequestPacket
CigiPrintLosOccultRequestPacket
CigiPrintLosRangeRequestPacket
CigiPrintStartOfFramePacket
CigiPrintHatResponsePacket
CigiPrintLosResponsePacket
CigiPrintColResponsePacket

 
Created versions of the CigiPrintXXXPacket() functions for use with CIGI packets defined in version 1.
CigiPrintIGControlPacket_V1
CigiPrintEntityControlPacket_V1
CigiPrintComponentControlPacket_V1
CigiPrintEnvironmentControlPacket_V1
CigiPrintWeatherControlPacket_V1
CigiPrintViewControlPacket_V1
CigiPrintTrajectoryDefinitionPacket_V1
CigiPrintViewDefinitionPacket_V1
CigiPrintCollDetDefinitionPacket_V1
CigiPrintHatRequestPacket_V1
CigiPrintLosOccultRequestPacket_V1
CigiPrintLosRangeRequestPacket_V1
CigiPrintStartOfFramePacket_V1
CigiPrintHatResponsePacket_V1
CigiPrintLosResponsePacket_V1
CigiPrintColResponsePacket_V1
cigi_icd.h
Added the CIGI_MAX_PACKET_SIZE constant for packets which are not fixed in size.
 
Updated the CIGI_VERSION preprocessor definition to indicate that version 2 of the CIGI is used (by default).
cigi_api.h
Added the following error codes.
CIGI_ERROR_NOT_IMPLEMENTED
CIGI_ERROR_PACKET_TOO_LARGE

CIGI Version 1

Table : Changes to the API for version 1
Date
Author
Files
Description
Dec 07, 2001
James Durtschy
cigi_api.c
The CIGI_FORCE_DWORD_ALIGN preprocessor definition was added, along with conditional compilation code for when it is defined.
SourceForge LogoBoeing
******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ********