File

actility-device-registration/actility-device-registration.service.ts

Index

Methods

Constructor

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

Methods

Async getConnections
getConnections()
Returns : unknown
Async getConnectivityPlans
getConnectivityPlans(connectionName: string)

Gets connectivity plans from LoRa platform.

Parameters :
Name Type Optional Description
connectionName string No

The name of connection for which connectivity plans will be retrieved

The result list with connectivity plans, or throws an error with exception.

Async getDeviceProfiles
getDeviceProfiles(connectionName: string)

Gets the device profiles from LoRa platform.

Parameters :
Name Type Optional Description
connectionName string No

The name of connection for which device profiles will be retrieved

Returns : Promise<IResultList<DeviceProfile>>

The result list with device profiles, or throws an error with exception.

Async getDeviceProtocols
getDeviceProtocols()

Gets the device protocols

Returns : Promise<IResultList<IManagedObject>>
Async register
register(registration: ActilityDeviceRegistration)

Creates device registration

Parameters :
Name Type Optional
registration ActilityDeviceRegistration No
Returns : unknown

results matching ""

    No results matching ""