Skip to content

Get Command Types

Fetch available command types from Traccar.

Request

php
use ThingsTelemetry\Traccar\Facades\Command;

$types = Command::types(deviceId: 6, textChannel: false);

Result

Returns an Illuminate\Support\Collection<int, ThingsTelemetry\Traccar\Dto\CommandTypeData>.

Released under the MIT License.