William Kane / Generic

Dependents:   LaserioLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers abcc_identification.h Source File

abcc_identification.h

00001 /*******************************************************************************
00002 ********************************************************************************
00003 **                                                                            **
00004 ** ABCC Starter Kit version 2.01.01 (2015-12-14)                              **
00005 **                                                                            **
00006 ** Delivered with:                                                            **
00007 **    ABCC Driver 4.01.01 (2015-12-14)                                        **
00008 **    ABP         7.16.01 (2015-10-14)                                        **
00009 **                                                                            */
00010 /*******************************************************************************
00011 ********************************************************************************
00012 ** COPYRIGHT NOTIFICATION (c) 2015 HMS Industrial Networks AB                 **
00013 **                                                                            **
00014 ** This code is the property of HMS Industrial Networks AB.                   **
00015 ** The source code may not be reproduced, distributed, or used without        **
00016 ** permission. When used together with a product from HMS, permission is      **
00017 ** granted to modify, reproduce and distribute the code in binary form        **
00018 ** without any restrictions.                                                  **
00019 **                                                                            **
00020 ** THE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. HMS DOES NOT    **
00021 ** WARRANT THAT THE FUNCTIONS OF THE CODE WILL MEET YOUR REQUIREMENTS, OR     **
00022 ** THAT THE OPERATION OF THE CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR     **
00023 ** THAT DEFECTS IN IT CAN BE CORRECTED.                                       **
00024 ********************************************************************************
00025 ********************************************************************************
00026 ** User configuration to set the identification parameters of an ABCC module
00027 **
00028 ** All configurations in this file should be possible to override if defined
00029 ** in abcc_platform_cfg.h. This allows the target platform to adapt the
00030 ** configuration to realize its implementation for specific needs.
00031 ********************************************************************************
00032 ********************************************************************************
00033 ** Services:
00034 ********************************************************************************
00035 ********************************************************************************
00036 */
00037 
00038 #ifndef ABCC_IDENTIFICATION_H_
00039 #define ABCC_IDENTIFICATION_H_
00040 
00041 #include "abcc_platform_cfg.h"
00042 
00043 #ifndef ABCC_OBJ_CFG_H_
00044 #error Do not include abcc_identification.h, include abcc_obj_cfg.h instead.
00045 #endif
00046 
00047 /*******************************************************************************
00048 ** Constants
00049 ********************************************************************************
00050 */
00051 
00052 /*------------------------------------------------------------------------------
00053 ** Ethernet Powerlink (0xE9)
00054 **------------------------------------------------------------------------------
00055 */
00056 #if EPL_OBJ_ENABLE
00057 /*
00058 ** Attribute 1: Vendor ID (UINT32 - 0x00000000-0xFFFFFFFF)
00059 */
00060 #ifndef EPL_IA_VENDOR_ID_ENABLE
00061    #define EPL_IA_VENDOR_ID_ENABLE                 TRUE
00062    #define EPL_IA_VENDOR_ID_VALUE                  0xFFFFFFFF
00063 #endif
00064 
00065 /*
00066 ** Attribute 2: Product Code type (UINT32 - 0x00000000-0xFFFFFFFF)
00067 */
00068 #ifndef EPL_IA_PRODUCT_CODE_ENABLE
00069    #define EPL_IA_PRODUCT_CODE_ENABLE              TRUE
00070    #define EPL_IA_PRODUCT_CODE_VALUE               0xFFFFFFFF
00071 #endif
00072 
00073 /*
00074 ** Attribute 3: Revision High Word (UINT16 - 0x0000-0xFFFF)
00075 */
00076 #ifndef EPL_IA_REVISION_HW_ENABLE
00077    #define EPL_IA_REVISION_HW_ENABLE               TRUE
00078    #define EPL_IA_REVISION_HW_VALUE                0xFFFF
00079 #endif
00080 
00081 /*
00082 ** Attribute 4: Revision Low Word (UINT16 - 0x0000-0xFFFF)
00083 */
00084 #ifndef EPL_IA_REVISION_LW_ENABLE
00085    #define EPL_IA_REVISION_LW_ENABLE               TRUE
00086    #define EPL_IA_REVISION_LW_VALUE                0xFFFF
00087 #endif
00088 
00089 /*
00090 ** Attribute 5: Serial number (UINT32 - function/variable/0x00000000-0xFFFFFFFF)
00091 */
00092 #ifndef EPL_IA_SERIAL_NUMBER_ENABLE
00093    #define EPL_IA_SERIAL_NUMBER_ENABLE             TRUE
00094    #define EPL_IA_SERIAL_NUMBER_VALUE              0x12345678
00095 #endif
00096 
00097 /*
00098 ** Attribute 6: Manufacturer device name (Array of CHAR)
00099 */
00100 #ifndef EPL_IA_MANF_DEVICE_NAME_ENABLE
00101    #define EPL_IA_MANF_DEVICE_NAME_ENABLE          TRUE
00102    #define EPL_IA_MANF_DEVICE_NAME_VALUE           "Manufacturer device name"
00103 #endif
00104 
00105 /*
00106 ** Attribute 7: Manufacturer hardware version (Array of CHAR)
00107 */
00108 #ifndef EPL_IA_MANF_HW_VERSION_ENABLE
00109    #define EPL_IA_MANF_HW_VERSION_ENABLE           TRUE
00110    #define EPL_IA_MANF_HW_VERSION_VALUE            "01"
00111 #endif
00112 
00113 /*
00114 ** Attribute 8: Manufacturer software version (Array of CHAR)
00115 */
00116 #ifndef EPL_IA_MANF_SW_VERSION_ENABLE
00117    #define EPL_IA_MANF_SW_VERSION_ENABLE           TRUE
00118    #define EPL_IA_MANF_SW_VERSION_VALUE            "01"
00119 #endif
00120 
00121 /*
00122 ** Attribute 10: Device type (UINT32 - 0x00000000-0xFFFFFFFF)
00123 */
00124 #ifndef EPL_IA_DEVICE_TYPE_ENABLE
00125    #define EPL_IA_DEVICE_TYPE_ENABLE               TRUE
00126    #define EPL_IA_DEVICE_TYPE_VALUE                0xFFFFFFFF
00127 #endif
00128 
00129 /*
00130 ** Attribute 14: Manufacturer name (Array of CHAR)
00131 */
00132 #ifndef EPL_IA_MANF_NAME_ENABLE
00133    #define EPL_IA_MANF_NAME_ENABLE                 TRUE
00134    #define EPL_IA_MANF_NAME_VALUE                  "Manufacturer name"
00135 #endif
00136 
00137 #endif /* #if EPL_OBJ_ENABLE */
00138 
00139 /*------------------------------------------------------------------------------
00140 ** EtherCAT (0xF5)
00141 **------------------------------------------------------------------------------
00142 */
00143 #if ECT_OBJ_ENABLE
00144 /*
00145 ** Attribute 1: Vendor ID (UINT32 - 0x00000000-0xFFFFFFFF)
00146 */
00147 #ifndef ECT_IA_VENDOR_ID_ENABLE
00148    #define ECT_IA_VENDOR_ID_ENABLE                 TRUE
00149    #define ECT_IA_VENDOR_ID_VALUE                  0xFFFFFFFF
00150 #endif
00151 
00152 /*
00153 ** Attribute 2: Product Code type (UINT32 - 0x00000000-0xFFFFFFFF)
00154 */
00155 #ifndef ECT_IA_PRODUCT_CODE_ENABLE
00156    #define ECT_IA_PRODUCT_CODE_ENABLE              TRUE
00157    #define ECT_IA_PRODUCT_CODE_VALUE               0xFFFFFFFF
00158 #endif
00159 
00160 /*
00161 ** Attribute 3: Revision High Word (UINT16 - 0x0000-0xFFFF)
00162 */
00163 #ifndef ECT_IA_MAJOR_REV_ENABLE
00164    #define ECT_IA_MAJOR_REV_ENABLE                 TRUE
00165    #define ECT_IA_REVISION_HW_VALUE                0xFFFF
00166 #endif
00167 
00168 /*
00169 ** Attribute 4: Revision Low Word (UINT16 - 0x0000-0xFFFF)
00170 */
00171 #ifndef ECT_IA_MINOR_REV_ENABLE
00172    #define ECT_IA_MINOR_REV_ENABLE                 TRUE
00173    #define ECT_IA_REVISION_LW_VALUE                0xFFFF
00174 #endif
00175 
00176 /*
00177 ** Attribute 5: Serial number (UINT32 - function/variable/0x00000000-0xFFFFFFFF)
00178 */
00179 #ifndef ECT_IA_SERIAL_NUMBER_ENABLE
00180    #define ECT_IA_SERIAL_NUMBER_ENABLE             TRUE
00181    #define ECT_IA_SERIAL_NUMBER_VALUE              0x12345678
00182 #endif
00183 
00184 /*
00185 ** Attribute 6: Manufacturer device name (Array of CHAR)
00186 */
00187 #ifndef ECT_IA_MANF_DEVICE_NAME_ENABLE
00188    #define ECT_IA_MANF_DEVICE_NAME_ENABLE          TRUE
00189    #define ECT_IA_MANF_DEVICE_NAME_VALUE           "Manufacturer device name"
00190 #endif
00191 
00192 /*
00193 ** Attribute 7: Manufacturer hardware version (Array of CHAR)
00194 */
00195 #ifndef ECT_IA_MANF_HW_VERSION_ENABLE
00196    #define ECT_IA_MANF_HW_VERSION_ENABLE           TRUE
00197    #define ECT_IA_MANF_HW_VERSION_VALUE            "FF"
00198 #endif
00199 
00200 /*
00201 ** Attribute 8: Manufacturer software version (Array of CHAR)
00202 */
00203 #ifndef ECT_IA_MANF_SW_VERSION_ENABLE
00204    #define ECT_IA_MANF_SW_VERSION_ENABLE           TRUE
00205    #define ECT_IA_MANF_SW_VERSION_VALUE            "FF"
00206 #endif
00207 
00208 /*
00209 ** Attribute 10: Device type (UINT32 - 0x00000000-0xFFFFFFFF)
00210 */
00211 #ifndef ECT_IA_DEVICE_TYPE_ENABLE
00212    #define ECT_IA_DEVICE_TYPE_ENABLE               TRUE
00213    #define ECT_IA_DEVICE_TYPE_VALUE                0xFFFFFFFF
00214 #endif
00215 
00216 #endif /* #if ECT_OBJ_ENABLE */
00217 
00218 /*------------------------------------------------------------------------------
00219 ** PROFINET IO Object (0xF6)
00220 **------------------------------------------------------------------------------
00221 */
00222 #if PRT_OBJ_ENABLE
00223 /*
00224 ** Attribute 1: Device ID (UINT16 - 0x0000-0xFFFF)
00225 */
00226 #ifndef PRT_IA_DEVICE_ID_ENABLE
00227    #define PRT_IA_DEVICE_ID_ENABLE                 TRUE
00228    #define PRT_IA_DEVICE_ID_VALUE                  0xFFFF
00229 #endif
00230 
00231 /*
00232 ** Attribute 2: Vendor ID (UINT16 - 0x0000-0xFFFF)
00233 */
00234 #ifndef PRT_IA_VENDOR_ID_ENABLE
00235    #define PRT_IA_VENDOR_ID_ENABLE                 TRUE
00236    #define PRT_IA_VENDOR_ID_VALUE                  0xFFFF
00237 #endif
00238 
00239 /*
00240 ** Attribute 3: Station Type (Array of CHAR)
00241 */
00242 #ifndef PRT_IA_STATION_TYPE_ENABLE
00243    #define PRT_IA_STATION_TYPE_ENABLE              TRUE
00244    #define PRT_IA_STATION_TYPE_VALUE               "Station Type"
00245 #endif
00246 
00247 /*
00248 ** Attribute 8: IM Order ID (Array of CHAR)
00249 */
00250 #ifndef PRT_IA_IM_ORDER_ID_ENABLE
00251    #define PRT_IA_IM_ORDER_ID_ENABLE               TRUE
00252    #define PRT_IA_IM_ORDER_ID_VALUE                "Order ID"
00253 #endif
00254 
00255 /*
00256 ** Attribute 9: IM Serial Number (Array of CHAR)
00257 */
00258 #ifndef PRT_IA_IM_SERIAL_NBR_ENABLE
00259    #define PRT_IA_IM_SERIAL_NBR_ENABLE             TRUE
00260    #define PRT_IA_IM_SERIAL_NBR_VALUE              "0123456789ABCDEF"
00261 #endif
00262 
00263 /*
00264 ** Attribute 10: IM Hardware revision (UINT16 - 0x0000-0xFFFF)
00265 */
00266 #ifndef PRT_IA_IM_HW_REV_ENABLE
00267    #define PRT_IA_IM_HW_REV_ENABLE                 TRUE
00268    #define PRT_IA_IM_HW_REV_VALUE                  0x0000
00269 #endif
00270 
00271 /*
00272 ** Attribute 11: IM Software revision (CHAR, 3 * UINT8)
00273 */
00274 #ifndef PRT_IA_IM_SW_REV_ENABLE
00275    #define PRT_IA_IM_SW_REV_ENABLE                 TRUE
00276    #define PRT_IA_IM_SW_REV_SYMBOL_VALUE           'V'
00277    #define PRT_IA_IM_SW_REV_MAJOR_VALUE            99
00278    #define PRT_IA_IM_SW_REV_MINOR_VALUE            99
00279    #define PRT_IA_IM_SW_REV_BUILD_VALUE            99
00280 #endif
00281 
00282 /*
00283 ** Attribute 19: System Description (Array of CHAR)
00284 */
00285 #ifndef PRT_IA_SYSTEM_DESCRIPTION_ENABLE
00286    #define PRT_IA_SYSTEM_DESCRIPTION_ENABLE        TRUE
00287    #define PRT_IA_SYSTEM_DESCRIPTION_VALUE         "System Description"
00288 #endif
00289 
00290 /*
00291 ** Attribute 22: System Contact (Array of CHAR)
00292 */
00293 #ifndef PRT_IA_SYSTEM_CONTACT_ENABLE
00294    #define PRT_IA_SYSTEM_CONTACT_ENABLE            TRUE
00295    #define PRT_IA_SYSTEM_CONTACT_VALUE             "System Contact"
00296 #endif
00297 
00298 #endif /* #if PRT_OBJ_ENABLE */
00299 
00300 /*------------------------------------------------------------------------------
00301 ** EtherNet/IP (0xF8)
00302 **------------------------------------------------------------------------------
00303 */
00304 #if EIP_OBJ_ENABLE
00305 /*
00306 ** Attribute 1: Vendor ID (UINT16 - 0x0000-0xFFFF)
00307 */
00308 #ifndef EIP_IA_VENDOR_ID_ENABLE
00309    #define EIP_IA_VENDOR_ID_ENABLE                 TRUE
00310    #define EIP_IA_VENDOR_ID_VALUE                  0xFFFF
00311 #endif
00312 
00313 /*
00314 ** Attribute 2: Device type (UINT16 - 0x0000-0xFFFF)
00315 */
00316 #ifndef EIP_IA_DEVICE_TYPE_ENABLE
00317    #define EIP_IA_DEVICE_TYPE_ENABLE               TRUE
00318    #define EIP_IA_DEVICE_TYPE_VALUE                0xFFFF
00319 #endif
00320 
00321 /*
00322 ** Attribute 3: Product code (UINT16 - 0x0000-0xFFFF)
00323 */
00324 #ifndef EIP_IA_PRODUCT_CODE_ENABLE
00325    #define EIP_IA_PRODUCT_CODE_ENABLE              TRUE
00326    #define EIP_IA_PRODUCT_CODE_VALUE               0xFFFF
00327 #endif
00328 
00329 /*
00330 ** Attribute 4: Revision (Array of UINT8 - {0x01-0xFF})
00331 */
00332 #ifndef EIP_IA_REVISION_ENABLE
00333    #define EIP_IA_REVISION_ENABLE                  TRUE
00334    #define EIP_IA_REVISION_MAJOR_VALUE             99
00335    #define EIP_IA_REVISION_MINOR_VALUE             99
00336 #endif
00337 
00338 /*
00339 ** Attribute 5: Serial number (UINT32 - function/variable/0x00000000-0xFFFFFFFF)
00340 */
00341 #ifndef EIP_IA_SERIAL_NUMBER_ENABLE
00342    #define EIP_IA_SERIAL_NUMBER_ENABLE             TRUE
00343    #define EIP_IA_SERIAL_NUMBER_VALUE              0x12345678
00344 #endif
00345 
00346 /*
00347 ** Attribute 6: Product name (Array of CHAR)
00348 */
00349 #ifndef EIP_IA_PRODUCT_NAME_ENABLE
00350    #define EIP_IA_PRODUCT_NAME_ENABLE              TRUE
00351    #define EIP_IA_PRODUCT_NAME_VALUE               "Product Name"
00352 #endif
00353 
00354 #endif /* #if EIP_OBJ_ENABLE */
00355 
00356 /*------------------------------------------------------------------------------
00357 ** Ethernet Object (0xF9)
00358 **------------------------------------------------------------------------------
00359 */
00360 #if ETN_OBJ_ENABLE
00361 /*
00362 ** Attribute 1: MAC Address (Array[6] of UINT8)
00363 */
00364 #ifndef ETN_IA_MAC_ADDRESS_ENABLE
00365    #define ETN_IA_MAC_ADDRESS_ENABLE               TRUE
00366    #define ETN_IA_MAC_ADDRESS_VALUE                "\x00\x30\x11\x11\xFF\xFF"
00367 #endif
00368 
00369 #endif /* #if ETN_OBJ_ENABLE */
00370 
00371 /*------------------------------------------------------------------------------
00372 ** Modbus (0xFA)
00373 **------------------------------------------------------------------------------
00374 */
00375 #if MOD_OBJ_ENABLE
00376 /*
00377 ** Attribute 1: Vendor Name (Array of CHAR)
00378 */
00379 #ifndef MOD_IA_VENDOR_NAME_ENABLE
00380    #define MOD_IA_VENDOR_NAME_ENABLE               TRUE
00381    #define MOD_IA_VENDOR_NAME_VALUE                "Vendor Name"
00382 #endif
00383 
00384 /*
00385 ** Attribute 2: Product Code (Array of CHAR)
00386 */
00387 #ifndef MOD_IA_PRODUCT_CODE_ENABLE
00388    #define MOD_IA_PRODUCT_CODE_ENABLE              TRUE
00389    #define MOD_IA_PRODUCT_CODE_VALUE               "Product Code"
00390 #endif
00391 
00392 /*
00393 ** Attribute 3: Revision (Array of CHAR)
00394 */
00395 #ifndef MOD_IA_REVISION_ENABLE
00396    #define MOD_IA_REVISION_ENABLE                  TRUE
00397    #define MOD_IA_REVISION_VALUE                   "99.99"
00398 #endif
00399 
00400 /*
00401 ** Attribute 4: Vendor URL (Array of CHAR)
00402 */
00403 #ifndef MOD_IA_VENDOR_URL_ENABLE
00404    #define MOD_IA_VENDOR_URL_ENABLE                TRUE
00405    #define MOD_IA_VENDOR_URL_VALUE                 "www.vendor.url"
00406 #endif
00407 
00408 /*
00409 ** Attribute 5: Product Name (Array of CHAR)
00410 */
00411 #ifndef MOD_IA_PRODUCT_NAME_ENABLE
00412    #define MOD_IA_PRODUCT_NAME_ENABLE              TRUE
00413    #define MOD_IA_PRODUCT_NAME_VALUE               "Product Name"
00414 #endif
00415 
00416 /*
00417 ** Attribute 6: Model Name (Array of CHAR)
00418 */
00419 #ifndef MOD_IA_MODEL_NAME_ENABLE
00420    #define MOD_IA_MODEL_NAME_ENABLE                TRUE
00421    #define MOD_IA_MODEL_NAME_VALUE                 "Model Name"
00422 #endif
00423 
00424 /*
00425 ** Attribute 7: User Application Name (Array of CHAR)
00426 */
00427 #ifndef MOD_IA_USER_APP_NAME_ENABLE
00428    #define MOD_IA_USER_APP_NAME_ENABLE             TRUE
00429    #define MOD_IA_USER_APP_NAME_VALUE              "User Application Name"
00430 #endif
00431 
00432 /*
00433 ** Attribute 8: Device ID (Array of UINT8)
00434 */
00435 #ifndef MOD_IA_DEVICE_ID_ENABLE
00436    #define MOD_IA_DEVICE_ID_ENABLE                 TRUE
00437    #define MOD_IA_DEVICE_ID_VALUE                  "\x00\x01\x02\x03"
00438    #define MOD_IA_DEVICE_ID_ARRAY_SIZE             4
00439 #endif
00440 
00441 #endif /* #if MOD_OBJ_ENABLE */
00442 
00443 /*------------------------------------------------------------------------------
00444 ** COP Object (0xFB)
00445 **------------------------------------------------------------------------------
00446 */
00447 #if COP_OBJ_ENABLE
00448 /*
00449 ** Attribute 1: Vendor ID (UINT32 - 0x00000000-0xFFFFFFFF)
00450 */
00451 #ifndef COP_IA_VENDOR_ID_ENABLE
00452    #define COP_IA_VENDOR_ID_ENABLE                 TRUE
00453    #define COP_IA_VENDOR_ID_VALUE                  0xFFFFFFFF
00454 #endif
00455 
00456 /*
00457 ** Attribute 2: Product Code (UINT32 - 0x00000000-0xFFFFFFFF)
00458 */
00459 #ifndef COP_IA_PRODUCT_CODE_ENABLE
00460    #define COP_IA_PRODUCT_CODE_ENABLE              TRUE
00461    #define COP_IA_PRODUCT_CODE_VALUE               0xFFFFFFFF
00462 #endif
00463 
00464 /*
00465 ** Attribute 3: Major Revision (UINT16 - 0x0000-0xFFFF)
00466 */
00467 #ifndef COP_IA_REV_MAJOR_ENABLE
00468    #define COP_IA_REV_MAJOR_ENABLE                 TRUE
00469    #define COP_IA_REV_MAJOR_VALUE                  0xFFFF
00470 #endif
00471 
00472 /*
00473 ** Attribute 4: Minor Revision (UINT16 - 0x0000-0xFFFF)
00474 */
00475 #ifndef COP_IA_REV_MINOR_ENABLE
00476    #define COP_IA_REV_MINOR_ENABLE                 TRUE
00477    #define COP_IA_REV_MINOR_VALUE                  0xFFFF
00478 #endif
00479 
00480 /*
00481 ** Attribute 5: Serial Number (UINT32 - 0x00000000-0xFFFFFFFF)
00482 */
00483 #ifndef COP_IA_SERIAL_NUMBER_ENABLE
00484    #define COP_IA_SERIAL_NUMBER_ENABLE             TRUE
00485    #define COP_IA_SERIAL_NUMBER_VALUE              0xFFFFFFFF
00486 #endif
00487 
00488 /*
00489 ** Attribute 6: Manufacturer Device Name (Array of CHAR)
00490 */
00491 #ifndef COP_IA_MANF_DEV_NAME_ENABLE
00492    #define COP_IA_MANF_DEV_NAME_ENABLE             TRUE
00493    #define COP_IA_MANF_DEV_NAME_VALUE              "Device Name"
00494 #endif
00495 
00496 /*
00497 ** Attribute 7: Manufacturer Hardware Version (Array of CHAR)
00498 */
00499 #ifndef COP_IA_MANF_HW_VER_ENABLE
00500    #define COP_IA_MANF_HW_VER_ENABLE               TRUE
00501    #define COP_IA_MANF_HW_VER_VALUE                "Hardware Version"
00502 #endif
00503 
00504 /*
00505 ** Attribute 8: Manufacturer Software Version (Array of CHAR)
00506 */
00507 #ifndef COP_IA_MANF_SW_VER_ENABLE
00508    #define COP_IA_MANF_SW_VER_ENABLE               TRUE
00509    #define COP_IA_MANF_SW_VER_VALUE                "Software Version"
00510 #endif
00511 
00512 #endif /* #if COP_OBJ_ENABLE */
00513 
00514 /*------------------------------------------------------------------------------
00515 ** DeviceNet (0xFC)
00516 **------------------------------------------------------------------------------
00517 */
00518 #if DEV_OBJ_ENABLE
00519 /*
00520 ** Attribute 1: Vendor ID (UINT16 - 0x0000-0xFFFF)
00521 */
00522 #ifndef DEV_IA_VENDOR_ID_ENABLE
00523    #define DEV_IA_VENDOR_ID_ENABLE                 TRUE
00524    #define DEV_IA_VENDOR_ID_VALUE                  0xFFFF
00525 #endif
00526 
00527 /*
00528 ** Attribute 2: Device type (UINT16 - 0x0000-0xFFFF)
00529 */
00530 #ifndef DEV_IA_DEVICE_TYPE_ENABLE
00531    #define DEV_IA_DEVICE_TYPE_ENABLE               TRUE
00532    #define DEV_IA_DEVICE_TYPE_VALUE                0xFFFF
00533 #endif
00534 
00535 /*
00536 ** Attribute 3: Product code (UINT16 - 0x0000-0xFFFF)
00537 */
00538 #ifndef DEV_IA_PRODUCT_CODE_ENABLE
00539    #define DEV_IA_PRODUCT_CODE_ENABLE              TRUE
00540    #define DEV_IA_PRODUCT_CODE_VALUE               0xFFFF
00541 #endif
00542 
00543 /*
00544 ** Attribute 4: Revision (Array of UINT8 - {0x01-0xFF})
00545 */
00546 #ifndef DEV_IA_REVISION_ENABLE
00547    #define DEV_IA_REVISION_ENABLE                  TRUE
00548    #define DEV_IA_REVISION_MAJOR_VALUE             99
00549    #define DEV_IA_REVISION_MINOR_VALUE             99
00550 #endif
00551 
00552 /*
00553 ** Attribute 5: Serial number (UINT32 - function/variable/0x00000000-0xFFFFFFFF)
00554 */
00555 #ifndef DEV_IA_SERIAL_NUMBER_ENABLE
00556    #define DEV_IA_SERIAL_NUMBER_ENABLE             TRUE
00557    #define DEV_IA_SERIAL_NUMBER_VALUE              0x12345678
00558 #endif
00559 
00560 /*
00561 ** Attribute 6: Product name (Array of CHAR)
00562 */
00563 #ifndef DEV_IA_PRODUCT_NAME_ENABLE
00564    #define DEV_IA_PRODUCT_NAME_ENABLE              TRUE
00565    #define DEV_IA_PRODUCT_NAME_VALUE               "Product Name"
00566 #endif
00567 
00568 #endif /* #if DEV_OBJ_ENABLE */
00569 
00570 /*------------------------------------------------------------------------------
00571 ** DPV1 Object (0xFD)
00572 **------------------------------------------------------------------------------
00573 */
00574 #if DPV1_OBJ_ENABLE
00575 /*
00576 ** Attribute 1: PNO Ident number (UINT16 - 0x0000-0xFFFF)
00577 */
00578 #ifndef DPV1_IA_IDENT_NUMBER_ENABLE
00579    #define DPV1_IA_IDENT_NUMBER_ENABLE             TRUE
00580    #define DPV1_IA_IDENT_NUMBER_VALUE              0xFFFF
00581 #endif
00582 
00583 /*
00584 ** Attribute 8: Manufacturer Ident number (UINT16 - 0x0000-0xFFFF)
00585 */
00586 #ifndef DPV1_IA_MANUFACTURER_ID_ENABLE
00587    #define DPV1_IA_MANUFACTURER_ID_ENABLE          TRUE
00588    #define DPV1_IA_MANUFACTURER_ID_VALUE           0xFFFF
00589 #endif
00590 
00591 /*
00592 ** Attribute 9: IM Order ID (Array of CHAR)
00593 */
00594 #ifndef DPV1_IA_ORDER_ID_ENABLE
00595    #define DPV1_IA_ORDER_ID_ENABLE                 TRUE
00596    #define DPV1_IA_ORDER_ID_VALUE                  "Order ID"
00597 #endif
00598 
00599 /*
00600 ** Attribute 10: IM Serial Number (Array of CHAR)
00601 */
00602 #ifndef DPV1_IA_SERIAL_NO_ENABLE
00603    #define DPV1_IA_SERIAL_NO_ENABLE                TRUE
00604    #define DPV1_IA_SERIAL_NO_VALUE                 "0123456789ABCDEF"
00605 #endif
00606 
00607 /*
00608 ** Attribute 11: IM Hardware revision (UINT16 - 0x0000-0xFFFF)
00609 */
00610 #ifndef DPV1_IA_HW_REV_ENABLE
00611    #define DPV1_IA_HW_REV_ENABLE                   TRUE
00612    #define DPV1_IA_HW_REV_VALUE                    0x0000
00613 #endif
00614 
00615 /*
00616 ** Attribute 12: IM Software revision (CHAR, 3 * UINT8)
00617 */
00618 #ifndef DPV1_IA_SW_REV_ENABLE
00619    #define DPV1_IA_SW_REV_ENABLE                   TRUE
00620    #define DPV1_IA_SW_REV_SYMBOL_VALUE             'V'
00621    #define DPV1_IA_SW_REV_MAJOR_VALUE              99
00622    #define DPV1_IA_SW_REV_MINOR_VALUE              99
00623    #define DPV1_IA_SW_REV_BUILD_VALUE              99
00624 #endif
00625 
00626 #endif  /* DPV1_OBJ_ENABLE */
00627 
00628 /*******************************************************************************
00629 ** Typedefs
00630 ********************************************************************************
00631 */
00632 
00633 /*******************************************************************************
00634 ** Public Globals
00635 ********************************************************************************
00636 */
00637 
00638 /*******************************************************************************
00639 ** Public Services
00640 ********************************************************************************
00641 */
00642 
00643 #endif  /* inclusion lock */