Admittedly you have a mismatch on
match
.
Even the technical workaround
char * p = (char * ) match;
would be a mistake, because, on the Arduino side, there is no notion about the
Point
struct
).
Probably you have to send the value of the point coordinates (namely
match.x
,
match.y
) to the Arduino device. However the format you should use (e.g. binary or textual representation) depends on what is expected by the other side.