Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
simple-mbed-cloud-client/mbed-cloud-client/update-client-hub/modules/lwm2m-mbed/source/update-lwm2m-mbed-apis.c@0:8f0bb79ddd48, 2021-05-04 (annotated)
- Committer:
- leothedragon
- Date:
- Tue May 04 08:55:12 2021 +0000
- Revision:
- 0:8f0bb79ddd48
nmn
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
leothedragon | 0:8f0bb79ddd48 | 1 | // ---------------------------------------------------------------------------- |
leothedragon | 0:8f0bb79ddd48 | 2 | // Copyright 2016-2018 ARM Ltd. |
leothedragon | 0:8f0bb79ddd48 | 3 | // |
leothedragon | 0:8f0bb79ddd48 | 4 | // SPDX-License-Identifier: Apache-2.0 |
leothedragon | 0:8f0bb79ddd48 | 5 | // |
leothedragon | 0:8f0bb79ddd48 | 6 | // Licensed under the Apache License, Version 2.0 (the "License"); |
leothedragon | 0:8f0bb79ddd48 | 7 | // you may not use this file except in compliance with the License. |
leothedragon | 0:8f0bb79ddd48 | 8 | // You may obtain a copy of the License at |
leothedragon | 0:8f0bb79ddd48 | 9 | // |
leothedragon | 0:8f0bb79ddd48 | 10 | // http://www.apache.org/licenses/LICENSE-2.0 |
leothedragon | 0:8f0bb79ddd48 | 11 | // |
leothedragon | 0:8f0bb79ddd48 | 12 | // Unless required by applicable law or agreed to in writing, software |
leothedragon | 0:8f0bb79ddd48 | 13 | // distributed under the License is distributed on an "AS IS" BASIS, |
leothedragon | 0:8f0bb79ddd48 | 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
leothedragon | 0:8f0bb79ddd48 | 15 | // See the License for the specific language governing permissions and |
leothedragon | 0:8f0bb79ddd48 | 16 | // limitations under the License. |
leothedragon | 0:8f0bb79ddd48 | 17 | // ---------------------------------------------------------------------------- |
leothedragon | 0:8f0bb79ddd48 | 18 | |
leothedragon | 0:8f0bb79ddd48 | 19 | #include "update-client-lwm2m/lwm2m-monitor.h" |
leothedragon | 0:8f0bb79ddd48 | 20 | #include "update-client-lwm2m/lwm2m-source.h" |
leothedragon | 0:8f0bb79ddd48 | 21 | #include "update-lwm2m-mbed-apis.h" |
leothedragon | 0:8f0bb79ddd48 | 22 | |
leothedragon | 0:8f0bb79ddd48 | 23 | |
leothedragon | 0:8f0bb79ddd48 | 24 | ARM_UPDATE_MONITOR ARM_UCS_LWM2M_MONITOR = { |
leothedragon | 0:8f0bb79ddd48 | 25 | .GetVersion = ARM_UCS_LWM2M_MONITOR_GetVersion, |
leothedragon | 0:8f0bb79ddd48 | 26 | .GetCapabilities = ARM_UCS_LWM2M_MONITOR_GetCapabilities, |
leothedragon | 0:8f0bb79ddd48 | 27 | .Initialize = ARM_UCS_LWM2M_MONITOR_Initialize, |
leothedragon | 0:8f0bb79ddd48 | 28 | .Uninitialize = ARM_UCS_LWM2M_MONITOR_Uninitialize, |
leothedragon | 0:8f0bb79ddd48 | 29 | |
leothedragon | 0:8f0bb79ddd48 | 30 | .SendState = ARM_UCS_LWM2M_MONITOR_SendState, |
leothedragon | 0:8f0bb79ddd48 | 31 | .SendUpdateResult = ARM_UCS_LWM2M_MONITOR_SendUpdateResult, |
leothedragon | 0:8f0bb79ddd48 | 32 | .SendName = ARM_UCS_LWM2M_MONITOR_SendName, |
leothedragon | 0:8f0bb79ddd48 | 33 | .SendVersion = ARM_UCS_LWM2M_MONITOR_SendVersion, |
leothedragon | 0:8f0bb79ddd48 | 34 | |
leothedragon | 0:8f0bb79ddd48 | 35 | .SetBootloaderHash = ARM_UCS_LWM2M_MONITOR_SetBootloaderHash, |
leothedragon | 0:8f0bb79ddd48 | 36 | .SetOEMBootloaderHash = ARM_UCS_LWM2M_MONITOR_SetOEMBootloaderHash |
leothedragon | 0:8f0bb79ddd48 | 37 | }; |
leothedragon | 0:8f0bb79ddd48 | 38 | |
leothedragon | 0:8f0bb79ddd48 | 39 | ARM_UPDATE_SOURCE ARM_UCS_LWM2M_SOURCE = { |
leothedragon | 0:8f0bb79ddd48 | 40 | .GetVersion = ARM_UCS_LWM2M_SOURCE_GetVersion, |
leothedragon | 0:8f0bb79ddd48 | 41 | .GetCapabilities = ARM_UCS_LWM2M_SOURCE_GetCapabilities, |
leothedragon | 0:8f0bb79ddd48 | 42 | .Initialize = ARM_UCS_LWM2M_SOURCE_Initialize, |
leothedragon | 0:8f0bb79ddd48 | 43 | .Uninitialize = ARM_UCS_LWM2M_SOURCE_Uninitialize, |
leothedragon | 0:8f0bb79ddd48 | 44 | .GetManifestDefaultCost = ARM_UCS_LWM2M_SOURCE_GetManifestDefaultCost, |
leothedragon | 0:8f0bb79ddd48 | 45 | .GetManifestURLCost = ARM_UCS_LWM2M_SOURCE_GetManifestURLCost, |
leothedragon | 0:8f0bb79ddd48 | 46 | .GetFirmwareURLCost = ARM_UCS_LWM2M_SOURCE_GetFirmwareURLCost, |
leothedragon | 0:8f0bb79ddd48 | 47 | .GetKeytableURLCost = ARM_UCS_LWM2M_SOURCE_GetKeytableURLCost, |
leothedragon | 0:8f0bb79ddd48 | 48 | .GetManifestDefault = ARM_UCS_LWM2M_SOURCE_GetManifestDefault, |
leothedragon | 0:8f0bb79ddd48 | 49 | .GetManifestURL = ARM_UCS_LWM2M_SOURCE_GetManifestURL, |
leothedragon | 0:8f0bb79ddd48 | 50 | .GetFirmwareFragment = ARM_UCS_LWM2M_SOURCE_GetFirmwareFragment, |
leothedragon | 0:8f0bb79ddd48 | 51 | .GetKeytableURL = ARM_UCS_LWM2M_SOURCE_GetKeytableURL |
leothedragon | 0:8f0bb79ddd48 | 52 | }; |