add GPIO command
update test structure
add PTTM command
remove incorrect comments and unused header file