Skip to content

Need some clarification in using EncodeCipReal #368

Closed Answered by MartinMelikMerkumians
rajspatel1297 asked this question in Q&A
Discussion options

You must be logged in to vote

You are providing a pointer to you EipUint8 pointer to the EncodeCipReal function, so its a pointer-pointer
Taking a look at the functions declaration void EncodeCipReal(const CipReal *const data, ENIPMessage *const outgoing_message), you can easily see that it needs a pointer to an CipReal variable, so a CipReal*, while you are providing a EipUint8**, which the compiler should warn you if you take a look at the messages

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MartinMelikMerkumians
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants