Arduino Controller android app

hello Marque,

I worked a little bit with my adapted Sketch. I will attach the new Sketch to this post. The new Errorlog is this:

ARDUINO_CONTROLLER.ino: In function 'void checkclient()':
ARDUINO_CONTROLLER:141: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:142: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:143: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:144: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:145: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:146: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:147: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER:158: error: cannot convert 'RedFlyClient' to 'RedFlyClient ()()' for argument '2' to 'void action(int, RedFlyClient ()())'
ARDUINO_CONTROLLER.ino: In function 'void action(int, RedFlyClient ()())':
ARDUINO_CONTROLLER:180: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:181: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient ()()'
ARDUINO_CONTROLLER:186: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:187: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient ()()'
ARDUINO_CONTROLLER:192: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:193: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient ()()'
ARDUINO_CONTROLLER:198: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:199: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient ()()'
ARDUINO_CONTROLLER:204: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:205: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient ()()'
ARDUINO_CONTROLLER:210: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:211: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient ()()'
ARDUINO_CONTROLLER:216: error: request for member 'print' in 'client', which is of non-class type 'RedFlyClient (
)()'
ARDUINO_CONTROLLER:217: error: request for member 'println' in 'client', which is of non-class type 'RedFlyClient (*)()'