Method: customers.devices.signDevice

device 进行签名。

HTTP 请求

POST https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice

网址采用 gRPC 转码语法。

路径参数

参数
device.name

string

仅供输出。资源路径名称。

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "device": {
    "name": string,
    "fccId": string,
    "serialNumber": string,
    "preloadedConfig": {
      "category": enum (DeviceCategory),
      "model": {
        object (DeviceModel)
      },
      "airInterface": {
        object (DeviceAirInterface)
      },
      "installationParams": {
        object (InstallationParams)
      },
      "measurementCapabilities": [
        enum (MeasurementCapability)
      ],
      "userId": string,
      "callSign": string,
      "state": enum (State),
      "isSigned": boolean,
      "updateTime": string
    },
    "activeConfig": {
      "category": enum (DeviceCategory),
      "model": {
        object (DeviceModel)
      },
      "airInterface": {
        object (DeviceAirInterface)
      },
      "installationParams": {
        object (InstallationParams)
      },
      "measurementCapabilities": [
        enum (MeasurementCapability)
      ],
      "userId": string,
      "callSign": string,
      "state": enum (State),
      "isSigned": boolean,
      "updateTime": string
    },
    "state": enum (State),
    "grants": [
      {
        "maxEirp": number,
        "frequencyRange": {
          object (FrequencyRange)
        },
        "state": enum (GrantState),
        "channelType": enum (ChannelType),
        "moveList": [
          {
            object (DpaMoveList)
          }
        ],
        "expireTime": string,
        "suspensionReason": [
          string
        ],
        "grantId": string,
        "lastHeartbeatTransmitExpireTime": string
      }
    ],
    "displayName": string,
    "deviceMetadata": {
      "interferenceCoordinationGroup": string,
      "commonChannelGroup": string,
      "antennaModel": string,
      "nrqzValidated": boolean,
      "nrqzValidation": {
        object (NrqzValidation)
      }
    },
    "currentChannels": [
      {
        "frequencyRange": {
          object (FrequencyRange)
        },
        "score": number
      }
    ],
    "grantRangeAllowlists": [
      {
        "lowFrequencyMhz": number,
        "highFrequencyMhz": number
      }
    ]
  }
}
字段
device.fccId

string

设备的 FCC 标识符。

device.serialNumber

string

设备制造商分配给设备的序列号。

device.preloadedConfig

object (DeviceConfig)

通过 SAS Portal API 指定的设备配置。

device.activeConfig

object (DeviceConfig)

仅供输出。注册 SAS 的设备的当前配置。

device.state

enum (State)

仅供输出。设备状态。

device.grants[]

object (DeviceGrant)

仅供输出。设备持有的拨款。

device.displayName

string

设备的显示名称。

device.deviceMetadata

object (DeviceMetadata)

可由 SAS 门户和 SAS 注册请求替换的设备参数。

device.currentChannels[]
(deprecated)

object (ChannelWithScore)

仅供输出。当前有得分的频道。

device.grantRangeAllowlists[]

object (FrequencyRange)

只有列入许可名单范围内的范围才可用于新授权。

响应正文

如果成功,则响应正文为空。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/sasportal