lwm2m_coap: DTLS Cid Length - thongsboard3
This commit is contained in:
		
							parent
							
								
									1a79aadac4
								
							
						
					
					
						commit
						a71f723e5e
					
				@ -155,6 +155,17 @@ transport:
 | 
			
		||||
      # CoAP DTLS bind port
 | 
			
		||||
      bind_port: "${COAP_DTLS_BIND_PORT:5684}"
 | 
			
		||||
      # Server DTLS credentials
 | 
			
		||||
        # Server DTLS credentials
 | 
			
		||||
        # CoAP DTLS connection ID length. RFC 9146, Connection Identifier for DTLS 1.2
 | 
			
		||||
        # Default: off
 | 
			
		||||
        # Control usage of DTLS connection ID length (CID).
 | 
			
		||||
        # - 'off' to deactivate it.
 | 
			
		||||
        # - 'on' to activate Connection ID support (same as CID 0 or more 0).
 | 
			
		||||
        # - A positive value defines generated CID size in bytes.
 | 
			
		||||
        # - A value of 0 means we accept using CID but will not generate one for foreign peer (enables support but not for incoming traffic).
 | 
			
		||||
        # - A value between 0 and <= 4: SingleNodeConnectionIdGenerator is used
 | 
			
		||||
      # - A value that are > 4: MultiNodeConnectionIdGenerator is used
 | 
			
		||||
      connection_id_length: "${COAP_DTLS_CONNECTION_ID_LENGTH:}"
 | 
			
		||||
      credentials:
 | 
			
		||||
        # Server credentials type (PEM - pem certificate file; KEYSTORE - java keystore)
 | 
			
		||||
        type:  "${COAP_DTLS_CREDENTIALS_TYPE:PEM}"
 | 
			
		||||
 | 
			
		||||
@ -166,6 +166,16 @@ transport:
 | 
			
		||||
    dtls:
 | 
			
		||||
      # RFC7925_RETRANSMISSION_TIMEOUT_IN_MILLISECONDS = 9000
 | 
			
		||||
      retransmission_timeout: "${LWM2M_DTLS_RETRANSMISSION_TIMEOUT_MS:9000}"
 | 
			
		||||
        # CoAP DTLS connection ID length for LWM2M. RFC 9146, Connection Identifier for DTLS 1.2
 | 
			
		||||
        # Default: off
 | 
			
		||||
        # Control usage of DTLS connection ID length (CID).
 | 
			
		||||
        # - 'off' to deactivate it.
 | 
			
		||||
        # - 'on' to activate Connection ID support (same as CID 0 or more 0).
 | 
			
		||||
        # - A positive value defines generated CID size in bytes.
 | 
			
		||||
        # - A value of 0 means we accept using CID but will not generate one for foreign peer (enables support but not for incoming traffic).
 | 
			
		||||
        # - A value between 0 and <= 4: SingleNodeConnectionIdGenerator is used
 | 
			
		||||
        # - A value that are > 4: MultiNodeConnectionIdGenerator is used
 | 
			
		||||
      connection_id_length: "${LWM2M_DTLS_CONNECTION_ID_LENGTH:}"
 | 
			
		||||
    server:
 | 
			
		||||
      # LwM2M Server ID
 | 
			
		||||
      id: "${LWM2M_SERVER_ID:123}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user