R2D2 API Description
R2D2 API Protocol (GRAP) is used on the socket interface on the top of R2D2 API Daemon. It is used by R2D2 API Programming Languages Interface Modules (R2D2 API BASH Interface Module, R2D2 API C/C++ Interface Module, …). The .h file (gsmrobot.h) enumerating the function prototypes is provided with the robot in the directory /iQsim/GsmRobotD. R2D2 API Daemon is listening TCP port 1176. TCP port can be changed in the R2D2 API Daemon configuration. R2D2 API Script Language Interface Module connects to IRON R2D2 API Daemon on this port. IP address and TCP port for this connection on the IRON R2D2 API Script Language Interface Module side can be specified in its configuration. Connection to this TCP port can be accepted only from local host IP address, so IRON R2D2 BASH Script (or any other) Interface Module can run only on the same host as IRON R2D2 API Daemon.