Communications

type krpc_SpaceCenter_Comms_t

Used to interact with CommNet for a given vessel. Obtained by calling krpc_SpaceCenter_Vessel_Comms().

krpc_error_t krpc_SpaceCenter_Comms_CanCommunicate(krpc_connection_t connection, bool *result)

Whether the vessel can communicate with KSC.

Game Scenes:

Flight

krpc_error_t krpc_SpaceCenter_Comms_CanTransmitScience(krpc_connection_t connection, bool *result)

Whether the vessel can transmit science data to KSC.

Game Scenes:

Flight

krpc_error_t krpc_SpaceCenter_Comms_SignalStrength(krpc_connection_t connection, double *result)

Signal strength to KSC.

Game Scenes:

Flight

krpc_error_t krpc_SpaceCenter_Comms_SignalDelay(krpc_connection_t connection, double *result)

Signal delay to KSC in seconds.

Game Scenes:

Flight

krpc_error_t krpc_SpaceCenter_Comms_Power(krpc_connection_t connection, double *result)

The combined power of all active antennae on the vessel.

Game Scenes:

Flight

krpc_error_t krpc_SpaceCenter_Comms_ControlPath(krpc_connection_t connection, krpc_list_object_t *result)

The communication path used to control the vessel.

Game Scenes:

Flight

Represents a communication node in the network. For example, a vessel or the KSC.

The type of link.

Signal strength of the link.

Start point of the link.

Start point of the link.

type krpc_SpaceCenter_CommLinkType_t

The type of a communication link. See krpc_SpaceCenter_CommLink_Type().

KRPC_SPACECENTER_COMMLINKTYPE_HOME

Link is to a base station on Kerbin.

KRPC_SPACECENTER_COMMLINKTYPE_CONTROL

Link is to a control source, for example a manned spacecraft.

KRPC_SPACECENTER_COMMLINKTYPE_RELAY

Link is to a relay satellite.

type krpc_SpaceCenter_CommNode_t

Represents a communication node in the network. For example, a vessel or the KSC.

krpc_error_t krpc_SpaceCenter_CommNode_Name(krpc_connection_t connection, char **result)

Name of the communication node.

krpc_error_t krpc_SpaceCenter_CommNode_IsHome(krpc_connection_t connection, bool *result)

Whether the communication node is on Kerbin.

krpc_error_t krpc_SpaceCenter_CommNode_IsControlPoint(krpc_connection_t connection, bool *result)

Whether the communication node is a control point, for example a manned vessel.

krpc_error_t krpc_SpaceCenter_CommNode_IsVessel(krpc_connection_t connection, bool *result)

Whether the communication node is a vessel.

krpc_error_t krpc_SpaceCenter_CommNode_Vessel(krpc_connection_t connection, krpc_SpaceCenter_Vessel_t *result)

The vessel for this communication node.