Skip to content

TMM WebSockets

Trimble Mobile Manager uses local WebSocket servers to stream real-time data to client applications. There are two WebSocket servers available:

The WebSocket servers run locally on the device with the following possible addresses:

  • ws://tmm-api-local.fieldsystems.trimble.com:<port> - internet connection is required to resolve hostname to 127.0.0.1.
  • ws://localhost:<port>
  • ws://127.0.0.1:<port>

WebSocket V1 is the original WebSocket interface. It is now deprecated in favor of the more robust WebSocket V2 interface, but is still supported for backward compatibility. We recommend using WebSocket V2 for all new integrations.

The WebSocket V1 interface:

  • Supported for backward compatibility.
  • Supports a single channel which sends location data in the LocationV1 format.
  • Available on Android, iOS and Windows platforms.
  • Open availability (no Application ID required).
ChannelAddressFrequencyDescription
Root/1 HzStream of LocationV1 messages

The WebSocket V2 interface is the latest WebSocket interface which sends robust location data, and application event data on separate channels.

The WebSocket V2 interface:

  • Recommended for new integrations.
  • Supports multiple channels for different types of data, such as location and application events.
  • Available on Android, iOS and Windows platforms.
  • Requires a valid TMM Application ID to unlock.
ChannelAddressFrequencyDescription
Root/1-10 HzStream of LocationV2 messages
LocationV2/locationV21-10 HzStream of LocationV2 messages
Event/eventsAs neededStream of application event messages