Get Doip Server

Creates the Doip server instance.

Arguments Description

ip (str): The server ip address.

logical_address (str): The logical address that this DoIP client will use to identify itself.

protocol (str): The protocol name.

buffer_size (int, optional): buffer size. Defaults to 1024.

sock_opts (dict, optional): socket options to use. Defaults to None.

Returns

The Doip server will be created.

Examples

${socket_options}= Create Dictionary ${so_opt1} ${so_opt2}
${doip_server}= Get Doip Server ${ip} ${logical_address} ${protocol} ${60} ${socket_options}
# Update server attributes
${eid} Convert To Bytes ${value}
${doip_server.eid}= Set Variable ${eid}
${doip_server.positive_responding} Set Variable ${True}

Note

  • If the server was already created with the same IP address and port,the keyword will return the same instance.

  • After creating the Doip_server instance, you can update the following attributes:

    eid (bytes): EID of the Vehicle gid (bytes): GID of the Vehicle vin (bytes): VIN of the Vehicle respond_to_routing_request (bool) positive_responding (property)