6.4 Registration procedure

A oneM2M entity (AE or CSE) not yet registered to its registrar CSE needs to be preconfigured with various parameters as specified in oneM2M TS-0001 [2] and oneM2M TS-0003 [4] in order to be able to send the registration request primitive (i.e. create <AE> or create <remoteCSE> request primitive). To establish a WebSocket connection, the WebSocket client shall be configured with an applicable point of access of its registrar CSE which includes FQDN or IP address and the port number.

After the Registration procedure has been successfully completed, the WebSocket Server (e.g. Registrar CSE for WebSocket Client) shall enable routing of any incoming oneM2M primitives to this registree.

Before the Registration procedure is successfully completed, any incoming oneM2M primitives to the WebClient shall be rejected by the Receiver (e.g. registrar CSE).

Closing of the WebSocket connection after registration does not impact the registration status of an AE or CSE to its registrar, unless an explicit de-registration procedure is performed by deletion of the respective <AE> or <remoteCSE> resource instance.