File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -242,10 +242,6 @@ typedef enum lora_events {
242
242
* 'link_check_resp' callback. The result is thus transported to the application
243
243
* via callback function provided.
244
244
*
245
- * As can be seen from declaration, mbed::Callback<void(uint8_t, uint8_t)> *link_check_resp)
246
- * carries two parameters. First one is Demodulation Margin and the second one
247
- * is number of gateways involved in the path to network server.
248
- *
249
245
* 'battery_level' callback goes in the down direction, i.e., it informs
250
246
* the stack about the battery level by calling a function provided
251
247
* by the upper layers.
@@ -257,11 +253,16 @@ typedef struct {
257
253
mbed ::Callback < void (lorawan_event_t )> events ;
258
254
259
255
/**
260
- * Optional
256
+ * This callback is optional
257
+ *
258
+ * The first parameter to the callback function is the demodulation margin, and the second
259
+ * parameter is the number of gateways that successfully received the last request.
261
260
*/
262
261
mbed ::Callback < void (uint8_t , uint8_t )> link_check_resp ;
263
262
264
263
/**
264
+ * This callback is optional. If the callback is not set, the stack returns 255 to gateway.
265
+ *
265
266
* Battery level return value must follow the specification
266
267
* for DevStatusAns MAC command:
267
268
*
You can’t perform that action at this time.
0 commit comments