149 |
|
|
150 |
pdu.append("\032"); // \032 == Ctrl+Z |
pdu.append("\032"); // \032 == Ctrl+Z |
151 |
Command( pdu ); |
Command( pdu ); |
152 |
Util::Sleep( 50 ); |
Util::Sleep( 5000 ); |
153 |
Common::instance()->smsCounter.outgoing++; |
Common::instance()->smsCounter.outgoing++; |
154 |
} |
} |
155 |
|
|
200 |
|
|
201 |
void ModemTransceiver::HandlePincode() |
void ModemTransceiver::HandlePincode() |
202 |
{ |
{ |
203 |
string pin = Common::instance()->GetConfigfile()->GetValue("gsmmodem","pin"); |
string pin = Common::instance()->GetConfigfile()->GetValue("gsmmodem","pin",""); |
204 |
|
|
205 |
string result = Command("AT+CPIN?"); |
string result = Command("AT+CPIN?"); |
206 |
result = Util::str_trim(result); |
result = Util::str_trim(result); |