3.2 Error Handling for Linux

If file discriptor value is “-1” it means we are not able to open the file, make sure that driver has been installed or not .

can_fd = JNMMCANOpen(&flag);

if(can_fd == -1)
{
	return 0;
}

Last updated