1 /* 2 * Copyright 2018 Oticon A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef BS_MODEM_MAGIC_ARGS_H 7 #define BS_MODEM_MAGIC_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 uint32_t BER; 18 uint32_t nbr_devices; 19 } mo_magic_args_t; 20 21 void modem_magic_argparse(int argc, char *argv[], uint dev_nbr, mo_magic_args_t *args); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif 28