![](https://csdnimg.cn/release/download_crawler_static/10038309/bg14.jpg)
OMA-TS-LightweightM2M-V1_0-20170208-A Page 20 (138)
2017 Open Mobile Alliance All Rights Reserved.
Used with the permission of the Open Mobile Alliance under the terms as stated in this document. [OMA-Template-Spec-20170101-I]
5.2.1 LwM2M Bootstrap-Server
The LwM2M Bootstrap-Server is used to provision the LwM2M Client with the information required to contact the LwM2M
Server(s).
In order for the LwM2M Client and the LwM2M Bootstrap-Server to establish a connection on the Bootstrap Interface, either
in Client Initiated Bootstrap mode or in Server Initiated Bootstrap mode, the LwM2M Client MUST have a LwM2M
Bootstrap-Server Account pre-provisioned in it.
5.2.2 Bootstrap Information
This section specifies the information that needs to be configured in LwM2M Client for connecting to the LwM2M Server(s)
or the LwM2M Bootstrap-Server. This Bootstrap Information can be available before performing the Bootstrap Sequence
described in Section 5.2.4 or obtained as a result of the Bootstrap Sequence.
Bootstrap Information can be categorized into two types:
LwM2M Server Bootstrap Information
LwM2M Bootstrap-Server Bootstrap Information
The LwM2M Client MUST have the LwM2M Server Bootstrap Information after the Bootstrap Sequence specified in
Section 5.2.4.
The LwM2M Client SHOULD have the LwM2M Bootstrap-Server Bootstrap Information.
The LwM2M Server Bootstrap Information is used by the LwM2M Client to register and connect to the LwM2M Server.
The LwM2M Server Bootstrap Information MUST contain at least a LwM2M Server Account.
Note that according to the LwM2M Server Account definition, a usual LwM2M Server Account is composed of a Security
Object Instance and a Server Object Instance which are paired by sharing (respectively in Resource 10 and Resource 0 of that
Objects) the same Short Server ID; a Short Server ID being unique in the LwM2M Client.
The LwM2M Server Bootstrap Information MAY additionally contain further Object Instances (e.g., Access Control,
Connectivity Monitoring Object).
The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s).
The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account.
The LwM2M Bootstrap-Server Bootstrap Information is used by the LwM2M Client to contact the LwM2M Bootstrap-
Server to get the LwM2M Server Bootstrap Information.
The LwM2M Bootstrap-Server Bootstrap Information MUST be a LwM2M Bootstrap-Server Account.
Bootstrap Information Type
The LwM2M Server Bootstrap
Information
Additional Object Instances (e.g.,
Access Control, Connectivity
Monitoring Object)
The LwM2M Bootstrap-Server
Bootstrap Information
LwM2M Bootstrap-Server Account
(Security Object instance)
Table 5: Bootstrap Information List
*the LwM2M Client MUST have at least one LwM2M Server Account after completion of Bootstrap Sequence specified in
5.2.4.
Please note that the LwM2M Client MUST accept Bootstrap Information sent via Bootstrap Interface without applying
access control as specified in Section 7.3.2 Authorization.
5.2.3 Bootstrap Modes
This section of the specification provides description and further information for each of the following Bootstrap Modes:
Factory Bootstrap