java.lang.Object | |
↳ | com.commsignia.v2x.client.ITSApplication |
The ITSApplication class provides a client for connecting to an ITS Router using the External API Server interface.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DEFAULT_CONNECTION_TIMEOUT | Default connection timeout in milliseconds | |||||||||
int | DEFAULT_EAS_PORT | Default external application server port. | |||||||||
int | DEFAULT_HEARTBEAT_SEND_FREQUENCY_IN_MILLISECONDS | Default frequency while sending heartbeat packets in milliseconds. | |||||||||
int | DEFAULT_READ_TIMEOUT | Default read timeout (SO_TIMEOUT) in milliseconds | |||||||||
int | DEFAULT_REQUEST_TIMEOUT | Default request timeout in milliseconds | |||||||||
int | DEFAULT_WAIT_BETWEEN_RECONNECTS | Default wait between reconnects in milliseconds when an error occurs |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ITSApplication(long applicationId, String host, MessageSet messageSet)
Creates a new ITSApplication instance.
| |||||||||||
ITSApplication(long applicationId, String host, int port, MessageSet messageSet)
Creates a new ITSApplication instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addConnectionStateListener(ITSConnectionStateListener listener)
Registers a new connection state listener.
| ||||||||||
void |
addEventListener(ITSEventListener eventListener)
Registers a new event listener.
| ||||||||||
void |
addRawFacilityPacketListener(ITSRawFacilityPacketListener rawPacketListener)
Adds a raw packet listener.
| ||||||||||
Observable<Void> |
beginProfiling(long measureIntervalInSec)
Begin a profiling run using the specified measurement interval.
| ||||||||||
void |
beginProfiling(long measureIntervalInSec, SimpleResponseHandler handler)
Begin a profiling run using the specified measurement interval.
| ||||||||||
void |
beginProfilingBlocking(long measureIntervalInSec)
Begin a profiling run using the specified measurement interval.
| ||||||||||
void |
canInject(CanInjectType injectType, int deviceId, long messageId, byte[] canData, SimpleResponseHandler handler)
Inject CAN data.
| ||||||||||
Observable<Void> |
canInject(CanInjectType injectType, int deviceId, long messageId, byte[] canData)
Inject CAN data.
| ||||||||||
void |
canInjectBlocking(CanInjectType injectType, int deviceId, long messageId, byte[] canData)
Inject CAN data.
| ||||||||||
void |
canSubscribe(int deviceId, long messageId, SimpleResponseHandler handler)
Subscribe to CAN messages.
| ||||||||||
Observable<Void> |
canSubscribe(int deviceId, long messageId)
Subscribe to CAN messages.
| ||||||||||
void |
canSubscribeBlocking(int deviceId, long messageId)
Subscribe to CAN messages.
| ||||||||||
Observable<Void> |
canUnsubscribe(int deviceId, long messageId)
Unsubscribe from CAN messages.
| ||||||||||
void |
canUnsubscribe(int deviceId, long messageId, SimpleResponseHandler handler)
Unsubscribe from CAN messages.
| ||||||||||
void |
canUnsubscribeBlocking(int deviceId, long messageId)
Unsubscribe from CAN messages.
| ||||||||||
void |
clearPtActivationBlocking()
Clear the Pt activation status from the CAM message.
| ||||||||||
Observable<Void> |
clearStationClosedLanes()
Clear the closed lanes status information from the CAM message.
| ||||||||||
void |
clearStationClosedLanes(SimpleResponseHandler handler)
Clear the closed lanes status information from the CAM message.
| ||||||||||
void |
clearStationClosedLanesBlocking()
Clear the closed lanes status information from the CAM message.
| ||||||||||
void |
clearStationEmergencyPriority(SimpleResponseHandler handler)
Clear the emergency priority related information from the CAM message.
| ||||||||||
Observable<Void> |
clearStationEmergencyPriority()
Clear the emergency priority related information from the CAM message.
| ||||||||||
void |
clearStationEmergencyPriorityBlocking()
Clear the emergency priority related information from the CAM message.
| ||||||||||
Observable<Void> |
clearStationEventFlags(BSMSafetyEventFlags eventFlags)
Clears the event safety flags (Safety Extension part II of BSM) of the station.
| ||||||||||
void |
clearStationEventFlags(BSMSafetyEventFlags eventFlags, SimpleResponseHandler handler)
Clears the event safety flags (Safety Extension part II of BSM) of the station.
| ||||||||||
void |
clearStationEventFlagsBlocking(BSMSafetyEventFlags eventFlags)
Clears the event safety flags (Safety Extension part II of BSM) of the station.
| ||||||||||
Observable<Void> |
clearStationIncidentIndication()
Clear the incident related information from the CAM message.
| ||||||||||
void |
clearStationIncidentIndication(SimpleResponseHandler handler)
Clear the incident related information from the CAM message.
| ||||||||||
void |
clearStationIncidentIndicationBlocking()
Clear the incident related information from the CAM message.
| ||||||||||
void |
clearStationLateralAcceleration(SimpleResponseHandler handler)
Clear station lateral acceleration.
| ||||||||||
Observable<Void> |
clearStationLateralAcceleration()
Clear station lateral acceleration.
| ||||||||||
void |
clearStationLateralAccelerationBlocking()
Clear station lateral acceleration.
| ||||||||||
Observable<Void> |
clearStationPtActivation()
Clear the Pt activation status from the CAM message.
| ||||||||||
void |
clearStationPtActivation(SimpleResponseHandler handler)
Clear the Pt activation status from the CAM message.
| ||||||||||
Observable<Void> |
clearStationRoadWorksSubCause()
Clear the road work sub cause value from the CAM message.
| ||||||||||
void |
clearStationRoadWorksSubCause(SimpleResponseHandler handler)
Clear the road work sub cause value from the CAM message.
| ||||||||||
void |
clearStationRoadWorksSubCauseBlocking()
Clear the road work sub cause value from the CAM message.
| ||||||||||
Observable<Void> |
clearStationSpeedLimit()
Clear the speed limit information from the CAM message.
| ||||||||||
void |
clearStationSpeedLimit(SimpleResponseHandler handler)
Clear the speed limit information from the CAM message.
| ||||||||||
void |
clearStationSpeedLimitBlocking()
Clear the speed limit information from the CAM message.
| ||||||||||
Observable<Void> |
clearStationSteeringWheelAngle()
Clears the station steering wheel angle.
| ||||||||||
void |
clearStationSteeringWheelAngle(SimpleResponseHandler handler)
Clears the station steering wheel angle.
| ||||||||||
void |
clearStationSteeringWheelAngleBlocking()
Sets the station steering wheel angle.
| ||||||||||
void |
clearStationTrafficRule(SimpleResponseHandler handler)
Clear the traffic rule related information from the CAM message.
| ||||||||||
Observable<Void> |
clearStationTrafficRule()
Clear the traffic rule related information from the CAM message.
| ||||||||||
void |
clearStationVerticalAcceleration(SimpleResponseHandler handler)
Clear station vertical acceleration.
| ||||||||||
Observable<Void> |
clearStationVerticalAcceleration()
Clear station vertical acceleration.
| ||||||||||
void |
clearStationVerticalAccelerationBlocking()
Clear station vertical acceleration.
| ||||||||||
void |
clearTrafficStationRuleBlocking()
Clear the traffic rule related information from the CAM message.
| ||||||||||
synchronized void |
connect(int timeoutInMilliSeconds)
Connect synchronously to the host.
| ||||||||||
synchronized void |
connect()
Connect synchronously to the host.
| ||||||||||
Observable<Void> |
denmTerminate(DENMTerminate denmTerminate)
Terminates a DENM message that is currently broadcasted by the ITS Router.
| ||||||||||
void |
denmTerminate(DENMTerminate denmTerminate, SimpleResponseHandler handler)
Terminates a DENM message that is currently broadcasted by the ITS Router.
| ||||||||||
void |
denmTerminateBlocking(DENMTerminate denmTerminate)
Terminates a DENM message that is currently broadcasted by the ITS Router.
| ||||||||||
Observable<DENMActionID> |
denmTrigger(DENMTrigger denmTrigger)
Trigger a new DENM message which then gets broadcasted by the ITS router.
| ||||||||||
void |
denmTrigger(DENMTrigger denmTrigger, ResponseHandler<DENMActionID> handler)
Trigger a new DENM message which then gets broadcasted by the ITS router.
| ||||||||||
DENMActionID |
denmTriggerBlocking(DENMTrigger denmTrigger)
Trigger a new DENM message which then gets broadcasted by the ITS router.
| ||||||||||
Observable<Void> |
denmUpdate(DENMTrigger denmTrigger)
Update an already triggered DENM message.
| ||||||||||
void |
denmUpdate(DENMTrigger denmTrigger, SimpleResponseHandler handler)
Update an already triggered DENM message.
| ||||||||||
void |
denmUpdateBlocking(DENMTrigger denmTrigger)
Update an already triggered DENM message.
| ||||||||||
Observable<Void> |
deregister()
De-registers the application from the the ITS Router.
| ||||||||||
void |
deregister(SimpleResponseHandler handler)
De-registers the application from the the ITS Router.
| ||||||||||
void |
deregisterBlocking()
Deregisters the application on the ITS Router.
| ||||||||||
Observable<Void> |
facilitySubscribe(FacilitySubscriptionMessages filter)
Subscribe to facility notifications.
| ||||||||||
void |
facilitySubscribe(FacilitySubscriptionMessages filter, SimpleResponseHandler handler)
Subscribe to facility notifications.
| ||||||||||
void |
facilitySubscribeBlocking(FacilitySubscriptionMessages filter)
Subscribe to facility notifications.
| ||||||||||
Observable<Void> |
facilityUnsubscribe(FacilitySubscriptionMessages filter)
Unsubscribe from facility notifications.
| ||||||||||
void |
facilityUnsubscribe(FacilitySubscriptionMessages filter, SimpleResponseHandler handler)
Unsubscribe from facility notifications.
| ||||||||||
void |
facilityUnsubscribeBlocking(FacilitySubscriptionMessages filter)
Unsubscribe from facility notifications.
| ||||||||||
long |
getApplicationId()
Returns the application id.
| ||||||||||
int |
getConnectionTimeout()
Returns the currently set connection timeout.
| ||||||||||
synchronized File |
getDumpRootDir()
Gets the current packet dump directory.
| ||||||||||
String |
getHost()
Returns the hostname.
| ||||||||||
MessageSet |
getMessageSet()
Returns the message set.
| ||||||||||
int |
getPort()
Returns the port.
| ||||||||||
int |
getReadTimeout()
Returns the currently set read timeout (SO_TIMEOUT).
| ||||||||||
long |
getRequestTimeout()
Returns the currently set request timeout.
| ||||||||||
static String |
getVersion()
Returns the version of the ITS library.
| ||||||||||
int |
getWaitBetweenReconnects()
Gets the amount of waiting in milliseconds between connection attempts when an error occurs.
| ||||||||||
Observable<Void> |
gnBind(BTPType btpType, long portNumber)
Bind to a geonetworking port number.
| ||||||||||
void |
gnBind(BTPType btpType, long portNumber, SimpleResponseHandler handler)
Bind to a geonetworking port number.
| ||||||||||
void |
gnBindBlocking(BTPType btpType, long portNumber)
Bind to a geonetworking port number.
| ||||||||||
Observable<Void> |
gnClose(BTPType btpType, long portNumber)
Stop listening on the specified geonetworking port.
| ||||||||||
void |
gnClose(BTPType btpType, long portNumber, SimpleResponseHandler handler)
Stop listening on the specified geonetworking port.
| ||||||||||
void |
gnCloseBlocking(BTPType btpType, long portNumber)
Stop listening on the specified geonetworking port.
| ||||||||||
void |
gnSend(GeonetSendData sendData, SimpleResponseHandler handler)
Send a geonetworking packet.
| ||||||||||
Observable<Void> |
gnSend(GeonetSendData sendData)
Send a geonetworking packet.
| ||||||||||
void |
gnSendBlocking(GeonetSendData sendData)
Send a geonetworking packet.
| ||||||||||
Observable<Void> |
intersectionDeleteRequest(long intersectionId)
Submits an intersection delete request.
| ||||||||||
void |
intersectionDeleteRequest(long intersectionId, SimpleResponseHandler handler)
Submits an intersection delete request.
| ||||||||||
void |
intersectionDeleteRequestBlocking(long intersectionId)
Submits an intersection delete request.
| ||||||||||
Observable<Void> |
intersectionRequest(Intersection intersection)
Submits an intersection request.
| ||||||||||
void |
intersectionRequest(Intersection intersection, SimpleResponseHandler handler)
Submits an intersection request.
| ||||||||||
void |
intersectionRequestBlocking(Intersection intersection)
Submits an intersection request.
| ||||||||||
Observable<Void> |
intersectionStateRemoveRequest(Long intersectionId)
Send an intersection state delete/remove request
| ||||||||||
void |
intersectionStateRemoveRequest(Long intersectionId, SimpleResponseHandler handler)
Send an intersection state delete/remove request
| ||||||||||
void |
intersectionStateRemoveRequestBlocking(Long intersectionId)
Send an intersection state delete/remove request
| ||||||||||
void |
intersectionStateRequest(IntersectionState intersectionState, SimpleResponseHandler handler)
Send an intersection state request
| ||||||||||
Observable<Void> |
intersectionStateRequest(IntersectionState intersectionState)
Send an intersection state request
| ||||||||||
void |
intersectionStateRequestBlocking(IntersectionState intersectionState)
Send an intersection state request
| ||||||||||
void |
intersectionStateUpdateRequest(IntersectionState intersectionState, SimpleResponseHandler handler)
Send an intersection state update request
| ||||||||||
Observable<Void> |
intersectionStateUpdateRequest(IntersectionState intersectionState)
Send an intersection state update request
| ||||||||||
void |
intersectionStateUpdateRequestBlocking(IntersectionState intersectionState)
Send an intersection state update request
| ||||||||||
boolean |
isConnected()
Returns the connection status.
| ||||||||||
boolean |
isDumpEnabled()
Returns the status of the packet dumping feature.
| ||||||||||
Observable<Void> |
ldmSubscribe(LdmFilter... ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
| ||||||||||
void |
ldmSubscribe(List<LdmFilter> ldmFilterSet, SimpleResponseHandler handler)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
| ||||||||||
Observable<Void> |
ldmSubscribe(List<LdmFilter> ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
| ||||||||||
void |
ldmSubscribeBlocking(List<LdmFilter> ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
| ||||||||||
void |
ldmSubscribeBlocking(LdmFilter... ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
| ||||||||||
void |
ldmUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from all LDM notifications.
| ||||||||||
Observable<Void> |
ldmUnsubscribe()
Unsubscribe from all LDM notifications.
| ||||||||||
void |
ldmUnsubscribeBlocking()
Unsubscribe from all LDM notifications.
| ||||||||||
void |
navSubscribe(SimpleResponseHandler handler)
Subscribe to NAV messages.
| ||||||||||
Observable<Void> |
navSubscribe()
Subscribe to NAV messages.
| ||||||||||
void |
navSubscribeBlocking()
Subscribe to NAV messages.
| ||||||||||
Observable<Void> |
navUnsubscribe()
Unsubscribe from NAV messages.
| ||||||||||
void |
navUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from NAV messages.
| ||||||||||
void |
navUnsubscribeBlocking()
Unsubscribe from NAV messages.
| ||||||||||
void |
potiSetCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource, SimpleResponseHandler handler)
Set curvature in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set curvature in the position and timing module.
| ||||||||||
void |
potiSetCurvatureBlocking(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set curvature in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetDriveDirection(DriveDirection driveDirection)
Set drive direction in the position and timing module.
| ||||||||||
void |
potiSetDriveDirection(DriveDirection driveDirection, SimpleResponseHandler handler)
Set drive direction in the position and timing module.
| ||||||||||
void |
potiSetDriveDirectionBlocking(DriveDirection driveDirection)
Set drive direction in the position and timing module.
| ||||||||||
void |
potiSetGPSD(String host, int port, SimpleResponseHandler handler)
Sets the specified host and port as the GPSD server for POTI.
| ||||||||||
Observable<Void> |
potiSetGPSD(String host, int port)
Sets the specified host and port as the GPSD server for POTI.
| ||||||||||
void |
potiSetGPSDBlocking(String host, int port)
Sets the specified host and port as the GPSD server for POTI.
| ||||||||||
void |
potiSetGpsStatus(GpsStatus status, SimpleResponseHandler handler)
Set gps status in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetGpsStatus(GpsStatus status)
Set gps status in the position and timing module.
| ||||||||||
void |
potiSetGpsStatusBlocking(GpsStatus status)
Set gps status in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetHeading(double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit)
Set a heading value in the position and timing module.
| ||||||||||
void |
potiSetHeading(double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit, SimpleResponseHandler handler)
Set a heading value in the position and timing module.
| ||||||||||
void |
potiSetHeadingBlocking(double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit)
Set a heading value in the position and timing module.
| ||||||||||
void |
potiSetLateralAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)
Set a lateral acceleration in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetLateralAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a lateral acceleration in the position and timing module.
| ||||||||||
void |
potiSetLateralAccelerationBlocking(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a lateral acceleration in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetLongitudinalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a longitudinal acceleration in the position and timing module.
| ||||||||||
void |
potiSetLongitudinalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)
Set a longitudinal acceleration in the position and timing module.
| ||||||||||
void |
potiSetLongitudinalAccelerationBlocking(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a longitudinal acceleration in the position and timing module.
| ||||||||||
void |
potiSetManualPosition(ManualPosition manualPosition, SimpleResponseHandler handler)
Set a manual position in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetManualPosition(ManualPosition manualPosition)
Set a manual position in the position and timing module.
| ||||||||||
void |
potiSetManualPositionBlocking(ManualPosition manualPosition)
Set a manual position in the position and timing module.
| ||||||||||
void |
potiSetPosition(long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit, SimpleResponseHandler handler)
Set the specified static position for use with POTI.
| ||||||||||
Observable<Void> |
potiSetPosition(long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit)
Set the specified static position for use with POTI.
| ||||||||||
void |
potiSetPositionBlocking(long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit)
Set the specified static position for use with POTI.
| ||||||||||
void |
potiSetSpeed(double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit, SimpleResponseHandler handler)
Set the speed in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetSpeed(double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit)
Set the speed in the position and timing module.
| ||||||||||
void |
potiSetSpeedBlocking(double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit)
Set the speed in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetTimeConfidence(TimeConfidence confidence)
Set time confidence in the position and timing module.
| ||||||||||
void |
potiSetTimeConfidence(TimeConfidence confidence, SimpleResponseHandler handler)
Set time confidence in the position and timing module.
| ||||||||||
void |
potiSetTimeConfidenceBlocking(TimeConfidence confidence)
Set time confidence in the position and timing module.
| ||||||||||
void |
potiSetTransmissionState(TransmissionState transmissionState, SimpleResponseHandler handler)
Sets the transmission state poti parameter in BSM.
| ||||||||||
Observable<Void> |
potiSetTransmissionState(TransmissionState transmissionState)
Sets the transmission state poti parameter in BSM.
| ||||||||||
void |
potiSetTransmissionStateBlocking(TransmissionState transmissionState)
Sets the transmission state poti parameter in BSM.
| ||||||||||
Observable<Void> |
potiSetVerticalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a vertical acceleration in the position and timing module.
| ||||||||||
void |
potiSetVerticalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)
Set a vertical acceleration in the position and timing module.
| ||||||||||
void |
potiSetVerticalAccelerationBlocking(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a vertical acceleration in the position and timing module.
| ||||||||||
void |
potiSetYawRate(double yawRateDegreesPerSec, YawRateConfidence yawRateConfidence, SimpleResponseHandler handler)
Set yaw rate in the position and timing module.
| ||||||||||
Observable<Void> |
potiSetYawRate(double yawRateDegreesPerSec, YawRateConfidence confidence)
Set yaw rate in the position and timing module.
| ||||||||||
void |
potiSetYawRateBlocking(double yawRateDegreesPerSec, YawRateConfidence confidence)
Set yaw rate in the position and timing module.
| ||||||||||
Observable<Void> |
potiSubscribe(PotiSubscription potiSubscription)
Subscribe to POTI messages, with seleceted subscribegroups.
| ||||||||||
void |
potiSubscribe(SimpleResponseHandler handler, PotiSubscription potiSubscription)
Subscribe to POTI messages, with seleceted subscribegroups.
| ||||||||||
void |
potiSubscribeBlocking(PotiSubscription potiSubscription)
Subscribe to POTI messages, with seleceted subscribegroups.
| ||||||||||
Observable<Void> |
potiUnsubscribe()
Unsubscribe from POTI messages.
| ||||||||||
void |
potiUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from POTI messages.
| ||||||||||
void |
potiUnsubscribeBlocking()
Unsubscribe from POTI messages.
| ||||||||||
Observable<Void> |
potiUseGNSS()
Use GNSS as the source of positional data.
| ||||||||||
void |
potiUseGNSS(SimpleResponseHandler handler)
Use GNSS as the source of positional data.
| ||||||||||
void |
potiUseGNSSBlocking()
Use GNSS as the source of positional data.
| ||||||||||
void |
register(SimpleResponseHandler handler)
Registers the application on the ITS Router if the connection is alive between them.
| ||||||||||
Observable<Void> |
register()
Registers the application on the ITS Router if the connection is alive between them.
| ||||||||||
void |
registerBlocking()
Registers the application on the ITS Router if the connection is alive between them.
| ||||||||||
void |
removeConnectionStateListener(ITSConnectionStateListener listener)
Removes a previously registered connection state listener.
| ||||||||||
void |
removeEventListener(ITSEventListener eventListener)
Removes a previously registered event listener.
| ||||||||||
void |
removeRawPacketListener(ITSRawFacilityPacketListener rawPacketListener)
Removes a raw packet listener.
| ||||||||||
Observable<DeviceId> |
requestDeviceId()
Request device station id and mac address.
| ||||||||||
void |
requestDeviceId(ResponseHandler<DeviceId> handler)
Request device station id and mac address.
| ||||||||||
DeviceId |
requestDeviceIdBlocking()
Request device station id and mac address.
| ||||||||||
Observable<DeviceInfoResponse> |
requestDeviceInfo()
Request device information.
| ||||||||||
void |
requestDeviceInfo(ResponseHandler<DeviceInfoResponse> handler)
Request device information.
| ||||||||||
DeviceInfoResponse |
requestDeviceInfoBlocking()
Request device information.
| ||||||||||
void |
requestStatistics(ResponseHandler<StatisticsResponse> handler)
Request statistics information from the ITS Router.
| ||||||||||
Observable<StatisticsResponse> |
requestStatistics()
Request statistics information from the ITS Router.
| ||||||||||
StatisticsResponse |
requestStatisticsBlocking()
Request statistics information from the ITS Router.
| ||||||||||
Observable<DemoStatus> |
retrieveDemoStatus()
Retrieve demo status.
| ||||||||||
void |
retrieveDemoStatus(ResponseHandler<DemoStatus> handler)
Retrieve demo status.
| ||||||||||
DemoStatus |
retrieveDemoStatusBlocking()
Retrieve demo status.
| ||||||||||
void |
sendOnRadio(InjectData injectData, SimpleResponseHandler handler)
Sends the provided data frame using the radio of the device.
| ||||||||||
Observable<Void> |
sendOnRadio(InjectData injectData)
Sends the provided data frame using the radio of the device.
| ||||||||||
void |
sendOnRadioBlocking(InjectData injectData)
Sends the provided data frame using the radio of the device.
| ||||||||||
Observable<Void> |
sendRawCommand(byte[] data)
Send a raw command.
| ||||||||||
void |
sendRawCommand(byte[] data, SimpleResponseHandler handler)
Send a raw command.
| ||||||||||
void |
sendRawCommandBlocking(byte[] data)
Send a raw command.
| ||||||||||
Observable<Void> |
sendToStack(InjectData injectData)
Sends the provided data frame through the V2X stack of the device.
| ||||||||||
void |
sendToStack(InjectData injectData, SimpleResponseHandler handler)
Sends the provided data frame through the V2X stack of the device.
| ||||||||||
void |
sendToStackBlocking(InjectData injectData)
Sends the provided data frame through the V2X stack of the device.
| ||||||||||
void |
setCamDCC(long milisecs, SimpleResponseHandler handler)
Set the CAM Decentralized Congestion Control value.
| ||||||||||
Observable<Void> |
setCamDCC(long milisecs)
Set the CAM Decentralized Congestion Control value.
| ||||||||||
void |
setCamDCCBlocking(long milisecs)
Set the CAM Decentralized Congestion Control value.
| ||||||||||
void |
setConnectionTimeout(int connectionTimeout)
Sets the connection timeout.
| ||||||||||
void |
setDeviceTime(long timestamp, SimpleResponseHandler handler)
Sets the time on the remote device.
| ||||||||||
Observable<Void> |
setDeviceTime(long timestamp)
Sets the time on the remote device.
| ||||||||||
void |
setDeviceTimeBlocking(long timestamp)
Sets the time on the remote device.
| ||||||||||
void |
setDumpEnabled(boolean dumpEnabled)
Enables/disables packet dumping.
| ||||||||||
synchronized void |
setDumpRootDir(String dumpRootDir)
Set the packet dump root directory.
| ||||||||||
synchronized void |
setDumpRootDir(File dumpRootDir)
Set the packet dump root directory.
| ||||||||||
void |
setFacilityModuleStatus(FacilityModule facilityModule, boolean enabled, SimpleResponseHandler handler)
Enables/disables the specified facility module.
| ||||||||||
Observable<Void> |
setFacilityModuleStatus(FacilityModule facilityModule, boolean enabled)
Enables/disables the specified facility module.
| ||||||||||
void |
setFacilityModuleStatusBlocking(FacilityModule facilityModule, boolean enabled)
Enables/disables the specified facility module.
| ||||||||||
void |
setGbcForwardingAlgorithm(GbcForwardingAlgorithm forwardingAlgorithm, SimpleResponseHandler handler)
Set the GBC forwarding algorithm.
| ||||||||||
Observable<Void> |
setGbcForwardingAlgorithm(GbcForwardingAlgorithm forwardingAlgorithm)
Set the GBC forwarding algorithm.
| ||||||||||
void |
setGbcForwardingAlgorithmBlocking(GbcForwardingAlgorithm forwardingAlgorithm)
Set the GBC forwarding algorithm.
| ||||||||||
void |
setGucForwardingAlgorithm(GucForwardingAlgorithm forwardingAlgorithm, SimpleResponseHandler handler)
Set the GUC forwarding algorithm.
| ||||||||||
Observable<Void> |
setGucForwardingAlgorithm(GucForwardingAlgorithm forwardingAlgorithm)
Set the GUC forwarding algorithm.
| ||||||||||
void |
setGucForwardingAlgorithmBlocking(GucForwardingAlgorithm forwardingAlgorithm)
Set the GUC forwarding algorithm.
| ||||||||||
void |
setHeartbeatSendFrequency(long frequencyInMillis)
Sets the frequency for sending heart packets.
| ||||||||||
void |
setMalformedPacketHandler(MalformedPacketHandler handler)
Sets the malformed packet handler.
| ||||||||||
void |
setReadTimeout(int readTimeout)
Sets the read timeout, will be applied on the next .
| ||||||||||
void |
setRequestTimeout(long timeoutInMillis)
Sets the request timeout.
| ||||||||||
Observable<Void> |
setStationABSState(AbsStatus absState)
Sets the ABS state station info parameter in BSM.
| ||||||||||
void |
setStationABSState(AbsStatus absState, SimpleResponseHandler handler)
Sets the ABS state station info parameter in BSM.
| ||||||||||
void |
setStationABSStateBlocking(AbsStatus absState)
Sets the ABS state station info parameter in BSM.
| ||||||||||
void |
setStationAccelerationControl(AccelerationControl accelerationControl, SimpleResponseHandler handler)
Set station acceleration control values.
| ||||||||||
Observable<Void> |
setStationAccelerationControl(AccelerationControl accelerationControl)
Set station acceleration control values.
| ||||||||||
void |
setStationAccelerationControlBlocking(AccelerationControl accelerationControl)
Set station acceleration control values.
| ||||||||||
Observable<Void> |
setStationAebInterventionRequestState(AebInterventionRequestState aebInterventionRequestState)
Sets the aeb intervention request state station info parameter.
| ||||||||||
void |
setStationAebInterventionRequestState(AebInterventionRequestState aebInterventionRequestState, SimpleResponseHandler handler)
Sets the aeb intervention request state station info parameter.
| ||||||||||
void |
setStationAebInterventionRequestStateBlocking(AebInterventionRequestState aebInterventionRequestState)
Sets the aeb intervention request state station info parameter.
| ||||||||||
void |
setStationAirBagDeployed(boolean airBagDeployed, SimpleResponseHandler handler)
Sets the air bag deployed station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationAirBagDeployed(boolean airBagDeployed)
Sets the air bag deployed station info parameter in BSM.
| ||||||||||
void |
setStationAirBagDeployedBlocking(boolean airBagDeployed)
Sets the air bag deployed station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationAuxiliaryBrakeState(AuxiliaryBrakeState auxiliaryBrakeState)
Sets the auxiliary brake state station info parameter in BSM.
| ||||||||||
void |
setStationAuxiliaryBrakeState(AuxiliaryBrakeState auxiliaryBrakeState, SimpleResponseHandler handler)
Sets the auxiliary brake state station info parameter in BSM.
| ||||||||||
void |
setStationAuxiliaryBrakeStateBlocking(AuxiliaryBrakeState auxiliaryBrakeState)
Sets the auxiliary brake state station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationBrakeBoost(BrakeBoostState brakeBoostStatus)
Sets the brake boost state station info parameter in BSM.
| ||||||||||
void |
setStationBrakeBoost(BrakeBoostState brakeBoostStatus, SimpleResponseHandler handler)
Sets the brake boost state station info parameter in BSM.
| ||||||||||
void |
setStationBrakeBoostBlocking(BrakeBoostState brakeBoostStatus)
Sets the brake boost state station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationBrakePressure(BrakePressure brakePressure)
Sets the brake pressure station info parameter in BSM.
| ||||||||||
void |
setStationBrakePressure(BrakePressure brakePressure, SimpleResponseHandler handler)
Sets the brake pressure station info parameter in BSM.
| ||||||||||
void |
setStationBrakePressureBlocking(BrakePressure brakePressure)
Sets the brake pressure station info parameter in BSM.
| ||||||||||
void |
setStationBreakDownWarningState(BreakDownWarningState state, SimpleResponseHandler handler)
Sets the break down warning state station info parameter.
| ||||||||||
Observable<Void> |
setStationBreakDownWarningState(BreakDownWarningState state)
Sets the break down warning state station info parameter.
| ||||||||||
void |
setStationBreakDownWarningStateBlocking(BreakDownWarningState state)
Sets the break down warning state station info parameter.
| ||||||||||
void |
setStationCenDsrcTollingZone(CenDsrcTollingZone cenDsrcTollingZone, SimpleResponseHandler handler)
Sets the CEN DSRC tolling zone station info parameter.
| ||||||||||
Observable<Void> |
setStationCenDsrcTollingZone(CenDsrcTollingZone cenDsrcTollingZone)
Sets the CEN DSRC tolling zone station info parameter.
| ||||||||||
void |
setStationCenDsrcTollingZoneBlocking(CenDsrcTollingZone cenDsrcTollingZone)
Sets the CEN DSRC tolling zone station info parameter.
| ||||||||||
void |
setStationClosedLanes(HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount, SimpleResponseHandler handler)
Sets the opening/closure status of the lanes ahead within the CAM message.
| ||||||||||
Observable<Void> |
setStationClosedLanes(HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount)
Sets the opening/closure status of the lanes ahead within the CAM message.
| ||||||||||
void |
setStationClosedLanesBlocking(HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount)
Sets the opening/closure status of the lanes ahead within the CAM message.
| ||||||||||
Observable<Void> |
setStationCrashDetectionState(CrashDetectionState crashDetectionState)
Sets the crash detection state station info parameter.
| ||||||||||
void |
setStationCrashDetectionState(CrashDetectionState crashDetectionState, SimpleResponseHandler handler)
Sets the crash detection state station info parameter.
| ||||||||||
void |
setStationCrashDetectionStateBlocking(CrashDetectionState crashDetectionState)
Sets the crash detection state station info parameter.
| ||||||||||
void |
setStationCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource, SimpleResponseHandler handler)
Set the station curvature value.
| ||||||||||
Observable<Void> |
setStationCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set the station curvature value.
| ||||||||||
void |
setStationCurvatureBlocking(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set the station curvature value.
| ||||||||||
Observable<Void> |
setStationDangerousGoods(DangerousGoodsBasicCategory category)
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
| ||||||||||
void |
setStationDangerousGoods(DangerousGoodsBasicCategory category, SimpleResponseHandler handler)
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
| ||||||||||
void |
setStationDangerousGoodsBlocking(DangerousGoodsBasicCategory category)
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
| ||||||||||
Observable<Void> |
setStationDisabledVehicle(boolean disabledVehicle)
Sets the disabled vehicle station info parameter in BSM.
| ||||||||||
void |
setStationDisabledVehicle(boolean disabledVehicle, SimpleResponseHandler handler)
Sets the disabled vehicle station info parameter in BSM.
| ||||||||||
void |
setStationDisabledVehicleBlocking(boolean disabledVehicle)
Sets the disabled vehicle station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationDoorStates(DoorStates states)
Sets the door states station info parameter.
| ||||||||||
void |
setStationDoorStates(DoorStates states, SimpleResponseHandler handler)
Sets the door states station info parameter.
| ||||||||||
void |
setStationDoorStatesBlocking(DoorStates states)
Sets the door states station info parameter.
| ||||||||||
Observable<Void> |
setStationDriveDirection(DriveDirection direction)
Set station drive direction value.
| ||||||||||
void |
setStationDriveDirection(DriveDirection direction, SimpleResponseHandler handler)
Set station drive direction value.
| ||||||||||
void |
setStationDriveDirectionBlocking(DriveDirection direction)
Set station drive direction value.
| ||||||||||
Observable<Void> |
setStationDrivingWheelAngle(DrivingWheelAngle drivingWheelAngle)
Sets the driving wheel angle station info parameter in BSM.
| ||||||||||
void |
setStationDrivingWheelAngle(DrivingWheelAngle drivingWheelAngle, SimpleResponseHandler handler)
Sets the driving wheel angle station info parameter in BSM.
| ||||||||||
void |
setStationDrivingWheelAngleBlocking(DrivingWheelAngle drivingWheelAngle)
Sets the driving wheel angle station info parameter in BSM.
| ||||||||||
void |
setStationECallState(ECallState eCallState, SimpleResponseHandler handler)
Sets the e call state station info parameter.
| ||||||||||
Observable<Void> |
setStationECallState(ECallState eCallState)
Sets the e call state station info parameter.
| ||||||||||
void |
setStationECallStateBlocking(ECallState eCallState)
Sets the e call state station info parameter.
| ||||||||||
Observable<Void> |
setStationEeblRequestState(EeblRequestState requestState)
Sets the Emergency Electronic Brake Light request state station info parameter.
| ||||||||||
void |
setStationEeblRequestState(EeblRequestState requestState, SimpleResponseHandler handler)
Sets the Emergency Electronic Brake Light request state station info parameter.
| ||||||||||
void |
setStationEeblRequestStateBlocking(EeblRequestState requestState)
Sets the Emergency Electronic Brake Light request state station info parameter.
| ||||||||||
void |
setStationEmbarkationStatus(boolean readyForEmbarkation, SimpleResponseHandler handler)
Sets the ready for embarkation status within the CAM message.
| ||||||||||
Observable<Void> |
setStationEmbarkationStatus(boolean readyForEmbarkation)
Sets the ready for embarkation status within the CAM message.
| ||||||||||
void |
setStationEmbarkationStatusBlocking(boolean readyForEmbarkation)
Sets the ready for embarkation status within the CAM message.
| ||||||||||
Observable<Void> |
setStationEmergencyPriority(boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight)
Sets the emergency priority within the CAM message.
| ||||||||||
void |
setStationEmergencyPriority(boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight, SimpleResponseHandler handler)
Sets the emergency priority within the CAM message.
| ||||||||||
void |
setStationEmergencyPriorityBlocking(boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight)
Sets the emergency priority within the CAM message.
| ||||||||||
void |
setStationEventFlags(BSMSafetyEventFlags eventFlags, SimpleResponseHandler handler)
Sets the event safety flags (Safety Extension part II of BSM) of the station.
| ||||||||||
Observable<Void> |
setStationEventFlags(BSMSafetyEventFlags eventFlags)
Sets the event safety flags (Safety Extension part II of BSM) of the station.
| ||||||||||
void |
setStationEventFlagsBlocking(BSMSafetyEventFlags eventFlags)
Sets the event safety flags (Safety Extension part II of BSM) of the station.
| ||||||||||
Observable<Void> |
setStationExteriorLights(ExteriorLights exteriorLights)
Set station exterior lights status.
| ||||||||||
void |
setStationExteriorLights(ExteriorLights exteriorLights, SimpleResponseHandler handler)
Set station exterior lights status.
| ||||||||||
void |
setStationExteriorLightsBlocking(ExteriorLights exteriorLights)
Set station exterior lights status.
| ||||||||||
Observable<Void> |
setStationFlatTire(boolean flatTire)
Sets the flat tire station info parameter in BSM.
| ||||||||||
void |
setStationFlatTire(boolean flatTire, SimpleResponseHandler handler)
Sets the flat tire station info parameter in BSM.
| ||||||||||
void |
setStationFlatTireBlocking(boolean flatTire)
Sets the flat tire station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationHardBraking(boolean hardBraking)
Sets the hard braking station info parameter in BSM.
| ||||||||||
void |
setStationHardBraking(boolean hardBraking, SimpleResponseHandler handler)
Sets the hard braking station info parameter in BSM.
| ||||||||||
void |
setStationHardBrakingBlocking(boolean hardBraking)
Sets the hard braking station info parameter in BSM.
| ||||||||||
void |
setStationIgnitionState(IgnitionState ignitionState, SimpleResponseHandler handler)
Sets the ignition state station info parameter.
| ||||||||||
Observable<Void> |
setStationIgnitionState(IgnitionState ignitionState)
Sets the ignition state station info parameter.
| ||||||||||
void |
setStationIgnitionStateBlocking(IgnitionState ignitionState)
Sets the ignition state station info parameter.
| ||||||||||
void |
setStationIncidentIndication(CauseCode causeCode, SimpleResponseHandler handler)
Sets the incident information within the CAM message.
| ||||||||||
Observable<Void> |
setStationIncidentIndication(CauseCode causeCode)
Sets the incident information within the CAM message.
| ||||||||||
void |
setStationIncidentIndicationBlocking(CauseCode causeCode)
Sets the incident information within the CAM message.
| ||||||||||
Observable<Void> |
setStationIncludeCurvature(boolean included)
Set if the curvature info should be included or excluded from the CAM message.
| ||||||||||
void |
setStationIncludeCurvature(boolean included, SimpleResponseHandler handler)
Set if the curvature info should be included or excluded from the CAM message.
| ||||||||||
void |
setStationIncludeCurvatureBlocking(boolean included)
Set if the curvature info should be included or excluded from the CAM message.
| ||||||||||
void |
setStationIncludePathHistory(boolean included, SimpleResponseHandler handler)
Set if the path history should be included or excluded from the CAM message.
| ||||||||||
Observable<Void> |
setStationIncludePathHistory(boolean included)
Set if the path history should be included or excluded from the CAM message.
| ||||||||||
void |
setStationIncludePathHistoryBlocking(boolean included)
Set if the path history should be included or excluded from the CAM message.
| ||||||||||
void |
setStationIncludeSystemInfo(boolean include, SimpleResponseHandler handler)
Sets whether the system information should be included in the CAM message.
| ||||||||||
Observable<Void> |
setStationIncludeSystemInfo(boolean include)
Sets whether the system information should be included in the CAM message.
| ||||||||||
void |
setStationIncludeSystemInfoBlocking(boolean include)
Sets whether the system information should be included in the CAM message.
| ||||||||||
void |
setStationIorsState(IorsState iorsState, SimpleResponseHandler handler)
Sets the iors state station info parameter.
| ||||||||||
Observable<Void> |
setStationIorsState(IorsState iorsState)
Sets the iors state station info parameter.
| ||||||||||
void |
setStationIorsStateBlocking(IorsState iorsState)
Sets the iors state station info parameter.
| ||||||||||
void |
setStationIppsState(IppsState ippsState, SimpleResponseHandler handler)
Sets the ipps state station info parameter.
| ||||||||||
Observable<Void> |
setStationIppsState(IppsState ippsState)
Sets the ipps state station info parameter.
| ||||||||||
void |
setStationIppsStateBlocking(IppsState ippsState)
Sets the ipps state station info parameter.
| ||||||||||
void |
setStationLaneNumber(Long laneNumber, SimpleResponseHandler handler)
Sets the lane number of the station.
| ||||||||||
Observable<Void> |
setStationLaneNumber(Long laneNumber)
Sets the lane number of the station.
| ||||||||||
void |
setStationLaneNumberBlocking(Long laneNumber)
Sets the lane number of the station.
| ||||||||||
Observable<Void> |
setStationLateralAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station lateral acceleration.
| ||||||||||
void |
setStationLateralAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)
Set station lateral acceleration.
| ||||||||||
void |
setStationLateralAccelerationBlocking(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station lateral acceleration.
| ||||||||||
void |
setStationLightBarSirenInUse(boolean lightBarUsed, boolean sirenUsed, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
| ||||||||||
void |
setStationLightBarSirenInUse(LightbarInUse lightbarInUse, SirenInUse sirenInUse, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
| ||||||||||
Observable<Void> |
setStationLightBarSirenInUse(boolean lightBarUsed, boolean sirenUsed)
Sets the light bar and siren status within the CAM message.
| ||||||||||
Observable<Void> |
setStationLightBarSirenInUse(LightbarInUse lightbarInUse, SirenInUse sirenInUse)
Sets the light bar and siren status within the CAM message.
| ||||||||||
void |
setStationLightBarSirenInUseBlocking(boolean lightBarUsed, boolean sirenUsed, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
| ||||||||||
void |
setStationLightBarSirenInUseBlocking(LightbarInUse lightbarInUse, SirenInUse sirenInUse, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
| ||||||||||
Observable<Void> |
setStationLongitudinalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station longitudinal acceleration.
| ||||||||||
void |
setStationLongitudinalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)
Set station longitudinal acceleration.
| ||||||||||
void |
setStationLongitudinalAccelerationBlocking(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station longitudinal acceleration.
| ||||||||||
Observable<Void> |
setStationProtectedCommunicationZonesRSU(List<ProtectedCommunicationZone> zones)
Sets the protected communications zones RSU station info parameter.
| ||||||||||
void |
setStationProtectedCommunicationZonesRSU(List<ProtectedCommunicationZone> zones, SimpleResponseHandler handler)
Sets the protected communications zones RSU station info parameter.
| ||||||||||
void |
setStationProtectedCommunicationZonesRSUBlocking(List<ProtectedCommunicationZone> zones)
Sets the protected communications zones RSU station info parameter.
| ||||||||||
void |
setStationPtActivation(PtActivationType encoding, byte[] data, SimpleResponseHandler handler)
Sets the Pt activation data within the CAM message.
| ||||||||||
Observable<Void> |
setStationPtActivation(PtActivationType encoding, byte[] data)
Sets the Pt activation data within the CAM message.
| ||||||||||
void |
setStationPtActivationBlocking(PtActivationType encoding, byte[] data)
Sets the Pt activation data within the CAM message.
| ||||||||||
Observable<Void> |
setStationRoadFriction(RoadFriction roadFriction)
Sets the road friction station info parameter in BSM.
| ||||||||||
void |
setStationRoadFriction(RoadFriction roadFriction, SimpleResponseHandler handler)
Sets the road friction station info parameter in BSM.
| ||||||||||
void |
setStationRoadFrictionBlocking(RoadFriction roadFriction)
Sets the road friction station info parameter in BSM.
| ||||||||||
void |
setStationRoadWorksSubCause(RoadWorksSubCause subcause, SimpleResponseHandler handler)
Sets the road works sub cause within the CAM message.
| ||||||||||
Observable<Void> |
setStationRoadWorksSubCause(RoadWorksSubCause subcause)
Sets the road works sub cause within the CAM message.
| ||||||||||
void |
setStationRoadWorksSubCauseBlocking(RoadWorksSubCause subcause)
Sets the road works sub cause within the CAM message.
| ||||||||||
void |
setStationRoleType(StationType stationType, VehicleRole role, SimpleResponseHandler handler)
Set station type and role.
| ||||||||||
Observable<Void> |
setStationRoleType(StationType stationType, VehicleRole role)
Set station type and role.
| ||||||||||
void |
setStationRoleTypeBlocking(StationType stationType, VehicleRole role)
Set station type and role.
| ||||||||||
Observable<Void> |
setStationRorsRequestState(RorsInterventionRequestState requestState)
Sets the Reversible Occupant Restraint System request state station info parameter.
| ||||||||||
void |
setStationRorsRequestState(RorsInterventionRequestState requestState, SimpleResponseHandler handler)
Sets the Reversible Occupant Restraint System request state station info parameter.
| ||||||||||
void |
setStationRorsRequestStateBlocking(RorsInterventionRequestState requestState)
Sets the Reversible Occupant Restraint System request state station info parameter.
| ||||||||||
Observable<Void> |
setStationSeatBeltState(SeatBeltStates seatBeltStates)
Sets the seat belt status on a given position in a station
| ||||||||||
void |
setStationSeatBeltState(SeatBeltStates seatBeltStates, SimpleResponseHandler handler)
Sets the seat belt status on a given position in a station
| ||||||||||
void |
setStationSeatBeltStateBlocking(SeatBeltStates seatBeltStates)
Sets the seat belt status on a given position in a station
| ||||||||||
void |
setStationSlowVehicleState(SlowVehicleState slowVehicleState, SimpleResponseHandler handler)
Sets the slow vehicle state station info parameter.
| ||||||||||
Observable<Void> |
setStationSlowVehicleState(SlowVehicleState slowVehicleState)
Sets the slow vehicle state station info parameter.
| ||||||||||
void |
setStationSlowVehicleStateBlocking(SlowVehicleState slowVehicleState)
Sets the slow vehicle state station info parameter.
| ||||||||||
Observable<Void> |
setStationSpecialTransportType(SpecialTransportType specialTransportType)
Sets the special transport type information within the CAM message.
| ||||||||||
void |
setStationSpecialTransportType(SpecialTransportType specialTransportType, SimpleResponseHandler handler)
Sets the special transport type information within the CAM message.
| ||||||||||
void |
setStationSpecialTransportTypeBlocking(SpecialTransportType specialTransportType)
Sets the special transport type information within the CAM message.
| ||||||||||
Observable<Void> |
setStationSpeedLimit(double speedLimit, SpeedUnit speedUnit)
Sets the speed limit in the CAM message.
| ||||||||||
void |
setStationSpeedLimit(double speedLimit, SpeedUnit speedUnit, SimpleResponseHandler handler)
Sets the speed limit in the CAM message.
| ||||||||||
void |
setStationSpeedLimitBlocking(double speedLimit, SpeedUnit speedUnit)
Sets the speed limit in the CAM message.
| ||||||||||
Observable<Void> |
setStationStabilityControlState(StabilityControlState stabilityControlState)
Sets the stability control state station info parameter in BSM.
| ||||||||||
void |
setStationStabilityControlState(StabilityControlState stabilityControlState, SimpleResponseHandler handler)
Sets the stability control state station info parameter in BSM.
| ||||||||||
void |
setStationStabilityControlStateBlocking(StabilityControlState stabilityControlState)
Sets the stability control state station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationSteeringWheelAngle(double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit)
Sets the station steering wheel angle.
| ||||||||||
void |
setStationSteeringWheelAngle(double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit, SimpleResponseHandler handler)
Sets the station steering wheel angle.
| ||||||||||
void |
setStationSteeringWheelAngleBlocking(double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit)
Sets the station steering wheel angle.
| ||||||||||
Observable<Void> |
setStationStopLineViolated(boolean stopLineViolated)
Sets the stop line violated station info parameter in BSM.
| ||||||||||
void |
setStationStopLineViolated(boolean stopLineViolated, SimpleResponseHandler handler)
Sets the stop line violated station info parameter in BSM.
| ||||||||||
void |
setStationStopLineViolatedBlocking(boolean stopLineViolated)
Sets the stop line violated station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationThrottlePressure(StationInfoThrottlePosition throttlePosition)
Sets the throttle pressure station info parameter in BSM.
| ||||||||||
void |
setStationThrottlePressure(StationInfoThrottlePosition throttlePosition, SimpleResponseHandler handler)
Sets the throttle pressure station info parameter in BSM.
| ||||||||||
void |
setStationThrottlePressureBlocking(StationInfoThrottlePosition throttlePosition)
Sets the throttle pressure station info parameter in BSM.
| ||||||||||
void |
setStationTractionControlState(TractionControlState tractionControlState, SimpleResponseHandler handler)
Sets the traction control state station info parameter in BSM.
| ||||||||||
Observable<Void> |
setStationTractionControlState(TractionControlState tractionControlState)
Sets the traction control state station info parameter in BSM.
| ||||||||||
void |
setStationTractionControlStateBlocking(TractionControlState tractionControlState)
Sets the traction control state station info parameter in BSM.
| ||||||||||
void |
setStationTrafficJamRadioState(TrafficJamRadioState trafficJamRadioState, SimpleResponseHandler handler)
Sets the Station Info Traffic Jam Radio State parameter.
| ||||||||||
Observable<Void> |
setStationTrafficJamRadioState(TrafficJamRadioState trafficJamRadioState)
Sets the Station Info Traffic Jam Radio State parameter.
| ||||||||||
void |
setStationTrafficJamRadioStateBlocking(TrafficJamRadioState trafficJamRadioState)
Sets the Station Info Traffic Jam Radio State parameter.
| ||||||||||
void |
setStationTrafficRule(TrafficRule trafficRule, SimpleResponseHandler handler)
Sets the traffic rule within the CAM message.
| ||||||||||
Observable<Void> |
setStationTrafficRule(TrafficRule trafficRule)
Sets the traffic rule within the CAM message.
| ||||||||||
void |
setStationTrafficRuleBlocking(TrafficRule trafficRule)
Sets the traffic rule within the CAM message.
| ||||||||||
void |
setStationVerticalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)
Set station vertical acceleration.
| ||||||||||
Observable<Void> |
setStationVerticalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station vertical acceleration.
| ||||||||||
void |
setStationVerticalAccelerationBlocking(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station vertical acceleration.
| ||||||||||
Observable<Void> |
setStationWheelBrakeState(WheelBrakes wheelBrakeState)
Sets the wheel brake state station info parameter in BSM.
| ||||||||||
void |
setStationWheelBrakeState(WheelBrakes wheelBrakeState, SimpleResponseHandler handler)
Sets the wheel brake state station info parameter in BSM.
| ||||||||||
void |
setStationWheelBrakeStateBlocking(WheelBrakes wheelBrakeState)
Sets the wheel brake state station info parameter in BSM.
| ||||||||||
void |
setStationYawRate(double degreesPerSec, YawRateConfidence confidence, SimpleResponseHandler handler)
Set station yaw rate.
| ||||||||||
Observable<Void> |
setStationYawRate(double degreesPerSec, YawRateConfidence confidence)
Set station yaw rate.
| ||||||||||
void |
setStationYawRateBlocking(double degreesPerSec, YawRateConfidence confidence)
Set station yaw rate.
| ||||||||||
void |
setWaitBetweenReconnects(int waitBetweenReconnects)
Sets the amount of waiting in milliseconds between connection attempts when an error occurs.
| ||||||||||
synchronized void |
shutdown()
Terminates the current connection if connected and shuts down the connection manager.
| ||||||||||
void |
start()
Starts the connection manager and initiates a connection towards the router.
| ||||||||||
void |
startSafetyAppsBlocking()
Starts safety apps if not started already.
| ||||||||||
void |
startShowCaseDemo(boolean loop, SimpleResponseHandler handler)
Starts the showcase demo.
| ||||||||||
Observable<Void> |
startShowCaseDemo(boolean loop)
Starts the showcase demo.
| ||||||||||
void |
startShowCaseDemoBlocking(boolean loop)
Starts the showcase demo.
| ||||||||||
void |
stationInfoSubscribe(StationInfoSubscribeGroups subscribeGroups, SimpleResponseHandler handler)
Subscribe to Station Info messages.
| ||||||||||
Observable<Void> |
stationInfoSubscribe(StationInfoSubscribeGroups subscribeGroups)
Subscribe to Station Info messages.
| ||||||||||
void |
stationInfoSubscribeBlocking(StationInfoSubscribeGroups subscribeGroups)
Subscribe to Station Info messages.
| ||||||||||
Observable<Void> |
stationInfoUnsubscribe()
Unsubscribe from Station Info messages.
| ||||||||||
void |
stationInfoUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from Station Info messages.
| ||||||||||
void |
stationInfoUnsubscribeBlocking()
Unsubscribe from Station Info messages.
| ||||||||||
Observable<Void> |
subscribeToDiagnosticsNotifications()
Subscribe to diagnostics notifications.
| ||||||||||
void |
subscribeToDiagnosticsNotifications(SimpleResponseHandler handler)
Subscribe to diagnostics notifications.
| ||||||||||
void |
subscribeToDiagnosticsNotificationsBlocking()
Subscribe to diagnostics notifications.
| ||||||||||
Observable<Void> |
unsubscribeFromDiagnosticsNotifications()
Unsubscribe from diagnostics notifications.
| ||||||||||
void |
unsubscribeFromDiagnosticsNotifications(SimpleResponseHandler handler)
Unsubscribe from diagnostics notifications.
| ||||||||||
void |
unsubscribeFromDiagnosticsNotificationsBlocking()
Unsubscribe from diagnostics notifications.
| ||||||||||
Observable<Void> |
useCertWithHashId(CertificateStandardType certificateStandardType, String hashId)
Use the specified certificate.
| ||||||||||
void |
useCertWithHashId(CertificateStandardType certificateStandardType, String hashId, SimpleResponseHandler handler)
Use the specified certificate.
| ||||||||||
void |
useCertWithHashIdBlocking(CertificateStandardType certificateStandardType, String hashId)
Use the specified certificate.
| ||||||||||
void |
waitForConnection(int timeoutInMilliseconds)
Wait for the connection to establish.
| ||||||||||
Observable<Void> |
wsaSubscribe(long psid)
Subscribe to WSA notifications.
| ||||||||||
void |
wsaSubscribe(long psid, SimpleResponseHandler handler)
Subscribe to WSA notifications.
| ||||||||||
void |
wsaSubscribeBlocking(long psid)
Subscribe to WSA notifications.
| ||||||||||
void |
wsaUnsubscribe(long psid, SimpleResponseHandler handler)
Unsubscribe from WSA notifications.
| ||||||||||
Observable<Void> |
wsaUnsubscribe(long psid)
Unsubscribe from WSA notifications.
| ||||||||||
void |
wsaUnsubscribeBlocking(long psid)
Unsubscribe from WSA notifications.
| ||||||||||
Observable<Void> |
wsmpBind(long portNumber)
Bind to a WSMP port number.
| ||||||||||
void |
wsmpBind(long portNumber, SimpleResponseHandler handler)
Bind to a WSMP port number.
| ||||||||||
void |
wsmpBindBlocking(long portNumber)
Bind to a WSMP port number.
| ||||||||||
Observable<Void> |
wsmpClose(long portNumber)
Stop listening on the specified WSMP port.
| ||||||||||
void |
wsmpClose(long portNumber, SimpleResponseHandler handler)
Stop listening on the specified WSMP port.
| ||||||||||
void |
wsmpCloseBlocking(long portNumber)
Stop listening on the specified WSMP port.
| ||||||||||
Observable<Void> |
wsmpSend(WsmpSendData sendData)
Send a WSMP packet.
| ||||||||||
void |
wsmpSend(WsmpSendData sendData, SimpleResponseHandler handler)
Send a WSMP packet.
| ||||||||||
void |
wsmpSendBlocking(WsmpSendData sendData)
Send a WSMP packet.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Default connection timeout in milliseconds
Default external application server port.
Default frequency while sending heartbeat packets in milliseconds.
Default read timeout (SO_TIMEOUT) in milliseconds
Default request timeout in milliseconds
Default wait between reconnects in milliseconds when an error occurs
Creates a new ITSApplication instance.
applicationId | application id of the client |
---|---|
host | hostname of the its router |
messageSet | message set to use |
IllegalArgumentException | if the selected message set is not supported |
---|
Creates a new ITSApplication instance.
applicationId | application id of the client |
---|---|
host | hostname of the its router |
port | external application server port |
messageSet | message set to use |
IllegalArgumentException | if the selected message set is not supported |
---|
Registers a new connection state listener.
listener | connection state listener |
---|
Registers a new event listener.
eventListener | event listener |
---|
Adds a raw packet listener. The listener will be invoked when a raw facility packet is received.
rawPacketListener | raw packet listener |
---|
Begin a profiling run using the specified measurement interval. The response is just a simple confirmation that
the profiling has begun. Actual profiling results can be obtained by registering an ITSEventListener
and implementing onProfilingResults
.
measureIntervalInSec | measurement interval in seconds |
---|
Begin a profiling run using the specified measurement interval. The response is just a simple confirmation that
the profiling has begun. Actual profiling results can be obtained by registering an ITSEventListener
and implementing onProfilingResults
.
measureIntervalInSec | measurement interval in seconds |
---|---|
handler | response handler |
Begin a profiling run using the specified measurement interval. The response is just a simple confirmation that
the profiling has begun. Actual profiling results can be obtained by registering an ITSEventListener
and implementing onProfilingResults
.
measureIntervalInSec | measurement interval in seconds |
---|
ClientException | when the request fails |
---|
Inject CAN data.
injectType | injection target |
---|---|
deviceId | device id |
messageId | message id |
canData | can data |
handler | response handler |
Inject CAN data.
injectType | injection target |
---|---|
deviceId | device id |
messageId | message id |
canData | can data |
Inject CAN data.
injectType | injection target |
---|---|
deviceId | device id |
messageId | message id |
canData | can data |
ClientException | when the request fails. |
---|
Subscribe to CAN messages. CAN messages will be received as CAN notifications.
deviceId | device id |
---|---|
messageId | message id |
handler | response handler |
Subscribe to CAN messages. CAN messages will be received as CAN notifications.
deviceId | device id |
---|---|
messageId | message id |
Subscribe to CAN messages. CAN messages will be received as CAN notifications.
deviceId | device id |
---|---|
messageId | message id |
ClientException | when the request fails |
---|
Unsubscribe from CAN messages.
deviceId | device id |
---|---|
messageId | message id |
Unsubscribe from CAN messages.
deviceId | device id |
---|---|
messageId | message id |
handler | response handler |
Unsubscribe from CAN messages.
deviceId | device id |
---|---|
messageId | message id |
ClientException | when the request fails |
---|
Clear the Pt activation status from the CAM message.
ClientException | when the request fails |
---|
Clear the closed lanes status information from the CAM message.
Clear the closed lanes status information from the CAM message.
handler | response handler |
---|
Clear the closed lanes status information from the CAM message.
ClientException | when the request fails |
---|
Clear the emergency priority related information from the CAM message.
handler | response handler |
---|
Clear the emergency priority related information from the CAM message.
Clear the emergency priority related information from the CAM message.
ClientException | when the request fails |
---|
Clears the event safety flags (Safety Extension part II of BSM) of the station.
Clears the event safety flags (Safety Extension part II of BSM) of the station.
handler | response handler |
---|
Clears the event safety flags (Safety Extension part II of BSM) of the station.
ClientException | when the request fails |
---|
Clear the incident related information from the CAM message.
Clear the incident related information from the CAM message.
handler | response handler |
---|
Clear the incident related information from the CAM message.
ClientException | when the request fails |
---|
Clear station lateral acceleration.
handler | response handler |
---|
Clear station lateral acceleration.
Clear station lateral acceleration.
ClientException | when the request fails |
---|
Clear the Pt activation status from the CAM message.
Clear the Pt activation status from the CAM message.
handler | response handler |
---|
Clear the road work sub cause value from the CAM message.
Clear the road work sub cause value from the CAM message.
handler | response handler |
---|
Clear the road work sub cause value from the CAM message.
ClientException | when the request fails |
---|
Clear the speed limit information from the CAM message.
Clear the speed limit information from the CAM message.
handler | response handler |
---|
Clear the speed limit information from the CAM message.
ClientException | when the request fails |
---|
Clears the station steering wheel angle.
Clears the station steering wheel angle.
handler | response handler |
---|
Sets the station steering wheel angle.
ClientException | when the request fails |
---|
Clear the traffic rule related information from the CAM message.
handler | response handler |
---|
Clear the traffic rule related information from the CAM message.
Clear station vertical acceleration.
handler | response handler |
---|
Clear station vertical acceleration.
Clear station vertical acceleration.
ClientException | when the request fails |
---|
Clear the traffic rule related information from the CAM message.
ClientException | when the request fails |
---|
Connect synchronously to the host.
timeoutInMilliSeconds | timeout in milliseconds |
---|
TimeoutException | when the timeout expires |
---|---|
InterruptedException | when interrupted while waiting |
Connect synchronously to the host.
TimeoutException | when the timeout expires |
---|---|
InterruptedException | when interrupted while waiting |
Terminates a DENM message that is currently broadcasted by the ITS Router.
The DENM message to terminate is identified by theDENMTerminate.actionID
field.denmTerminate | termination data |
---|
Terminates a DENM message that is currently broadcasted by the ITS Router.
The DENM message to terminate is identified by theDENMTerminate.actionID
field.denmTerminate | termination data |
---|---|
handler | response handler |
Terminates a DENM message that is currently broadcasted by the ITS Router.
The DENM message to terminate is identified by theDENMTerminate.actionID
field.denmTerminate | termination data |
---|
ClientException | when the request fails |
---|
Trigger a new DENM message which then gets broadcasted by the ITS router.
The DENM Action ID assigned to this DENM message will be passed to the returned observable. There is no way to manually specify the DENM Action ID for a trigger request and theDENM.actionId
parameter will be
ignored.denmTrigger | object that holds the parameters and values to be sent in the DENM message |
---|
Trigger a new DENM message which then gets broadcasted by the ITS router.
The DENM Action ID assigned to this DENM message will be passed to the response handler of this request. There is no way to manually specify the DENM Action ID for a trigger request and theDENM.actionId
parameter will be
ignored.denmTrigger | object that holds the parameters and values to be sent in the DENM message |
---|---|
handler | response handler |
Trigger a new DENM message which then gets broadcasted by the ITS router.
The DENM Action ID assigned to this DENM message will be returned by this method. There is no way to manually specify the DENM Action ID for a trigger request and theDENM.actionId
parameter will be
ignored.denmTrigger | object that holds the parameters and values to be sent in the DENM message |
---|
ClientException | when the request fails |
---|
Update an already triggered DENM message.
The message to update is identified by theDENM.actionId
field in DENMTrigger
.
denmTrigger | object that holds the parameters and values to be sent in the DENM Update message |
---|
Update an already triggered DENM message.
The message to update is identified by theDENM.actionId
field in DENMTrigger
.
denmTrigger | object that holds the parameters and values to be sent in the DENM Update message |
---|---|
handler | response handler |
Update an already triggered DENM message.
The message to update is identified by theDENM.actionId
field in DENMTrigger
.
denmTrigger | object that holds the parameters and values to be sent in the DENM Update message |
---|
ClientException | when the request fails |
---|
De-registers the application from the the ITS Router.
De-registers the application from the the ITS Router.
handler | response handler |
---|
Deregisters the application on the ITS Router.
ClientException | when the request fails |
---|
Subscribe to facility notifications. The application will receive facility notifications upon successful subscription.
filter | filter criteria |
---|
Subscribe to facility notifications. The application will receive facility notifications upon successful subscription.
filter | filter criteria |
---|---|
handler | response handler |
Subscribe to facility notifications. The application will receive facility notifications upon successful subscription.
filter | filter criteria |
---|
ClientException | when the request fails |
---|
Unsubscribe from facility notifications.
filter | filter criteria |
---|
Unsubscribe from facility notifications.
filter | filter criteria |
---|---|
handler | response handler |
Unsubscribe from facility notifications.
filter | filter criteria |
---|
ClientException | when the request fails |
---|
Returns the application id. The application id is used during the initial connection setup and registration. Different applications should have unique application ids.
Returns the currently set connection timeout.
Gets the current packet dump directory. Defaults to a subdirectory named its-dump under the system provided default temporary directory (java.io.tmpdir).
Returns the hostname. This hostname will be used to initiate a connection to the remote device.
Returns the message set. This message set will be used when initiating a connection to the remote device.
Returns the port. This port will be used to initiate a connection to the remote device.
Returns the currently set read timeout (SO_TIMEOUT).
Returns the currently set request timeout.
Returns the version of the ITS library.
Gets the amount of waiting in milliseconds between connection attempts when an error occurs.
Bind to a geonetworking port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.
btpType | BTP type |
---|---|
portNumber | port number |
Bind to a geonetworking port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.
btpType | BTP type |
---|---|
portNumber | port number |
handler | response handler for the binding attempt |
Bind to a geonetworking port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.
btpType | BTP type |
---|---|
portNumber | port number |
ClientException | when the request fails |
---|
Stop listening on the specified geonetworking port.
btpType | BTP type |
---|---|
portNumber | port number |
Stop listening on the specified geonetworking port.
btpType | BTP type |
---|---|
portNumber | port number |
handler | response handler for the close attempt |
Stop listening on the specified geonetworking port.
btpType | BTP type |
---|---|
portNumber | port number |
ClientException | when the request fails |
---|
Send a geonetworking packet.
sendData | data to send |
---|---|
handler | response handler |
Send a geonetworking packet.
sendData | data to send |
---|
Send a geonetworking packet.
sendData | data to send |
---|
ClientException | when the request fails |
---|
Submits an intersection delete request.
intersectionId | intersection id |
---|
Submits an intersection delete request.
intersectionId | intersection id |
---|---|
handler | response handler |
Submits an intersection delete request.
intersectionId | intersection id |
---|
ClientException | when the request fails |
---|
Submits an intersection request.
intersection | intersection object |
---|
Submits an intersection request.
intersection | intersection object |
---|---|
handler | response handler |
Submits an intersection request.
intersection | intersection object |
---|
ClientException | when the request fails |
---|
Send an intersection state delete/remove request
intersectionId | intersection id |
---|
Send an intersection state delete/remove request
intersectionId | intersection id |
---|---|
handler | response handler |
Send an intersection state delete/remove request
intersectionId | intersection id |
---|
ClientException | when the request fails |
---|
Send an intersection state request
intersectionState | instersection state |
---|---|
handler | response handler |
Send an intersection state request
intersectionState | instersection state |
---|
Send an intersection state request
intersectionState | instersection state |
---|
ClientException | when the request fails |
---|
Send an intersection state update request
intersectionState | instersection state |
---|---|
handler | response handler |
Send an intersection state update request
intersectionState | instersection state |
---|
Send an intersection state update request
intersectionState | instersection state |
---|
ClientException | when the request fails |
---|
Returns the connection status.
Returns the status of the packet dumping feature. When packet dumping is enabled ITSCommand messages are saved in a subdirectory
in the format session-yyyy-MM-dd-HH-mm-ss-SSS under dumpRootDir which can be queried using getDumpRootDir()
or set using setDumpRootDir(String)
.
Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.
ldmFilterSet | set of event types for which the application wants to receive notifications |
---|
Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.
ldmFilterSet | set of event types for which the application wants to receive notifications |
---|
Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.
ldmFilterSet | set of event types for which the application wants to receive notifications |
---|
Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.
ldmFilterSet | set of event types for which the application wants to receive notifications |
---|
ClientException | when the request fails |
---|
Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.
ldmFilterSet | set of event types for which the application wants to receive notifications |
---|
ClientException | when the request fails |
---|
Unsubscribe from all LDM notifications.
handler | response handler |
---|
Unsubscribe from all LDM notifications.
Unsubscribe from all LDM notifications.
ClientException | when the request fails |
---|
Subscribe to NAV messages. NAV messages will be received as NAV notifications.
handler | response handler |
---|
Subscribe to NAV messages. NAV messages will be received as NAV notifications.
Subscribe to NAV messages. NAV messages will be received as NAV notifications.
ClientException | when the request fails |
---|
Unsubscribe from NAV messages.
Unsubscribe from NAV messages.
handler | response handler |
---|
Unsubscribe from NAV messages.
ClientException | when the request fails |
---|
Set curvature in the position and timing module.
curvatureValue | curvature value in m-1 radius |
---|---|
curvatureConfidence | curvature confidence |
handler | response handler |
Set curvature in the position and timing module.
curvatureValue | curvature value in m-1 radius |
---|---|
curvatureConfidence | curvature confidence |
Set curvature in the position and timing module.
curvatureValue | curvature value in m-1 radius |
---|---|
curvatureConfidence | curvature confidence |
ClientException | when the request fails |
---|
Set drive direction in the position and timing module.
driveDirection | value |
---|
Set drive direction in the position and timing module.
driveDirection | value |
---|---|
handler | response handler |
Set drive direction in the position and timing module.
driveDirection | value |
---|
ClientException | when the request fails |
---|
Sets the specified host and port as the GPSD server for POTI.
host | gpsd host |
---|---|
port | gpsd port |
handler | response handler |
Sets the specified host and port as the GPSD server for POTI.
host | gpsd host |
---|---|
port | gpsd port |
Sets the specified host and port as the GPSD server for POTI.
host | gpsd host |
---|---|
port | gpsd port |
ClientException | when the request fails |
---|
Set gps status in the position and timing module.
status | gps status |
---|---|
handler | response handler |
Set gps status in the position and timing module.
status | gps status |
---|
Set gps status in the position and timing module.
status | gps status |
---|
ClientException | when the request fails |
---|
Set a heading value in the position and timing module.
heading | value |
---|---|
headingUnit | the unit of the value |
headingConfidence | value of the confidence of the given value |
headingConfidenceUnit | the unit of the confidence value |
Set a heading value in the position and timing module.
heading | value |
---|---|
headingUnit | the unit of the value |
headingConfidence | value of the confidence of the given value |
headingConfidenceUnit | the unit of the confidence value |
handler | response handler |
Set a heading value in the position and timing module.
heading | value |
---|---|
headingUnit | the unit of the value |
headingConfidence | value of the confidence of the given value |
headingConfidenceUnit | the unit of the confidence value |
ClientException | when the request fails |
---|
Set a lateral acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
handler | response handler |
Set a lateral acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
Set a lateral acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
ClientException | when the request fails |
---|
Set a longitudinal acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
Set a longitudinal acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
handler | response handler |
Set a longitudinal acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
ClientException | when the request fails |
---|
Set a manual position in the position and timing module.
manualPosition | position |
---|---|
handler | response handler |
Set a manual position in the position and timing module.
manualPosition | position |
---|
Set a manual position in the position and timing module.
manualPosition | position |
---|
ClientException | when the request fails |
---|
Set the specified static position for use with POTI.
latitude | latitude in 0.1 microdegrees |
---|---|
longitude | longitude in 0.1 microdegrees |
altitude | altitude value |
altitudeUnit | altitude unit |
heading | heading value |
headingUnit | heading unit |
speed | speed value |
speedUnit | speed unit |
Set the specified static position for use with POTI.
latitude | latitude in 0.1 microdegrees |
---|---|
longitude | longitude in 0.1 microdegrees |
altitude | altitude value |
altitudeUnit | altitude unit |
heading | heading value |
headingUnit | heading unit |
speed | speed value |
speedUnit | speed unit |
Set the specified static position for use with POTI.
latitude | latitude in 0.1 microdegrees |
---|---|
longitude | longitude in 0.1 microdegrees |
altitude | altitude value |
altitudeUnit | altitude unit |
heading | heading value |
headingUnit | heading unit |
speed | speed value |
speedUnit | speed unit |
ClientException | when the request fails |
---|
Set the speed in the position and timing module.
speed | value |
---|---|
speedUnit | the unit of the value |
speedAccuracy | the accuracy of the value |
speedAccuracyUnit | the unit of the accuracy |
handler | response handler |
Set the speed in the position and timing module.
speed | value |
---|---|
speedUnit | the unit of the value |
speedAccuracy | the accuracy of the value |
speedAccuracyUnit | the unit of the accuracy |
Set the speed in the position and timing module.
speed | value |
---|---|
speedUnit | the unit of the value |
speedAccuracy | the accuracy of the value |
speedAccuracyUnit | the unit of the accuracy |
ClientException | when the request fails |
---|
Set time confidence in the position and timing module.
confidence | time confidence |
---|
Set time confidence in the position and timing module.
confidence | time confidence |
---|---|
handler | response handler |
Set time confidence in the position and timing module.
confidence | time confidence |
---|
ClientException | when the request fails |
---|
Sets the transmission state poti parameter in BSM.
transmissionState | transmission state |
---|---|
handler | response handler |
Sets the transmission state poti parameter in BSM.
transmissionState | transmission state |
---|
Sets the transmission state poti parameter in BSM.
transmissionState | transmission state |
---|
ClientException | when the request fails |
---|
Set a vertical acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
Set a vertical acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
handler | response handler |
Set a vertical acceleration in the position and timing module.
acceleration | value |
---|---|
accelerationUnit | unit of the value |
accelerationConfidence | confidence of the value |
accelerationConfidenceUnit | unit of the confidence |
ClientException | when the request fails |
---|
Set yaw rate in the position and timing module.
yawRateDegreesPerSec | yaw rate in degrees per second |
---|---|
yawRateConfidence | yaw rate confidence |
handler | response handler |
Set yaw rate in the position and timing module.
yawRateDegreesPerSec | yaw rate in degrees per second |
---|---|
confidence | yaw rate confidence |
Set yaw rate in the position and timing module.
yawRateDegreesPerSec | yaw rate in degrees per second |
---|---|
confidence | yaw rate confidence |
ClientException | when the request fails |
---|
Subscribe to POTI messages, with seleceted subscribegroups. POTI messages will be received as POTI notifications.
potiSubscription | contains the subscribegroups |
---|
Subscribe to POTI messages, with seleceted subscribegroups. POTI messages will be received as POTI notifications.
handler | response handler |
---|---|
potiSubscription | contains the subscribegroups |
Subscribe to POTI messages, with seleceted subscribegroups. POTI messages will be received as POTI notifications.
potiSubscription | contains the subscribegroups |
---|
ClientException | when the request fails |
---|
Unsubscribe from POTI messages.
Unsubscribe from POTI messages.
handler | response handler |
---|
Unsubscribe from POTI messages.
ClientException | when the request fails |
---|
Use GNSS as the source of positional data.
Use GNSS as the source of positional data.
handler | response handlermode |
---|
Use GNSS as the source of positional data.
ClientException | when the request fails |
---|
Registers the application on the ITS Router if the connection is alive between them. Please note that this command must be invoked before issuing any other type of command.
handler | response handler |
---|
Registers the application on the ITS Router if the connection is alive between them. Please note that this command must be invoked before issuing any other type of command.
Registers the application on the ITS Router if the connection is alive between them. Please note that this command must be invoked before issuing any other type of command.
ClientException | when the request fails |
---|
Removes a previously registered connection state listener.
listener | connection state listener |
---|
Removes a previously registered event listener.
eventListener | event listener |
---|
Removes a raw packet listener.
rawPacketListener | raw packet listener |
---|
Request device station id and mac address.
Request device station id and mac address.
handler | response handler |
---|
Request device station id and mac address.
ClientException | when the request fails |
---|
Request device information.
Request device information.
handler | response handler |
---|
Request device information.
ClientException | when the request fails |
---|
Request statistics information from the ITS Router.
handler | response handler |
---|
Request statistics information from the ITS Router.
Request statistics information from the ITS Router.
ClientException | when the request fails |
---|
Retrieve demo status.
Retrieve demo status.
handler | respone handler |
---|
Sends the provided data frame using the radio of the device.
injectData | injection paramaters |
---|---|
handler | response handler |
Sends the provided data frame using the radio of the device.
injectData | injection parameters |
---|
Sends the provided data frame using the radio of the device.
injectData | injection paramters |
---|
ClientException | when the request fails |
---|
Send a raw command. Use this command with extreme caution!
data | raw bytes to send (must be an ITSCommand PDU) |
---|
Send a raw command. Use this command with extreme caution!
data | raw bytes to send (must be an ITSCommand PDU) |
---|---|
handler | response handler |
Send a raw command. Use this command with extreme caution!
data | raw bytes to send (must be an ITSCommand PDU) |
---|
ClientException | when the request fails |
---|
Sends the provided data frame through the V2X stack of the device.
injectData | injection paramters |
---|
Sends the provided data frame through the V2X stack of the device.
injectData | injection paramters |
---|---|
handler | response handler |
Sends the provided data frame through the V2X stack of the device.
injectData | injection paramters |
---|
ClientException | when the request fails |
---|
Set the CAM Decentralized Congestion Control value. This is a development command.
milisecs | value in milisecs |
---|---|
handler | response handler |
Set the CAM Decentralized Congestion Control value. This is a development command.
milisecs | value in milisecs |
---|
Set the CAM Decentralized Congestion Control value. This is a development command.
milisecs | value in milisecs |
---|
ClientException | when the request fails |
---|
Sets the connection timeout. Will be applied on the next connection attempt.
connectionTimeout | connection timeout |
---|
Sets the time on the remote device.
timestamp | unix timestamp, seconds since 1970 |
---|---|
handler | response handler |
Sets the time on the remote device.
timestamp | unix timestamp, seconds since 1970 |
---|
Sets the time on the remote device.
timestamp | unix timestamp, seconds since 1970 |
---|
ClientException | when the request fails |
---|
Enables/disables packet dumping. When packet dumping is enabled ITSCommand messages are saved in a subdirectory
in the format session-yyyy-MM-dd-HH-mm-ss-SSS under dumpRootDir which can be queried using getDumpRootDir()
or set using setDumpRootDir(String)
.
dumpEnabled | true if enabled, false if not |
---|
Set the packet dump root directory. Defaults to a subdirectory named its-dump under the system provided default temporary directory (java.io.tmpdir).
dumpRootDir | root directory |
---|
Set the packet dump root directory. Defaults to a subdirectory named its-dump under the system provided default temporary directory (java.io.tmpdir).
dumpRootDir | root directory |
---|
Enables/disables the specified facility module. This is a development command.
facilityModule | facility module |
---|---|
enabled | enable or disable the module |
handler | response handler |
Enables/disables the specified facility module. This is a development command.
facilityModule | facility module |
---|---|
enabled | enable or disable the module |
Enables/disables the specified facility module. This is a development command.
facilityModule | facility module |
---|---|
enabled | enable or disable the module |
ClientException | when the request fails |
---|
Set the GBC forwarding algorithm. This is a development command.
forwardingAlgorithm | forwarding algorithm |
---|---|
handler | response hanlder |
Set the GBC forwarding algorithm. This is a development command.
forwardingAlgorithm | forwarding algorithm |
---|
Set the GBC forwarding algorithm. This is a development command.
forwardingAlgorithm | forwarding algorithm |
---|
ClientException | when the request fails |
---|
Set the GUC forwarding algorithm. This is a development command.
forwardingAlgorithm | forwarding algorithm |
---|---|
handler | response handler |
Set the GUC forwarding algorithm. This is a development command.
forwardingAlgorithm | forwarding algorithm |
---|
Set the GUC forwarding algorithm. This is a development command.
forwardingAlgorithm | forwarding algorithm |
---|
ClientException | when the request fails |
---|
Sets the frequency for sending heart packets. Applied on each reconnect.
frequencyInMillis | frequency in milliseconds |
---|
Sets the malformed packet handler. Setting a custom malformed packet handler enables more fine-grained behavior when the client receives a malformed packet from the server. The default handler disconnects and shuts down the client.
handler | malformed packet handler, if null, the default handler is set. |
---|
Sets the read timeout, will be applied on the next .
readTimeout | timeout in milliseconds |
---|
Sets the request timeout.
timeoutInMillis | request timeout duration |
---|
Sets the ABS state station info parameter in BSM.
absState | ABS state |
---|
Sets the ABS state station info parameter in BSM.
absState | ABS state |
---|---|
handler | response handler |
Sets the ABS state station info parameter in BSM.
absState | ABS state |
---|
ClientException | when the request fails |
---|
Set station acceleration control values.
accelerationControl | acceleration control values |
---|---|
handler | response handler |
Set station acceleration control values.
accelerationControl | acceleration control values |
---|
Set station acceleration control values.
accelerationControl | acceleration control values |
---|
ClientException | when the request fails |
---|
Sets the aeb intervention request state station info parameter.
aebInterventionRequestState | aeb intervention request state |
---|
Sets the aeb intervention request state station info parameter.
aebInterventionRequestState | aeb intervention request state |
---|---|
handler | response handler |
Sets the aeb intervention request state station info parameter.
aebInterventionRequestState | aeb intervention request state |
---|
ClientException | when this request fails |
---|
Sets the air bag deployed station info parameter in BSM.
airBagDeployed | air bag deployed value |
---|---|
handler | response handler |
Sets the air bag deployed station info parameter in BSM.
airBagDeployed | air bag deployed value |
---|
Sets the air bag deployed station info parameter in BSM.
airBagDeployed | air bag deployed value |
---|
ClientException | when the request fails |
---|
Sets the auxiliary brake state station info parameter in BSM.
auxiliaryBrakeState | auxiliary brake status |
---|
Sets the auxiliary brake state station info parameter in BSM.
auxiliaryBrakeState | auxiliary brake status |
---|---|
handler | repsonse handler |
Sets the auxiliary brake state station info parameter in BSM.
auxiliaryBrakeState | auxiliary brake status |
---|
ClientException | when the request fails |
---|
Sets the brake boost state station info parameter in BSM.
brakeBoostStatus | brake boost status |
---|
Sets the brake boost state station info parameter in BSM.
brakeBoostStatus | brake boost status |
---|---|
handler | response handler |
Sets the brake boost state station info parameter in BSM.
brakeBoostStatus | brake boost status |
---|
ClientException | when the request fails |
---|
Sets the brake pressure station info parameter in BSM.
brakePressure | brake pressure value |
---|
Sets the brake pressure station info parameter in BSM.
brakePressure | brake pressure value |
---|---|
handler | response handler |
Sets the brake pressure station info parameter in BSM.
brakePressure | brake pressure value |
---|
ClientException | when the request fails |
---|
Sets the break down warning state station info parameter.
state | break down warning state value |
---|---|
handler | response handler |
Sets the break down warning state station info parameter.
state | break down warning state value |
---|
Sets the break down warning state station info parameter.
state | break down warning state value |
---|
ClientException | when this request fails |
---|
Sets the CEN DSRC tolling zone station info parameter.
cenDsrcTollingZone | CEN DSRC tolling zone value |
---|---|
handler | response handler |
Sets the CEN DSRC tolling zone station info parameter.
cenDsrcTollingZone | CEN DSRC tolling zone value |
---|
Sets the CEN DSRC tolling zone station info parameter.
cenDsrcTollingZone | CEN DSRC tolling zone value |
---|
ClientException | when this request fails |
---|
Sets the opening/closure status of the lanes ahead within the CAM message.
hardShoulderStatus | status of the hard shoulder |
---|---|
laneStatus | status of the driving lanes |
laneCount | number of lanes |
handler | response handler |
Sets the opening/closure status of the lanes ahead within the CAM message.
hardShoulderStatus | status of the hard shoulder |
---|---|
laneStatus | status of the driving lanes |
laneCount | number of lanes |
Sets the opening/closure status of the lanes ahead within the CAM message.
hardShoulderStatus | status of the hard shoulder |
---|---|
laneStatus | status of the driving lanes |
laneCount | number of lanes |
ClientException | when the request fails |
---|
Sets the crash detection state station info parameter.
crashDetectionState | crash detection state |
---|
Sets the crash detection state station info parameter.
crashDetectionState | crash detection state |
---|---|
handler | response handler |
Sets the crash detection state station info parameter.
crashDetectionState | crash detection state |
---|
ClientException | when this request fails |
---|
Set the station curvature value.
curvatureValue | curvature value in m-1 radius |
---|---|
curvatureConfidence | curvature confidence |
handler | response handler |
Set the station curvature value.
curvatureValue | curvature value in m-1 radius |
---|---|
curvatureConfidence | curvature confidence |
Set the station curvature value.
curvatureValue | curvature value in m-1 radius |
---|---|
curvatureConfidence | curvature confidence |
ClientException | when the request fails |
---|
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
category | category of the dangerous goods |
---|
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
category | category of the dangerous goods |
---|---|
handler | response handler |
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
category | category of the dangerous goods |
---|
ClientException | when the request fails |
---|
Sets the disabled vehicle station info parameter in BSM.
disabledVehicle | disabled vehicle value |
---|
Sets the disabled vehicle station info parameter in BSM.
disabledVehicle | disabled vehicle value |
---|---|
handler | response handler |
Sets the disabled vehicle station info parameter in BSM.
disabledVehicle | disabled vehicle value |
---|
ClientException | when the request fails |
---|
Sets the door states station info parameter.
states | door states |
---|
Sets the door states station info parameter.
states | door states |
---|---|
handler | response handler |
Sets the door states station info parameter.
states | door states |
---|
ClientException | when this request fails |
---|
Set station drive direction value.
direction | drive direction |
---|
Set station drive direction value.
direction | drive direction |
---|---|
handler | response handler |
Set station drive direction value.
direction | drive direction |
---|
ClientException | when the request fails |
---|
Sets the driving wheel angle station info parameter in BSM.
drivingWheelAngle | driving wheel angle |
---|
Sets the driving wheel angle station info parameter in BSM.
drivingWheelAngle | driving wheel angle |
---|---|
handler | response handler |
Sets the driving wheel angle station info parameter in BSM.
drivingWheelAngle | driving wheel angle |
---|
ClientException | when the request fails |
---|
Sets the e call state station info parameter.
eCallState | e call state |
---|---|
handler | response handler |
Sets the e call state station info parameter.
eCallState | e call state |
---|
Sets the e call state station info parameter.
eCallState | e call state |
---|
ClientException | when this request fails |
---|
Sets the Emergency Electronic Brake Light request state station info parameter.
requestState | request state |
---|
Sets the Emergency Electronic Brake Light request state station info parameter.
requestState | request state |
---|---|
handler | response handler |
Sets the Emergency Electronic Brake Light request state station info parameter.
requestState | request state |
---|
ClientException | when this request fails |
---|
Sets the ready for embarkation status within the CAM message. It indicates whether the passenger embarkation is ongoing currently.
readyForEmbarkation | true if ready for embarkation, false otherwise |
---|---|
handler | response handler |
Sets the ready for embarkation status within the CAM message. It indicates whether the passenger embarkation is ongoing currently.
readyForEmbarkation | true if ready for embarkation, false otherwise |
---|
Sets the ready for embarkation status within the CAM message. It indicates whether the passenger embarkation is ongoing currently.
readyForEmbarkation | true if ready for embarkation, false otherwise |
---|
ClientException | when the request fails |
---|
Sets the emergency priority within the CAM message. Only authorized vehicles are allowed to use this indicator.
requestForRightOfWay | request right of way |
---|---|
requestForFreeCrossingAtATrafficLight | request free crossing at traffic light |
Sets the emergency priority within the CAM message. Only authorized vehicles are allowed to use this indicator.
requestForRightOfWay | request right of way |
---|---|
requestForFreeCrossingAtATrafficLight | request free crossing at traffic light |
handler | response handler |
Sets the emergency priority within the CAM message. Only authorized vehicles are allowed to use this indicator.
requestForRightOfWay | request right of way |
---|---|
requestForFreeCrossingAtATrafficLight | request free crossing at traffic light |
ClientException | when the request fails |
---|
Sets the event safety flags (Safety Extension part II of BSM) of the station.
eventFlags | event flags |
---|---|
handler | response handler |
Sets the event safety flags (Safety Extension part II of BSM) of the station.
eventFlags | event flags |
---|
Sets the event safety flags (Safety Extension part II of BSM) of the station.
eventFlags | event flags |
---|
ClientException | when the request fails |
---|
Set station exterior lights status.
exteriorLights | exterior lights values |
---|
Set station exterior lights status.
exteriorLights | exterior lights values |
---|---|
handler | response handler |
Set station exterior lights status.
exteriorLights | exterior lights values |
---|
ClientException | when the request fails |
---|
Sets the flat tire station info parameter in BSM.
flatTire | flat tire value |
---|
Sets the flat tire station info parameter in BSM.
flatTire | flat tire value |
---|---|
handler | response handler |
Sets the flat tire station info parameter in BSM.
flatTire | flat tire value |
---|
ClientException | when the request fails |
---|
Sets the hard braking station info parameter in BSM.
hardBraking | hard braking value |
---|
Sets the hard braking station info parameter in BSM.
hardBraking | hard braking value |
---|---|
handler | response handler |
Sets the hard braking station info parameter in BSM.
hardBraking | hard braking value |
---|
ClientException | when the request fails |
---|
Sets the ignition state station info parameter.
ignitionState | ignition state |
---|---|
handler | response handler |
Sets the ignition state station info parameter.
ignitionState | ignition state |
---|
Sets the ignition state station info parameter.
ignitionState | ignition state |
---|
ClientException | when this request fails |
---|
Sets the incident information within the CAM message. This indication can be used when the originating ITS-S is mounted on a vehicle operating on some emergency missions or safety mission.
causeCode | cause code |
---|---|
handler | response handler |
Sets the incident information within the CAM message. This indication can be used when the originating ITS-S is mounted on a vehicle operating on some emergency missions or safety mission.
causeCode | cause code |
---|
Sets the incident information within the CAM message. This indication can be used when the originating ITS-S is mounted on a vehicle operating on some emergency missions or safety mission.
causeCode | cause code |
---|
ClientException | when the request fails |
---|
Set if the curvature info should be included or excluded from the CAM message.
included | if set to true include curvature info, false otherwise |
---|
Set if the curvature info should be included or excluded from the CAM message.
included | if set to true include curvature info, false otherwise |
---|---|
handler | response handler |
Set if the curvature info should be included or excluded from the CAM message.
included | if set to true include curvature info, false otherwise |
---|
ClientException | when the request fails |
---|
Set if the path history should be included or excluded from the CAM message.
included | if set to true include path history, false otherwise |
---|---|
handler | response handler |
Set if the path history should be included or excluded from the CAM message.
included | if set to true include path history, false otherwise |
---|
Set if the path history should be included or excluded from the CAM message.
included | if set to true include path history, false otherwise |
---|
ClientException | when the request fails |
---|
Sets whether the system information should be included in the CAM message. This is a private extension of the CAM message.
include | true if system info is included, false otherwise |
---|---|
handler | response handler |
Sets whether the system information should be included in the CAM message. This is a private extension of the CAM message.
include | true if system info is included, false otherwise |
---|
Sets whether the system information should be included in the CAM message. This is a private extension of the CAM message.
include | true if system info is included, false otherwise |
---|
ClientException | when the request fails |
---|
Sets the iors state station info parameter.
iorsState | iors state |
---|---|
handler | response handler |
Sets the iors state station info parameter.
iorsState | iors state |
---|
Sets the iors state station info parameter.
iorsState | iors state |
---|
ClientException | when this request fails |
---|
Sets the ipps state station info parameter.
ippsState | ipps state |
---|---|
handler | response handler |
Sets the ipps state station info parameter.
ippsState | ipps state |
---|
Sets the ipps state station info parameter.
ippsState | ipps state |
---|
ClientException | when this request fails |
---|
Sets the lane number of the station.
laneNumber | lane number, set null if absent |
---|---|
handler | response handler |
Sets the lane number of the station.
laneNumber | lane number, set null if absent |
---|
Sets the lane number of the station.
laneNumber | lane number, set null if absent |
---|
ClientException | when the request fails |
---|
Set station lateral acceleration.
value | lateral acceleration value |
---|---|
valueUnit | lateral acceleration unit |
confidence | lateral acceleration confidence value |
confidenceUnit | lateral acceleration confidence unit |
Set station lateral acceleration.
value | lateral acceleration value |
---|---|
valueUnit | lateral acceleration unit |
confidence | lateral acceleration confidence value |
confidenceUnit | lateral acceleration confidence unit |
handler | response handler |
Set station lateral acceleration.
value | lateral acceleration value |
---|---|
valueUnit | lateral acceleration unit |
confidence | lateral acceleration confidence value |
confidenceUnit | lateral acceleration confidence unit |
ClientException | when the request fails |
---|
Sets the light bar and siren status within the CAM message.
This indication is only allowed when the originating ITS-S is mounted on a special vehicle.
Deprecated, see setStationLightBarSirenInUse(LightbarInUse, SirenInUse, SimpleResponseHandler)
instead.
lightBarUsed | light bar used flag |
---|---|
sirenUsed | siren used flag |
handler | response handler |
Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle.
lightbarInUse | light bar used value |
---|---|
sirenInUse | siren used value |
handler | response handler |
Sets the light bar and siren status within the CAM message.
This indication is only allowed when the originating ITS-S is mounted on a special vehicle.
Deprecated, see setStationLightBarSirenInUse(LightbarInUse, SirenInUse)
instead.
lightBarUsed | light bar used flag |
---|---|
sirenUsed | siren used flag |
Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle.
lightbarInUse | light bar used value |
---|---|
sirenInUse | siren used value |
Sets the light bar and siren status within the CAM message.
This indication is only allowed when the originating ITS-S is mounted on a special vehicle.
Deprecated, see setStationLightBarSirenInUseBlocking(LightbarInUse, SirenInUse, SimpleResponseHandler)
instead.
lightBarUsed | light bar used flag |
---|---|
sirenUsed | siren used flag |
ClientException | when the request fails |
---|
Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle.
lightbarInUse | light bar used value |
---|---|
sirenInUse | siren used value |
ClientException | when the request fails |
---|
Set station longitudinal acceleration.
value | longitudinal acceleration value |
---|---|
valueUnit | longitudinal acceleration unit |
confidence | longitudinal acceleration confidence value |
confidenceUnit | longitudinal acceleration confidence unit |
Set station longitudinal acceleration.
value | longitudinal acceleration value |
---|---|
valueUnit | longitudinal acceleration unit |
confidence | longitudinal acceleration confidence value |
confidenceUnit | longitudinal acceleration confidence unit |
handler | response handler |
Set station longitudinal acceleration.
value | longitudinal acceleration value |
---|---|
valueUnit | longitudinal acceleration unit |
confidence | longitudinal acceleration confidence value |
confidenceUnit | longitudinal acceleration confidence unit |
ClientException | when the request fails |
---|
Sets the protected communications zones RSU station info parameter.
zones | list of protected communication zones |
---|
Sets the protected communications zones RSU station info parameter.
zones | list of protected communication zones |
---|---|
handler | response handler |
Sets the protected communications zones RSU station info parameter.
zones | list of protected communication zones |
---|
ClientException | when this request fails |
---|
Sets the Pt activation data within the CAM message. This field is used by public transport vehicles for controlling traffic lights, barriers, bollards, etc.
encoding | encoding type of the passed data |
---|---|
data | byte string type custom data |
handler | response handler |
Sets the Pt activation data within the CAM message. This field is used by public transport vehicles for controlling traffic lights, barriers, bollards, etc.
encoding | encoding type of the passed data |
---|---|
data | byte string type custom data |
Sets the Pt activation data within the CAM message. This field is used by public transport vehicles for controlling traffic lights, barriers, bollards, etc.
encoding | encoding type of the passed data |
---|---|
data | byte string type custom data |
ClientException | when the request fails |
---|
Sets the road friction station info parameter in BSM.
roadFriction | road friction value |
---|
Sets the road friction station info parameter in BSM.
roadFriction | road friction value |
---|---|
handler | response handler |
Sets the road friction station info parameter in BSM.
roadFriction | road friction value |
---|
ClientException | when this request fails |
---|
Sets the road works sub cause within the CAM message. It can be set when the originating ITS-S is mounted on a vehicle participating in the roadwork. It provides information on the type of roadwork that is currently undergoing.
subcause | road work sub cause |
---|---|
handler | response handler |
Sets the road works sub cause within the CAM message. It can be set when the originating ITS-S is mounted on a vehicle participating in the roadwork. It provides information on the type of roadwork that is currently undergoing.
subcause | road work sub cause |
---|
Sets the road works sub cause within the CAM message. It can be set when the originating ITS-S is mounted on a vehicle participating in the roadwork. It provides information on the type of roadwork that is currently undergoing.
subcause | road work sub cause |
---|
ClientException | when the request fails |
---|
Set station type and role.
stationType | station type |
---|---|
role | station role |
handler | response handler |
Set station type and role.
stationType | station type |
---|---|
role | station role |
Set station type and role.
stationType | station type |
---|---|
role | station role |
ClientException | when the request fails |
---|
Sets the Reversible Occupant Restraint System request state station info parameter.
requestState | request state |
---|
Sets the Reversible Occupant Restraint System request state station info parameter.
requestState | request state |
---|---|
handler | response handler |
Sets the Reversible Occupant Restraint System request state station info parameter.
requestState | request state |
---|
ClientException | when this request fails |
---|
Sets the seat belt status on a given position in a station
seatBeltStates | the position in the station, which seat belt sets |
---|
Sets the seat belt status on a given position in a station
seatBeltStates | the position in the station, which seat belt sets |
---|---|
handler | response handler |
Sets the seat belt status on a given position in a station
seatBeltStates | the position in the station, which seat belt sets |
---|
ClientException | when this request fails |
---|
Sets the slow vehicle state station info parameter.
slowVehicleState | slow vehocle state |
---|---|
handler | response handler |
Sets the slow vehicle state station info parameter.
slowVehicleState | slow vehocle state |
---|
Sets the slow vehicle state station info parameter.
slowVehicleState | slow vehocle state |
---|
ClientException | when this request fails |
---|
Sets the special transport type information within the CAM message. It indicates whether the originating ITS-S is mounted on a special transport vehicle with heavy or over sized load or both.
specialTransportType | special transport type information |
---|
Sets the special transport type information within the CAM message. It indicates whether the originating ITS-S is mounted on a special transport vehicle with heavy or over sized load or both.
specialTransportType | special transport type information |
---|---|
handler | response handler |
Sets the special transport type information within the CAM message. It indicates whether the originating ITS-S is mounted on a special transport vehicle with heavy or over sized load or both.
specialTransportType | special transport type information |
---|
ClientException | when the request fails |
---|
Sets the speed limit in the CAM message. It indicates whether a speed limit is applied to vehicles following the safety car.
speedLimit | speed limit information |
---|
Sets the speed limit in the CAM message. It indicates whether a speed limit is applied to vehicles following the safety car.
speedLimit | speed limit information |
---|---|
handler | response handler |
Sets the speed limit in the CAM message. It indicates whether a speed limit is applied to vehicles following the safety car.
speedLimit | speed limit information |
---|
ClientException | when the request fails |
---|
Sets the stability control state station info parameter in BSM.
stabilityControlState | stability control state |
---|
Sets the stability control state station info parameter in BSM.
stabilityControlState | stability control state |
---|---|
handler | response handler |
Sets the stability control state station info parameter in BSM.
stabilityControlState | stability control state |
---|
ClientException | when the request fails |
---|
Sets the station steering wheel angle.
wheelAngle | wheel angle value |
---|---|
wheelAngleUnit | wheel angle unit |
confidenceWithin | confidence equal or within this value |
confidenceUnit | confidence unit |
Sets the station steering wheel angle.
wheelAngle | wheel angle value |
---|---|
wheelAngleUnit | wheel angle unit |
confidenceWithin | confidence equal or within this value |
confidenceUnit | confidence unit |
handler | response handler |
Sets the station steering wheel angle.
wheelAngle | wheel angle value |
---|---|
wheelAngleUnit | wheel angle unit |
confidenceWithin | confidence equal or within this value |
confidenceUnit | confidence unit |
ClientException | when the request fails |
---|
Sets the stop line violated station info parameter in BSM.
stopLineViolated | stop line violated value |
---|
Sets the stop line violated station info parameter in BSM.
stopLineViolated | stop line violated value |
---|---|
handler | response handler |
Sets the stop line violated station info parameter in BSM.
stopLineViolated | stop line violated value |
---|
ClientException | when the request fails |
---|
Sets the throttle pressure station info parameter in BSM.
throttlePosition | throttle position |
---|
Sets the throttle pressure station info parameter in BSM.
throttlePosition | throttle position |
---|---|
handler | response handler |
Sets the throttle pressure station info parameter in BSM.
throttlePosition | throttle position |
---|
ClientException | when this request fails |
---|
Sets the traction control state station info parameter in BSM.
tractionControlState | traction control state |
---|---|
handler | response handler |
Sets the traction control state station info parameter in BSM.
tractionControlState | traction control state |
---|
Sets the traction control state station info parameter in BSM.
tractionControlState | traction control state |
---|
ClientException | when the request fails |
---|
Sets the Station Info Traffic Jam Radio State parameter.
trafficJamRadioState | traffic jam radio state |
---|---|
handler | response handler |
Sets the Station Info Traffic Jam Radio State parameter.
trafficJamRadioState | traffic jam radio state |
---|
Sets the Station Info Traffic Jam Radio State parameter.
trafficJamRadioState | traffic jam radio state |
---|
ClientException | when this request fails |
---|
Sets the traffic rule within the CAM message. It indicates whether overtaking is allowed at a certain position.
trafficRule | traffic rule object |
---|---|
handler | response handler |
Sets the traffic rule within the CAM message. It indicates whether overtaking is allowed at a certain position.
trafficRule | traffic rule object |
---|
Sets the traffic rule within the CAM message. It indicates whether overtaking is allowed at a certain position.
trafficRule | traffic rule object |
---|
ClientException |
---|
Set station vertical acceleration.
value | vertical acceleration value |
---|---|
valueUnit | vertical acceleration unit |
confidence | vertical acceleration confidence value |
confidenceUnit | vertical acceleration confidence unit |
handler | response handler |
Set station vertical acceleration.
value | vertical acceleration value |
---|---|
valueUnit | vertical acceleration unit |
confidence | vertical acceleration confidence value |
confidenceUnit | vertical acceleration confidence unit |
Set station vertical acceleration.
value | vertical acceleration value |
---|---|
valueUnit | vertical acceleration unit |
confidence | vertical acceleration confidence value |
confidenceUnit | vertical acceleration confidence unit |
ClientException | when the request fails |
---|
Sets the wheel brake state station info parameter in BSM.
wheelBrakeState | wheel brake state |
---|
Sets the wheel brake state station info parameter in BSM.
wheelBrakeState | wheel brake state |
---|---|
handler | response handler |
Sets the wheel brake state station info parameter in BSM.
wheelBrakeState | wheel brake state |
---|
ClientException | when the request fails |
---|
Set station yaw rate.
degreesPerSec | yaw rate in degrees per second |
---|---|
confidence | yaw rate confidence |
handler | response handler |
Set station yaw rate.
degreesPerSec | yaw rate in degrees per second |
---|---|
confidence | yaw rate confidence |
Set station yaw rate.
degreesPerSec | yaw rate in degrees per second |
---|---|
confidence | yaw rate confidence |
ClientException | when the request fails |
---|
Sets the amount of waiting in milliseconds between connection attempts when an error occurs.
waitBetweenReconnects | amount of waiting in milliseconds, zero disables waiting |
---|
Terminates the current connection if connected and shuts down the connection manager.
Starts the connection manager and initiates a connection towards the router. The connection is maintained
and automatically reconnected until shutdown()
is called.
Starts safety apps if not started already. This is an internal command and it is subject to change. There is no need to call this method under normal circumstances.
ClientException | when the request fails |
---|
Starts the showcase demo.
loop | true to loop the demo, false otherwise |
---|---|
handler | response handler |
Starts the showcase demo.
loop | true to loop the demo, false otherwise |
---|
Starts the showcase demo.
loop | true to loop the demo, false otherwise |
---|
ClientException | when the request fails |
---|
Subscribe to Station Info messages. Station Info messages will be received as Station Info notifications.
subscribeGroups | subscribe groups, specifies which notification groups the client is interested in |
---|---|
handler | response handler |
Subscribe to Station Info messages. Station Info messages will be received as Station Info notifications.
subscribeGroups | subscribe groups, specifies which notification groups the client is interested in |
---|
Subscribe to Station Info messages. Station Info messages will be received as Station Info notifications.
subscribeGroups | subscribe groups, specifies which notification groups the client is interested in |
---|
ClientException | when the request fails |
---|
Unsubscribe from Station Info messages.
Unsubscribe from Station Info messages.
handler | response handler |
---|
Unsubscribe from Station Info messages.
ClientException | when the request fails |
---|
Subscribe to diagnostics notifications. If the request is successful the application will receive
DiagnosticsNotification
messages which can be
handled by registering a ITSEventListener
and implementing
onDiagnosticsNotification(DiagnosticsNotification)
.
Subscribe to diagnostics notifications. If the request is successful the application will receive
DiagnosticsNotification
messages which can be
handled by registering a ITSEventListener
and implementing
onDiagnosticsNotification(DiagnosticsNotification)
.
handler | respone handler |
---|
Subscribe to diagnostics notifications. If the request is successful the application will receive
DiagnosticsNotification
messages which can be
handled by registering a ITSEventListener
and implementing
onDiagnosticsNotification(DiagnosticsNotification)
.
ClientException | when the request fails |
---|
Unsubscribe from diagnostics notifications. The application will no longer receiveDiagnosticsNotification
through onDiagnosticsNotification(DiagnosticsNotification)
.
Unsubscribe from diagnostics notifications. The application will no longer receiveDiagnosticsNotification
through onDiagnosticsNotification(DiagnosticsNotification)
.
handler | response handler |
---|
Unsubscribe from diagnostics notifications. The application will no longer receiveDiagnosticsNotification
through onDiagnosticsNotification(DiagnosticsNotification)
.
ClientException | when the request fails |
---|
Use the specified certificate. This is development command.
certificateStandardType | certificate standard type |
---|---|
hashId | hash id of the certificate |
Use the specified certificate. This is development command.
certificateStandardType | certificate standard type |
---|---|
hashId | hash id of the certificate |
handler | response handler |
Use the specified certificate. This is development command.
certificateStandardType | certificate standard type |
---|---|
hashId | hash id of the certificate |
ClientException | when the request fails |
---|
Wait for the connection to establish.
timeoutInMilliseconds | timeout in milliseconds |
---|
InterruptedException | if the wait is interrupted |
---|---|
TimeoutException |
Subscribe to WSA notifications. The application will receive WSA notifications upon successful subscription.
psid | provider service identifier |
---|
Subscribe to WSA notifications. The application will receive WSA notifications upon successful subscription.
psid | provider service identifier |
---|---|
handler | response handler |
Subscribe to WSA notifications. The application will receive WSA notifications upon successful subscription.
psid | provider service identifier |
---|
ClientException | when the request fails |
---|
Unsubscribe from WSA notifications.
psid | provider service identifier |
---|---|
handler | response handler |
Unsubscribe from WSA notifications.
psid | provider service identifier |
---|
Unsubscribe from WSA notifications.
psid | provider service identifier |
---|
ClientException | when the request fails |
---|
Bind to a WSMP port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.
portNumber | port number |
---|
Bind to a WSMP port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.
portNumber | port number |
---|---|
handler | response handler for the binding attempt |
Bind to a WSMP port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.
portNumber | port number |
---|
ClientException | when the request fails |
---|
Stop listening on the specified WSMP port.
portNumber | port number |
---|
Stop listening on the specified WSMP port.
portNumber | port number |
---|---|
handler | response handler for the close attempt |
Stop listening on the specified WSMP port.
portNumber | port number |
---|
ClientException | when the request fails |
---|
Send a WSMP packet.
sendData | data to be sent |
---|
Send a WSMP packet.
sendData | data to be sent |
---|---|
handler | response handler |
Send a WSMP packet.
sendData | data to be sent |
---|
ClientException | when the request fails |
---|