#include "rec/robotino/com/c/globals.h"
#include "rec/robotino/com/c/Com.h"
Go to the source code of this file.
Defines | |
#define | INVALID_INFOID -1 |
Typedefs | |
typedef int | InfoId |
Functions | |
DLLEXPORT InfoId | Info_construct () |
DLLEXPORT BOOL | Info_destroy (InfoId id) |
DLLEXPORT BOOL | Info_setComId (InfoId id, ComId comId) |
DLLEXPORT BOOL | Info_text (InfoId id, char *infoBuffer, unsigned int infoBuffersSize) |
DLLEXPORT BOOL | Info_isPassiveMode (InfoId id) |
Use Info_construct() to create a new info object. Associate the info object with a com object using Info_setComId(). Use Info_text() to read the info message. Use Info_isPassiveMode() to check for passive mode connection.
DLLEXPORT InfoId Info_construct | ( | ) |
Construct an info object
DLLEXPORT BOOL Info_destroy | ( | InfoId | id | ) |
Destroy the info object assigned to id
id | The id of the info object to be destroyed |
DLLEXPORT BOOL Info_isPassiveMode | ( | InfoId | id | ) |
Returns wether this device is in passive mode.
id | The id of the info object to be read |
DLLEXPORT BOOL Info_setComId | ( | InfoId | id, | |
ComId | comId | |||
) |
Associated a info object with a communication interface, i.e. binding the info to a specific Robotino
DLLEXPORT BOOL Info_text | ( | InfoId | id, | |
char * | infoBuffer, | |||
unsigned int | infoBuffersSize | |||
) |
Gets the current text message of this device.
infoBuffer | Will contain the received into message as '' terminated string. | |
infoBuffersSize | The size of infoBuffer. |