File

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

Index

Methods

Constructor

constructor(inventoryService: InventoryService, client: FetchClient, translateService: TranslateService, applicationService: ApplicationService, optionsService: OptionsService, appState: AppStateService)
Parameters :
Name Type Optional
inventoryService InventoryService No
client FetchClient No
translateService TranslateService No
applicationService ApplicationService No
optionsService OptionsService No
appState AppStateService 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

Returns : Promise<IResultList<ConnectivityPlan>>

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<ActilityDeviceProfile>>

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

Async getDeviceProtocols
getDeviceProtocols(filter: object)

Gets the device protocols

Parameters :
Name Type Optional Default value
filter object No { withTotalPages: true }
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 ""