Go to the source code of this file.
Functions | |
l_u8 | ld_is_ready (l_ifc_handle iii) |
This call returns the status of the last requested configuration service. More... | |
void | ld_check_response (l_ifc_handle iii, l_u8 *const RSID, l_u8 *const error_code) |
This call returns the result of the last node configuration service, in the parameters RSID and error_code. A value in RSID is always returned but not always in the error_code. Default values for RSID and error_code is 0 (zero). More... | |
void | ld_assign_frame_id_range (l_ifc_handle iii, l_u8 NAD, l_u8 start_index, const l_u8 *const PIDs) |
This function assigns the protected identifier of up to four frames. More... | |
void | ld_save_configuration (l_ifc_handle iii, l_u8 NAD) |
This function to issue a save configuration request to a slave node. More... | |
l_u8 | ld_read_configuration (l_ifc_handle iii, l_u8 *const data, l_u8 *const length) |
This function copies current configuration in a reserved area. More... | |
l_u8 | ld_set_configuration (l_ifc_handle iii, const l_u8 *const data, l_u16 length) |
This function configures slave node according to data. More... | |
void | diag_read_data_by_identifier (l_ifc_handle iii, const l_u8 NAD, const l_u8 *const data) |
This function reads data by identifier, Diagnostic Class II service (0x22). More... | |
void | diag_write_data_by_identifier (l_ifc_handle iii, const l_u8 NAD, l_u16 data_length, const l_u8 *const data) |
Write Data by Identifier for a specified node - Diagnostic Class II service (0x2E) More... | |
void | diag_session_control (l_ifc_handle iii, const l_u8 NAD, l_u16 data_length, const l_u8 *const data) |
This function is used for master node only. It will pack data and send request to slave node with service ID = 0x10: Session control. More... | |
void | diag_fault_memory_read (l_ifc_handle iii, const l_u8 NAD, l_u16 data_length, const l_u8 *const data) |
This function is used for master node only. It will pack data and send request to slave node with service ID = 0x19: Fault memory read. More... | |
void | diag_fault_memory_clear (l_ifc_handle iii, const l_u8 NAD, l_u16 data_length, const l_u8 *const data) |
This function is used for master node only. It will pack data and send request to slave node with service ID = 0x14: Fault memory clear. More... | |
void | diag_IO_control (l_ifc_handle iii, const l_u8 NAD, l_u16 data_length, const l_u8 *const data) |
This function is used for master node only. It will pack data and send request to slave node with service ID = 0x2F: Input/Output control service. More... | |
void | ld_assign_NAD (l_ifc_handle iii, l_u8 initial_NAD, l_u16 supplier_id, l_u16 function_id, l_u8 new_NAD) |
This call assigns the NAD (node diagnostic address) of all slave nodes that matches the initial_NAD, the supplier ID and the function ID. Master node only. More... | |
void | ld_conditional_change_NAD (l_ifc_handle iii, l_u8 NAD, l_u8 id, l_u8 byte_data, l_u8 mask, l_u8 invert, l_u8 new_NAD) |
This call changes the NAD if the node properties fulfill the test specified by id, byte, mask and invert. Master node only. More... | |
void | ld_read_by_id (l_ifc_handle iii, l_u8 NAD, l_u16 supplier_id, l_u16 function_id, l_u8 id, lin_product_id_t *const data) |
The call requests the slave node selected with the NAD to return the property associated with the id parameter. Master node only. More... | |
l_u8 | diag_get_flag (l_ifc_handle iii, l_u8 flag_order) |
This function will return flag of diagnostic service, if LIN slave node receive master request of the diagnostic service. More... | |
void | diag_clear_flag (l_ifc_handle iii, l_u8 flag_order) |
This function will clear flag of diagnostic service,. More... | |
l_bool | ld_is_ready_j2602 (l_ifc_handle iii) |
Verifies a state of node setting (using for J2602 and LIN 2.0). More... | |
l_u8 | ld_check_response_j2602 (l_ifc_handle iii, l_u8 *const RSID, l_u8 *const error_code) |
Verifies the state of response (using for J2602 and LIN 2.0) Master node only. More... | |
void | ld_assign_frame_id (l_ifc_handle iii, l_u8 NAD, l_u16 supplier_id, l_u16 message_id, l_u8 PID) |
This function assigns the protected identifier to a slave node with the address NAD and specified supplier id (using for J2602 and LIN 2.0). Master node only. More... | |
l_bool | ld_assign_NAD_j2602 (l_ifc_handle iii, l_u8 dnn) |
This function assigns NAD of a J2602 slave device based on input DNN that is Device Node Number. NAD is (0x60+ DNN). More... | |
l_bool | ld_reconfig_msg_ID (l_ifc_handle iii, l_u8 dnn) |
This function reconfigures frame identifiers of a J2602 slave node based on input dnn. More... | |