add getcmd_demo.c and st_dev_demo.c