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