File

sigfox-device-registration/sigfox-provider.service.ts

Index

Methods

Constructor

constructor(client: FetchClient, inventoryService: InventoryService, tenantOptions: TenantOptionsService, translateService: TranslateService, applicationService: ApplicationService)
Parameters :
Name Type Optional
client FetchClient No
inventoryService InventoryService No
tenantOptions TenantOptionsService No
translateService TranslateService No
applicationService ApplicationService No

Methods

Async createDevice
createDevice(device: SigfoxDevice)
Parameters :
Name Type Optional
device SigfoxDevice No
Async getAvailableProtocols
getAvailableProtocols(filter: object)
Parameters :
Name Type Optional Default value
filter object No { withTotalPages: true }
Returns : Promise<IResultList<IManagedObject>>
Async getConnections
getConnections()
Returns : unknown
Async getContracts
getContracts(connectionName: string)

Gets contracts from Sigfox platform.

Parameters :
Name Type Optional Description
connectionName string No

The name of connection for which contracts will be retrieved

Returns : Promise<IResultList<any>>

The result list with contract, or throws an error with exception.

Async hasConnectivitySettings
hasConnectivitySettings()
Returns : Promise<boolean>

results matching ""

    No results matching ""