change type spec, add new function send_ping_sms/3
add new function send_flash_sms/4
add some comments