does a call function library exist?

17 Nov 2012

Hi all! I am curious if a call function library exists for mbed? I would like to call a function from text that was sent via Serial. For example, I may have text sent like: {"cmd" : "someCmd"} to my mbed. The "someCmd" should consist of a function. In the past I have created a select to do that which worked well, but as my function list grew so did my case list. I've have been studying pointers and that seems like a good approach, but I believe that is out of my comfort zone until I dive deaper into the understanding of pointers. How easy as that achieve without a library? Also, my main question still is of importance.

-Rich