* @brief Adds a Null Address Item to the common data packet format data * @param common_data_packet_format_data The CPF data packet where the Null Address Item shall be added */
| 843 | * @param common_data_packet_format_data The CPF data packet where the Null Address Item shall be added |
| 844 | */ |
| 845 | void AddNullAddressItem( |
| 846 | CipCommonPacketFormatData *common_data_packet_format_data) { |
| 847 | /* Precondition: Null Address Item only valid in unconnected messages */ |
| 848 | assert( |
| 849 | common_data_packet_format_data->data_item.type_id |
| 850 | == kCipItemIdUnconnectedDataItem); |
| 851 | |
| 852 | common_data_packet_format_data->address_item.type_id = kCipItemIdNullAddress; |
| 853 | common_data_packet_format_data->address_item.length = 0; |
| 854 | } |
| 855 | |
| 856 | /* INT8 assembleFWDCloseResponse(UINT16 pa_ConnectionSerialNr, UINT16 pa_OriginatorVendorID, UINT32 pa_OriginatorSerialNr, S_CIP_MR_Request *pa_MRRequest, S_CIP_MR_Response *pa_MRResponse, S_CIP_CPF_Data *pa_CPF_data, INT8 pa_status, INT8 *pa_msg) |
| 857 | * create FWDClose response dependent on status. |
no outgoing calls
no test coverage detected