Currently I am working with a serial communication between compex board and sensor nodes. I am able to send some data from sensor nodes to compex board. But is it possible to send some command from compex board so that the sensor nodes able to do particular task?

For example: If i type "ABC" command at compex board, the sensor node will sleep for 10 seconds.

Thank you