@@ -104,9 +104,8 @@ class CellularDevice {
104
104
/* * Start the interface
105
105
*
106
106
* Power on the device and does the initializations for communication with the modem..
107
- * By default this API is synchronous. API can be set to asynchronous with method set_blocking(...).
108
- * In synchronous and asynchronous mode application can get result in from callback which is set with
109
- * attach(...)
107
+ * API is asynchronous. Application can get results from CellularContext callback which is set
108
+ * with attach(...) or callback which is set by attach(...) in this class.
110
109
*
111
110
* @return NSAPI_ERROR_OK on success
112
111
* NSAPI_ERROR_NO_MEMORY on case of memory failure
@@ -116,9 +115,8 @@ class CellularDevice {
116
115
/* * Start the interface
117
116
*
118
117
* Attempts to open the sim.
119
- * By default this API is synchronous. API can be set to asynchronous with method set_blocking(...).
120
- * In synchronous and asynchronous mode application can get result in from callback which is set with
121
- * attach(...)
118
+ * API is asynchronous. Application can get results from CellularContext callback which is set
119
+ * with attach(...) or callback which is set by attach(...) in this class.
122
120
*
123
121
* @return NSAPI_ERROR_OK on success
124
122
* NSAPI_ERROR_NO_MEMORY on case of memory failure
@@ -128,9 +126,8 @@ class CellularDevice {
128
126
/* * Start the interface
129
127
*
130
128
* Attempts to register the device to cellular network.
131
- * By default this API is synchronous. API can be set to asynchronous with method set_blocking(...).
132
- * In synchronous and asynchronous mode application can get result in from callback which is set with
133
- * attach(...)
129
+ * API is asynchronous. Application can get results from CellularContext callback which is set
130
+ * with attach(...) or callback which is set by attach(...) in this class.
134
131
*
135
132
* @return NSAPI_ERROR_OK on success
136
133
* NSAPI_ERROR_NO_MEMORY on case of memory failure
@@ -140,9 +137,8 @@ class CellularDevice {
140
137
/* * Start the interface
141
138
*
142
139
* Attempts to attach the device to cellular network.
143
- * By default this API is synchronous. API can be set to asynchronous with method set_blocking(...).
144
- * In synchronous and asynchronous mode application can get result in from callback which is set with
145
- * attach(...)
140
+ * API is asynchronous. Application can get results from CellularContext callback which is set
141
+ * with attach(...) or callback which is set by attach(...) in this class.
146
142
*
147
143
* @return NSAPI_ERROR_OK on success
148
144
* NSAPI_ERROR_NO_MEMORY on case of memory failure
0 commit comments