Convert rfsimulator C source code to C++ to access to STL.
Add common function config_common_getdefault