Method: nodes.devices.signDevice
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
POST https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/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
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-02。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2022-11-02。"],[[["Signs a device, using the provided device information in the request body."],["The HTTP request is a POST request to the specified URL with the device name as a path parameter."],["The request body requires device details like FCC ID, serial number, configuration, and operational state."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],[]]