smsg/lib/GG-SmsControl.js
function ResponseCB (response) {
        console.log ("### Single SMS CallBack --> Status=%j", response);

        if (response.status === 0) {
            var batch = require('../sample/SmsCommand-batch');
            smscontrol.ProcessBatch (BatchCB, phonenumber, password, batch);
        }

        if (response.status < 0) {
              console.log ("Single SMS Test Fail");
              setTimeout (process.exit, 1000);
        }
    }
function ResponseCB (response) {
        console.log ("### Single SMS CallBack --> Status=%j", response);

        if (response.status === 0) {
            var batch = require('../sample/SmsCommand-batch');
            smscontrol.ProcessBatch (BatchCB, phonenumber, password, batch);
        }

        if (response.status < 0) {
              console.log ("Single SMS Test Fail");
              setTimeout (process.exit, 1000);
        }
    }
function ResponseCB ( response ) { console . log ( "### Single SMS CallBack --> Status=%j" , response ) ; if ( response . status === 0 ) { var batch = require ( '../sample/SmsCommand-batch' ) ; smscontrol . ProcessBatch ( BatchCB , phonenumber , password , batch ) ; } if ( response . status < 0 ) { console . log ( "Single SMS Test Fail" ) ; setTimeout ( process . exit , 1000 ) ; } }
application callback for acknowledgement
application callback for acknowledgement