@rickkas7, I am having a problem passing data to my handler. I passed in data=1 as follows. But when I do serial print I am getting undefined for data or after converting char to float I am getting 0.00 instead of 1.
Maybe printing out the received const char* data first will give you a clue why atof() may not be able to convert.
And it would also help us to see what your raw data looks like and where that issue might come from.
Notice the code highliting - the closing double quote is not interpreted as such.
And printing out const char* data and const char* event should have revealed this too.
With above statement the event name would probably be hello_event” -d