Skip to Navigation

4.3.2 - Configuration

There are two IOTypes used to write or read general U6 configuration parameters:


LJ_ioPUT_CONFIG
LJ_ioGET_CONFIG

The following constants are then used in the channel parameter of the config function call to specify what is being written or read:


LJ_chLOCALID
LJ_chHARDWARE_VERSION
LJ_chSERIAL_NUMBER
LJ_chFIRMWARE_VERSION
LJ_chBOOTLOADER_VERSION
LJ_chPRODUCTID
LJ_chLED_STATE

Following is example pseudocode to write and read the local ID:


//Set the local ID to 4.
ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chLOCALID, 4, 0);

//Read the local ID.
eGet (lngHandle, LJ_ioGET_CONFIG, LJ_chLOCALID, &dblValue, 0);
tags:

Comments

No comments yet. Speak up. We're listening.