Set Lin Slave Response

Sets the slave response with the given data.

Arguments Description

channel_name (str): The Lin channel name.

nad (int): NAD master request Node Address

sid (int): SID

data (list[int], optional): data of response. Defaults to None.

nrc (int, optional): type of response indicator; positive = 0| negative = 1. Defaults to 0.

Returns

bool: True if the slave response has been set.

Examples

${request_data_1}= Create List ${0x01} ${0x02} ${0x03} ${0x04 ${0x05} ${0x06}
${request_data_2}= Create List ${0x06} ${0x07} ${0x08} ${0x09}
${request_data}= Create List ${request_data_1} ${request_data_2}
${response_data_1}= Create List ${0x41} ${0xA} ${0x10} ${0x7D} ${0xAB} ${0xBF}
${response_data_2}= Create List ${0x46} ${0x10} ${0x10} ${0x10}
${response_data}= Create List ${response_data_1} ${response_data_2}
Set Slave Response Data ${channel_name} ${0x01} ${0x02} ${request_data} ${response_data}