I have a small JNI file with a native function that converts a char array to a byte array (So i can send it to my C++ client).
The definition is as followed:
<
the native method name should match the class full name: Java_com_example_communicationmoduleTCPIP_communicationmoduleTCPIP_ConvertString
Java_com_example_communicationmoduleTCPIP_communicationmoduleTCPIP_ConvertString