The code is three part. there is a folder named code.
The first one is Finalclient.c, the second one is Fianlserver.c the last one is the Finalkernel.c.
To illustrate my code well, I slightly change my code. and I put the data (TEST.TXT)of the accelerometer into the txt file.
You may need to change the file path in order to test the code. If checking my code is needed, please feel free to check and run. Thank you!

The first code is client part. It recieves data from the arduino.
The second part is server part.It stores data to the fair com.
the last part is the kernel part. It does the alert system.

