Are you saying that I can't use serialEvent1(), serialEvent2() and serialEvent3() in a library in the same way that I use it in a sketch?
What he's saying is you better stick
Uart_WIFI:: in front of
serialEvent1() in the function definition.
You might need to include <arduino.h> in your source file since you're using arduino's serial events.