protocol-lwm2m/services/lwm2m-client.service.ts
Service
Properties |
Methods |
constructor(client: FetchClient)
|
||||||
Parameters :
|
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
|
Protected listUrl |
Type : string
|
Default value : 'device'
|