1 /*
2  * Copyright 2018 Oticon A/S
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef M_BLE_SIMPLE_ARGS_H
7 #define M_BLE_SIMPLE_ARGS_H
8 
9 #include "bs_types.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef struct{
16   uint32_t Sync_prob;
17 
18   double NFigure_ana; //Noise figure
19   double NFigure_extra; //Extra noise figure before the digital demodulation
20   double NFloor_dig; //Noise floor seen in the digital demodulation
21 
22   double RSSI_offsetdB_std;    //std deviation of the residual offset (for all channels) in this device RSSI measurements
23   double RSSI_meas_noisedB_std;//std deviation of the RSSI mesaurement error
24 } mo_simple_args_t;
25 
26 void modem_simple_argparse(int argc, char *argv[], uint d, mo_simple_args_t *args);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif
33