Functions

advanced functions More...

Functions

const char * tucbot_robotId_getString (eRobotId id)
 Returns a pointer to the unique robot ID string located in the flash. More...
 
void tucbot_robotId_set (eRobotId id)
 Set the ID of the current robot. More...
 

Detailed Description

advanced functions

Function Documentation

◆ tucbot_robotId_getString()

const char* tucbot_robotId_getString ( eRobotId  id)

Returns a pointer to the unique robot ID string located in the flash.

Parameters
idvalue representing the robot ID - see also eRobotId
Returns
pointer to the unique string for the selected robot
The string is located in the flash memory!
If an invalid ID was set, 0x0000 will be returned.
See also
robotId_get()

◆ tucbot_robotId_set()

void tucbot_robotId_set ( eRobotId  id)

Set the ID of the current robot.

The selected ID is written into the EEPROM.

Parameters
idvalue representing the new robot ID - see also eRobotId
See also
robotId_get()