zephyr/subsys/bluetooth/controller/include/ll_settings.h

26 lines
484 B
C
Raw Normal View History

/*
* Copyright (c) 2019 Oticon A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
#if defined(CONFIG_BT_CTLR_VERSION_SETTINGS)
u16_t ll_settings_company_id(void);
u16_t ll_settings_subversion_number(void);
#else
static inline u16_t ll_settings_company_id(void)
{
return CONFIG_BT_CTLR_COMPANY_ID;
}
static inline u16_t ll_settings_subversion_number(void)
{
return CONFIG_BT_CTLR_SUBVERSION_NUMBER;
}
#endif /* CONFIG_BT_CTLR_VERSION_SETTINGS */
bool ll_settings_smi_tx(void);