Ingen endring fra 3.2
...
Local topic | Remote topic | Link | Description |
---|---|---|---|
pe/sales/diagnostics | ruter/<sender>/<vehicleRef>/adt/v3/pe/sales/diagnostics | Primary use: This topic is intended for health status for the RuterSalg application on each vehicle. The health status is intended both as a real time surveillance of health status for each individual bus as well as aggregating data per operator to see larger, more general issues. The topic can also, when enriched with other data, determine whether or not RuterSalg was used and working on a specific departure. Failure to have a working sales setup during a journey constitutes an SLA breach. Possible secondary use: This topic may also be used by the operators to quickly discover issues with their own devices, as well as getting a general fleet-wide status if aggregated. | |
pe/sales/sla | ruter/<sender>/<vehicleRef>/adt/v3/pe/sales/sla | New topic in ADT 3.3. Up until 3.3 we have been using the loggedIn field in the diagnostics message to measure whether the driver has logged onto the TETSalg app, but having an internal MQTT topic as basis for SLA measurements is not ideal. We have therefore created a new external message which will follow normal ADT versioning and restrictions as the basis for measurements. The loggedIn field will still exist in the diagnostics messages, but will no longer be used for SLA measurement. |
ADT 2.x
(Deprecated and will be removed from ADT v4)
Consumed:
Local Topic | Data | Direction | Link | Description |
---|---|---|---|---|
di/assignment_attempt/block | VIN | OUT | assignmentType: SIGNON assignmentType: SIGNOFF | |
|
|
|
This has been replaced by oi/current_vehicle_journey/expected_call (see below). No longer needed. | |
pe/dpi/journey | sorted list of next stops (stopPlaceId) | IN | List of stop places: journeyRef: | |
oi/current_vehicle_journey/expected_call | Next quay | IN | In early 2022 we were told that the nextstop topic would be deprecated and that the data we needed would be available in expected_call. We changed RuterSalg to first handle both nextstop and expected_call, and later to no longer consume nextstop. This now has the same function as nextstop did before. | |
pe/vehicle/api | ADT-version | IN | The sales app uses this topic to determine which ADT version the vehicle uses. |
...
Some devices also differ in urgency when it comes to state change from conneted to disconnected and vice versa. The table below describes the behaviour of each device:
Device | Connection | When disconnecting | When connecting |
---|---|---|---|
Epson TM-m30 | Ethernet | Poll | Poll |
Epson TM-T20III | Ethernet | Poll | Poll |
Bixolon SPP-R200III | USB | Event | Event |
Star 230i USB mode | USB | Event | Event |
Star 230i BT mode | Bluetooth | Poll | Poll |
Star mC-Print3 BT | Bluetooth | Poll | Poll |
Verifone v400c (1) | Ethernet TCP/IP | Event | Poll |
Verifonev 400m (1) | Bluetooth TCP/IPĀ | None | None |
Softpay | Integrated | N/A | N/A |
(1) When it comes to the Verifone terminal what matters is actually not the device model but how they are configured. For our sales system we enforce "ECR Connection Mode" for v400m, which makes the conection detection unusable due to the deep sleep functionality activating in this mode. For v400c in "Terminal Connection Mode" this is not a problem and we can poll for connection status.