Searched refs:BT_OTS_OBJ_ID_MIN (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/ |
D | ots_obj_manager.c | 40 return id - BT_OTS_OBJ_ID_MIN + 1; in obj_id_to_index() 43 return id - BT_OTS_OBJ_ID_MIN; in obj_id_to_index() 53 return BT_OTS_OBJ_ID_MIN + index - 1; in obj_index_to_id() 56 return BT_OTS_OBJ_ID_MIN + index; in obj_index_to_id()
|
D | ots_internal.h | 19 #define BT_OTS_VALID_OBJ_ID(id) (IN_RANGE((id), BT_OTS_OBJ_ID_MIN, BT_OTS_OBJ_ID_MAX) || \
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | mcs_internal.h | 20 #define BT_MCS_VALID_OBJ_ID(id) (IN_RANGE((id), BT_OTS_OBJ_ID_MIN, BT_OTS_OBJ_ID_MAX))
|
/Zephyr-Core-3.5.0/samples/bluetooth/peripheral_ots/src/ |
D | main.c | 46 #define OTS_OBJ_ID_TO_OBJ_IDX(id) (((id) - BT_OTS_OBJ_ID_MIN) % ARRAY_SIZE(objects)) 96 index = id - BT_OTS_OBJ_ID_MIN; in ots_obj_created()
|
/Zephyr-Core-3.5.0/samples/bluetooth/central_otc/src/ |
D | main.c | 113 err = bt_ots_client_select_id(&otc, default_conn, BT_OTS_OBJ_ID_MIN); in otc_btn_work_fn() 567 (void)bt_ots_client_select_id(&otc, default_conn, BT_OTS_OBJ_ID_MIN); in on_obj_selected()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/ |
D | mcc_test.c | 577 invalid_id = BT_OTS_OBJ_ID_MIN - 1; in test_select_obj_id() 1799 invalid_id = BT_OTS_OBJ_ID_MIN - 1; in test_set_current_track_obj_id() 1916 invalid_id = BT_OTS_OBJ_ID_MIN - 1; in test_set_next_track_obj_id() 2079 invalid_id = BT_OTS_OBJ_ID_MIN - 1; in test_set_current_group_obj_id()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/ |
D | mcc.c | 839 if (!IN_RANGE(id, BT_OTS_OBJ_ID_MIN, BT_OTS_OBJ_ID_MAX)) { in cmd_mcc_set_current_track_obj_id() 877 if (!IN_RANGE(id, BT_OTS_OBJ_ID_MIN, BT_OTS_OBJ_ID_MAX)) { in cmd_mcc_set_next_track_obj_id() 927 if (!IN_RANGE(id, BT_OTS_OBJ_ID_MIN, BT_OTS_OBJ_ID_MAX)) { in cmd_mcc_set_current_group_obj_id() 1700 if (!IN_RANGE(id, BT_OTS_OBJ_ID_MIN, BT_OTS_OBJ_ID_MAX)) { in cmd_mcc_otc_select()
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/services/ |
D | ots.h | 40 #define BT_OTS_OBJ_ID_MIN 0x000000000100ULL macro
|