mirror of https://github.com/ARMmbed/mbed-os.git
Fixed doxygen warning.
parent
e8a26f3f54
commit
4a6bcc4a0a
|
@ -35,7 +35,7 @@
|
|||
#define TIMEOUT_REGISTRATION (180*1000)
|
||||
|
||||
namespace mbed {
|
||||
|
||||
|
||||
static events::EventQueue at_queue(8 * EVENTS_EVENT_SIZE);
|
||||
static CELLULAR_DEVICE cellularDevice(at_queue);
|
||||
|
||||
|
@ -93,7 +93,7 @@ bool CellularConnectionUtil::open_power(FileHandle *fh)
|
|||
|
||||
void CellularConnectionUtil::set_sim_pin(const char * sim_pin)
|
||||
{
|
||||
strncpy(_sim_pin, sim_pin, PIN_SIZE);
|
||||
strncpy(_sim_pin, sim_pin, PIN_SIZE+1);
|
||||
}
|
||||
|
||||
bool CellularConnectionUtil::open_sim()
|
||||
|
|
|
@ -583,18 +583,6 @@ nsapi_size_or_error_t AT_CellularSMS::set_cscs(const char *chr_set)
|
|||
return _at.unlock_return_error();
|
||||
}
|
||||
|
||||
//nsapi_error_t AT_CellularSMS::set_csms(int msg_service)
|
||||
//{
|
||||
// _at.lock();
|
||||
// _at.cmd_start("AT+CSMS=");
|
||||
// _at.write_int(msg_service);
|
||||
// _at.cmd_stop();
|
||||
// _at.resp_start();
|
||||
// _at.resp_stop();
|
||||
|
||||
// return _at.unlock_return_error();
|
||||
//}
|
||||
|
||||
nsapi_error_t AT_CellularSMS::delete_sms(sms_info_t* sms)
|
||||
{
|
||||
_at.lock();
|
||||
|
|
|
@ -158,17 +158,9 @@ private:
|
|||
*/
|
||||
nsapi_error_t set_cmgf(int msg_format);
|
||||
|
||||
// /** Select message service (AT+CSMS select message service)
|
||||
// *
|
||||
// * @param msg_service 0 or 1. See more from 3GPP TS 27.005
|
||||
// *
|
||||
// * @return zero for success
|
||||
// */
|
||||
// nsapi_error_t set_csms(int msg_service);
|
||||
|
||||
/* Set how receiving of new messages from the network is indicated to the TE.
|
||||
/** Set how receiving of new messages from the network is indicated to the TE.
|
||||
*
|
||||
* @return zero for success
|
||||
* @return zero for success
|
||||
*/
|
||||
nsapi_error_t set_cnmi();
|
||||
|
||||
|
|
Loading…
Reference in New Issue