Home
last modified time | relevance | path

Searched refs:BT_OTS_OBJ_ID_MIN (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/
Dots_obj_manager.c40 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()
Dots_internal.h19 #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/
Dmcs_internal.h20 #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/
Dmain.c46 #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/
Dmain.c113 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/
Dmcc_test.c577 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/
Dmcc.c839 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/
Dots.h40 #define BT_OTS_OBJ_ID_MIN 0x000000000100ULL macro