Define ANJAY_MODULE_SIM_BOOTSTRAP_DATA_OID_OVERRIDE_HEX

Define Documentation

ANJAY_MODULE_SIM_BOOTSTRAP_DATA_OID_OVERRIDE_HEX

Overridden OID of the SIM bootstrap information to look for in the DODF file, expressed as a hexlified DER representation (without the header).

This is the hexlified expected value of the ‘id’ field within the ‘OidDO’ sequence in the DODF file (please refer to the PKCS #15 document for more information).

If not defined, the default value of "672b0901", which corresponds to OID 2.23.43.9.1 {joint-iso-itu-t(2) international-organizations(23) wap(43) oma-lwm2m(9) lwm2m-bootstrap(1)}, will be used.

No other values than the default are valid according to the specification, but some SIM cards are known to use other non-standard values, e.g. "0604672b0901" - including a superfluous nested BER-TLV header, as erroneously illustrated in the EF(DODF-bootstrap) file coding example in LwM2M TS 1.2 and earlier (fixed in LwM2M TS 1.2.1) - which is interpreted as OID 0.6.4.103.43.9.1 (note that it is invalid as the 0.6 tree does not exist in the repository as of writing this note).

Requires ANJAY_WITH_MODULE_BOOTSTRAPPER to be enabled. At most one of ANJAY_MODULE_SIM_BOOTSTRAP_HARDCODED_FILE_ID and ANJAY_MODULE_SIM_BOOTSTRAP_DATA_OID_OVERRIDE_HEX may be defined at the same time.

IMPORTANT: Only available with the bootstrapper feature. Ignored in the open source version.