@@ -55,33 +55,33 @@ class CellularSIM {
55
55
*
56
56
* @param sim_pin PIN for the SIM card
57
57
* @return NSAPI_ERROR_OK on success
58
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
58
+ * NSAPI_ERROR_DEVICE_ERROR on failure
59
59
*/
60
60
virtual nsapi_error_t set_pin (const char *sim_pin) = 0;
61
61
62
- /* * Change sim pin code.
62
+ /* * Change SIM pin code.
63
63
*
64
- * @param sim_pin Current PIN for sim
65
- * @param new_pin New PIN for sim
64
+ * @param sim_pin Current PIN for SIM
65
+ * @param new_pin New PIN for SIM
66
66
* @return NSAPI_ERROR_OK on success
67
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
67
+ * NSAPI_ERROR_DEVICE_ERROR on failure
68
68
*/
69
69
virtual nsapi_error_t change_pin (const char *sim_pin, const char *new_pin) = 0;
70
70
71
71
/* * Change is pin query needed after boot
72
72
*
73
73
* @param sim_pin Valid PIN for SIM card
74
- * @param query_pin False is PIN query not needed, True if PIN query needed after boot.
74
+ * @param query_pin False if PIN query not needed, True if PIN query needed after boot.
75
75
* @return NSAPI_ERROR_OK on success
76
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
76
+ * NSAPI_ERROR_DEVICE_ERROR on failure
77
77
*/
78
78
virtual nsapi_error_t set_pin_query (const char *sim_pin, bool query_pin) = 0;
79
79
80
- /* * Get sim card's state
80
+ /* * Get SIM card's state
81
81
*
82
82
* @param state current state of SIM
83
83
* @return NSAPI_ERROR_OK on success
84
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
84
+ * NSAPI_ERROR_DEVICE_ERROR on failure
85
85
*/
86
86
virtual nsapi_error_t get_sim_state (SimState &state) = 0;
87
87
@@ -91,7 +91,7 @@ class CellularSIM {
91
91
* @param imsi preallocated char* which after successful request contains imsi
92
92
* @return NSAPI_ERROR_OK on success
93
93
* NSAPI_ERROR_PARAMETER if imsi if null
94
- * NSAPI_ERROR_DEVICE_ERROR on case of other failures
94
+ * NSAPI_ERROR_DEVICE_ERROR on other failures
95
95
*/
96
96
virtual nsapi_error_t get_imsi (char *imsi) = 0;
97
97
@@ -100,7 +100,7 @@ class CellularSIM {
100
100
* @param buf SIM ICCID as zero terminated string
101
101
* @param buf_size max length of SIM ICCID is MAX_ICCID_LENGTH
102
102
* @return NSAPI_ERROR_OK on success
103
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
103
+ * NSAPI_ERROR_DEVICE_ERROR on failure
104
104
*/
105
105
virtual nsapi_error_t get_iccid (char *buf, size_t buf_size) = 0;
106
106
};
0 commit comments