protocol-lwm2m/services/lwm2m-configuration.service.ts
constructor(client: FetchClient, alertService: AlertService)
|
|||||||||
Parameters :
|
cleanUpBase64Data | ||||||
cleanUpBase64Data(fileReadAsDataURL: string)
|
||||||
Parameters :
Returns :
any
|
createServer$ | ||||||
createServer$(server: ServerSettings)
|
||||||
Parameters :
Returns :
any
|
deleteServer$ | ||||||
deleteServer$(server: ServerSettings)
|
||||||
Parameters :
Returns :
any
|
detail$ | ||||||
detail$(urlCfg: UrlConfig)
|
||||||
Parameters :
Returns :
any
|
fetch$ | |||||||||
fetch$(url: string, init?: IFetchOptions)
|
|||||||||
Parameters :
Returns :
any
|
fetchSecurityModes$ |
fetchSecurityModes$()
|
Returns :
any
|
fetchServerCertificates$ |
fetchServerCertificates$()
|
Returns :
Observable<{}>
|
getDetailUrl | ||||||
getDetailUrl(entity: Entity)
|
||||||
Parameters :
Returns :
string
|
getSecurityModeByScope | ||||||
getSecurityModeByScope(scope: "useInBootstrapConnectivity" | "useInServerConnectivity")
|
||||||
Parameters :
Returns :
void
|
getSecurityModes |
getSecurityModes()
|
Returns :
void
|
getServerCertificates |
getServerCertificates()
|
Returns :
void
|
getSettingsFor | ||||||
getSettingsFor(urlCfg: UrlConfig)
|
||||||
Parameters :
Returns :
void
|
listServers |
listServers()
|
Returns :
void
|
listServers$ |
listServers$()
|
Returns :
any
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
onBeforeCreate | ||||||
onBeforeCreate(entity: Entity)
|
||||||
Parameters :
Returns :
T
|
onBeforeUpdate | ||||||
onBeforeUpdate(entity: Entity)
|
||||||
Parameters :
Returns :
T
|
update$ | ||||||
update$(entity: Entity)
|
||||||
Parameters :
Returns :
any
|
updateConfig | |||||||||
updateConfig(entity: T, endpoint: LWM2MEndpoint)
|
|||||||||
Parameters :
Returns :
void
|
validate | |||||||||
validate(certificate: string, type: ValidationType)
|
|||||||||
Parameters :
Returns :
Observable<string>
|
detail | ||||||||||||
detail(entityOrId: string | number | T, filter: object)
|
||||||||||||
Parameters :
Returns :
Promise<IResult<T | any>>
|
fetch | |||||||||
fetch(url: string, init?: IFetchOptions)
|
|||||||||
Parameters :
Returns :
Promise<IFetchResponse>
|
isLwm2mDevice | ||||||
isLwm2mDevice(mo: Lwm2mManagedObject)
|
||||||
Parameters :
Returns :
any
|
update | ||||||
update(entity: T)
|
||||||
Parameters :
Returns :
Promise<IResult<T | any>>
|
Protected baseUrl |
Default value : `${agentBaseUrl}/v1`
|
certificates$ |
Type : Observable<string[]>
|
Default value : this._certificates$.asObservable()
|
deviceId |
Type : string
|
securityModesByScope$ |
Type : Observable<SecurityModeDictionaryObj[]>
|
Default value : this._securityModeByScope$.asObservable()
|
securityModesRaw$ |
Type : Observable<SecurityModeDictionaryObj[]>
|
Default value : this._securityModeDictRaw$.asObservable()
|
servers$ |
Type : Observable<ServerSettings[]>
|
Default value : this._servers$.asObservable()
|
settings$ |
Type : Observable<T>
|
Default value : this._settings$.asObservable()
|
Protected listUrl |
Type : string
|
Default value : 'device'
|