1 /* 2 * Copyright (c) 2017 Oticon A/S 3 * Copyright (c) 2023 Nordic Semiconductor ASA 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 #ifndef BOARDS_POSIX_BSIM_COMMON_BSIM_ARGS_RUNNER_H 8 #define BOARDS_POSIX_BSIM_COMMON_BSIM_ARGS_RUNNER_H 9 10 #include <stdint.h> 11 #include "bs_cmd_line.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 void bs_add_extra_dynargs(bs_args_struct_t *args_struct_toadd); 18 19 char *bsim_args_get_simid(void); 20 char *bsim_args_get_2G4_phy_id(void); 21 unsigned int bsim_args_get_global_device_nbr(void); 22 unsigned int bsim_args_get_2G4_device_nbr(void); 23 24 /* Will be deprecated in favor of bsim_args_get_simid() */ 25 char *get_simid(void); 26 /* Will be deprecated in favor of bsim_args_get_global_device_nbr() */ 27 unsigned int get_device_nbr(void); 28 29 #ifdef __cplusplus 30 } 31 #endif 32 33 #endif /* BOARDS_POSIX_BSIM_COMMON_BSIM_ARGS_RUNNER_H */ 34