configuration / chassis0 / slots / [SLOT-ID] / [gps190] / module / gps / serial-ports / com[ID]
CLI REST-API

## mode

Mode
This is a read-write object and valid values are:

- on-request-only [0] (transmission on request by received '?' character only)
- per-second [1] (transmission automatically if second changes)
- per-minute [2] (transmission automatically if minute changes)
- automatically [3] (transmission automatically if required, e.g. on capture event)
- sec-after-request [4] (transmission if second changes and a request has been received before)
- per-second-carriage-return [5] (transmisson automatically if second changes, but carriage return (0x13) on time)

#### Applies to modules

GPS167
GPS167SV
GPS170
GPS180
GNS181_UC
GPS190
GNS181
GNS190
See also:
/configuration/chassis0/slots/[SLOT-ID]/[gns181]/module/gps/serial-ports/com[ID]
/configuration/chassis0/slots/[SLOT-ID]/[gns181]/module/gps/serial-ports/com[ID]/baudrate
/configuration/chassis0/slots/[SLOT-ID]/[gns181]/module/gps/serial-ports/com[ID]/framing
/configuration/chassis0/slots/[SLOT-ID]/[gns181]/module/gps/serial-ports/com[ID]/string-type

#### REST-API Support:

This object is supported by the REST API:
Method: GET
URL: /api/configuration/chassis0/slots/.*/module/gps/serial-ports/com.*
Example using curl:

    curl /api/configuration/chassis0/slots/.*/module/gps/serial-ports/com.*

Method: PATCH
URL: /api/configuration/chassis0/slots/.*/module/gps/serial-ports/com.*
Body:

    {
      "mode": "on-request-only"
    }

Example using curl:

    curl -X PATCH /api/configuration/chassis0/slots/.*/module/gps/serial-ports/com.* -d
    {
      "mode": "on-request-only"
    }