Communications#
-
type krpc_SpaceCenter_Comms_t#
Used to interact with CommNet for a given vessel. Obtained by calling
krpc_SpaceCenter_Vessel_Comms().-
KRPC_CLASS_SPACECENTER_COMMS#
The service and class ids of the class, for
krpc_KRPC_Type_ClassTypeById().
-
krpc_error_t krpc_SpaceCenter_Comms_CanCommunicate(krpc_connection_t connection, bool *returnValue, krpc_SpaceCenter_Comms_t instance)#
Whether the vessel can communicate with KSC.
- Game Scenes:
Flight
-
krpc_error_t krpc_SpaceCenter_Comms_CanTransmitScience(krpc_connection_t connection, bool *returnValue, krpc_SpaceCenter_Comms_t instance)#
Whether the vessel can transmit science data to KSC.
- Game Scenes:
Flight
-
krpc_error_t krpc_SpaceCenter_Comms_SignalStrength(krpc_connection_t connection, double *returnValue, krpc_SpaceCenter_Comms_t instance)#
Signal strength to KSC.
- Game Scenes:
Flight
-
krpc_error_t krpc_SpaceCenter_Comms_SignalDelay(krpc_connection_t connection, double *returnValue, krpc_SpaceCenter_Comms_t instance)#
Signal delay to KSC in seconds.
- Game Scenes:
Flight
-
krpc_error_t krpc_SpaceCenter_Comms_Power(krpc_connection_t connection, double *returnValue, krpc_SpaceCenter_Comms_t instance)#
The combined power of all active antennae on the vessel.
- Game Scenes:
Flight
Note
Not used by RealAntennas, which replaces the stock range model.
-
krpc_error_t krpc_SpaceCenter_Comms_ControlPath(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_SpaceCenter_Comms_t instance)#
The communication path used to control the vessel.
- Game Scenes:
Flight
-
KRPC_CLASS_SPACECENTER_COMMS#
-
type krpc_SpaceCenter_CommLink_t#
Represents a communication link between two nodes in the network.
-
KRPC_CLASS_SPACECENTER_COMMLINK#
The service and class ids of the class, for
krpc_KRPC_Type_ClassTypeById().
-
krpc_error_t krpc_SpaceCenter_CommLink_Type(krpc_connection_t connection, krpc_SpaceCenter_CommLinkType_t *returnValue, krpc_SpaceCenter_CommLink_t instance)#
The type of link.
-
krpc_error_t krpc_SpaceCenter_CommLink_SignalStrength(krpc_connection_t connection, double *returnValue, krpc_SpaceCenter_CommLink_t instance)#
Signal strength of the link.
-
krpc_error_t krpc_SpaceCenter_CommLink_Start(krpc_connection_t connection, krpc_SpaceCenter_CommNode_t *returnValue, krpc_SpaceCenter_CommLink_t instance)#
Start point of the link.
-
krpc_error_t krpc_SpaceCenter_CommLink_End(krpc_connection_t connection, krpc_SpaceCenter_CommNode_t *returnValue, krpc_SpaceCenter_CommLink_t instance)#
End point of the link.
-
krpc_error_t krpc_SpaceCenter_CommLink_ForwardDataRate(krpc_connection_t connection, double *returnValue, krpc_SpaceCenter_CommLink_t instance)#
The data rate from
krpc_SpaceCenter_CommLink_Start()tokrpc_SpaceCenter_CommLink_End(), in bits per second.Note
Requires RealAntennas.
-
krpc_error_t krpc_SpaceCenter_CommLink_ReverseDataRate(krpc_connection_t connection, double *returnValue, krpc_SpaceCenter_CommLink_t instance)#
The data rate from
krpc_SpaceCenter_CommLink_End()tokrpc_SpaceCenter_CommLink_Start(), in bits per second.Note
Requires RealAntennas.
-
krpc_error_t krpc_SpaceCenter_CommLink_StartAntenna(krpc_connection_t connection, krpc_SpaceCenter_Antenna_t *returnValue, krpc_SpaceCenter_CommLink_t instance)#
The antenna at
krpc_SpaceCenter_CommLink_Start()that transmits over the link, ornullptrifkrpc_SpaceCenter_CommLink_Start()is a ground station or an unloaded vessel.Note
Requires RealAntennas.
-
krpc_error_t krpc_SpaceCenter_CommLink_EndAntenna(krpc_connection_t connection, krpc_SpaceCenter_Antenna_t *returnValue, krpc_SpaceCenter_CommLink_t instance)#
The antenna at
krpc_SpaceCenter_CommLink_End()that receives over the link, ornullptrifkrpc_SpaceCenter_CommLink_End()is a ground station or an unloaded vessel.Note
Requires RealAntennas.
-
KRPC_CLASS_SPACECENTER_COMMLINK#
-
type krpc_SpaceCenter_CommLinkType_t#
The type of a communication link. See
krpc_SpaceCenter_CommLink_Type().-
KRPC_ENUMERATION_SPACECENTER_COMMLINKTYPE#
The service and enumeration ids of the enumeration, for
krpc_KRPC_Type_EnumerationTypeById()andkrpc_KRPC_Expression_ConstantEnumById().
-
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.
-
KRPC_ENUMERATION_SPACECENTER_COMMLINKTYPE#
-
type krpc_SpaceCenter_CommNode_t#
Represents a communication node in the network. For example, a vessel or the KSC.
-
KRPC_STRUCT_SPACECENTER_COMMNODE#
The service and structure ids of the structure, for
krpc_KRPC_Type_StructTypeById().
-
char *name#
Name of the communication node.
-
KRPC_FIELD_SPACECENTER_COMMNODE_NAME#
The position of the field, for
krpc_KRPC_Expression_GetFieldByIndex().
-
KRPC_FIELD_SPACECENTER_COMMNODE_NAME#
-
bool is_home#
Whether the communication node is on Kerbin.
-
KRPC_FIELD_SPACECENTER_COMMNODE_ISHOME#
The position of the field, for
krpc_KRPC_Expression_GetFieldByIndex().
-
KRPC_FIELD_SPACECENTER_COMMNODE_ISHOME#
-
bool is_control_point#
Whether the communication node is a control point, for example a manned vessel.
-
KRPC_FIELD_SPACECENTER_COMMNODE_ISCONTROLPOINT#
The position of the field, for
krpc_KRPC_Expression_GetFieldByIndex().
-
KRPC_FIELD_SPACECENTER_COMMNODE_ISCONTROLPOINT#
-
KRPC_STRUCT_SPACECENTER_COMMNODE#