"application/json"
Content-Type
header send altogether. The reply (response body) is also a JSON encoded object. The missing Content-Type
header will fail the API call.my.ence.do
. This domain is a default domain for Encedo PPA and is used here as a reference. After personalization, the device might be available under custom domains, as regards user preferences.my.ence.do
resolve to the IP address 192.168.7.1
. *.e400123-a1.cloud.ence.do
for node A1, the Encedo HEM (chips) are accessible under domains c1.e400123-a1.cloud.ence.do
to c10.e400123-a1.cloud.ence.do
. For node B2 it will be e.g. c1.e400123-b2.cloud.ence.do
. ts
returned) as it is required by authentication. Also, note the value of the fls_state
object; any non-zero value means the Encedo HEM is in a failed state. Check the reason for the failure here. check
-> checked
) is anonymous from the backend point of view. instanceid
value uniquely identifying every instance of Encedo HEM (instanceid
is generated as a result of personalization).check
check-in challenge string (after decoded):init
structure formatecdh
indicating the JWT hash secret is a result of the ECDH algorithm, here x25519
(curve25519);iss
(issuer or sender) and the aud
(audience or receiver) objectsalg
(here HS256
a'ka SHA256) where the secret is a result of ECDH(iss_privatekey, aud)
(issuer private is confidential, in the body public key part is sent, the aud
is just a public key part - receiver can be validated, if she is a legitimated receivercfg
object are common with the Configuration endpoint (the same names, meanings, and allowed values);masterkey
object, like the userkey
object is an Administrator public key (curve25519),jti
, aud
, exp
are the same and were returned by Phase1 of the Initialization process (spk
=> aud
);iss
object is a duplication of the masterkey
object (a requirement of the implemented modified version of JWT as commented above);aud
(public key) and the masterkey
private key.LOG_TYPE_KEY_INIT (0)
LOG_TYPE_STARTUP (1)
LOG_TYPE_REBOOT (2)
LOG_TYPE_SHUTDOWN (3)
LOG_TYPE_UPGRADE (4)
LOG_TYPE_TRNG_FAILED (5)
LOG_TYPE_TLS_ERROR (6)
LOG_TYPE_SELFTEST_PASSED (7)
LOG_TYPE_NON_SECURE_STATE (8)
LOG_TYPE_LOGGER_LIST_LOG (9)
LOG_TYPE_LOGGER_DELETE_LOG (10)
LOG_TYPE_LOGGER_READ_LOG (11)
LOG_TYPE_FAILED_SCOPE_CHECK (12)
scope
check failed.LOG_TYPE_AUTH_SUCCESS_INTERNAL (13)
LOG_TYPE_AUTH_SUCCESS_EXTERNAL (14)
LOG_TYPE_AUTH_PAIRED_EXTERNAL (15)
LOG_TYPE_CONFIG_UPDATED (18)
LOG_TYPE_RTC_SET (19)
LOG_TYPE_KEY_GENERATION (20)
LOG_TYPE_KEY_DELETE (21)
LOG_RESULT_OK (0)
LOG_RESULT_FAILED (1)
LOG_RESULT_ERROR (2)
200
201
202
400
401
403
404
406
409
411
Content-Length
header.412
413
418
500