ESP-IDF
profile_tab
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
profile_tab
profile_tab variable
Syntax
Show:
Summary
Declaration
from
btc_task.c:100
static
const
btc_func_t
profile_tab
[
BTC_PID_NUM
]
=
{
#ifdef
CONFIG_BT_BLUEDROID_ENABLED
[
BTC_PID_MAIN_INIT
]
=
{
btc_main_call_handler
,
NULL
}
,
[
BTC_PID_DEV
]
=
{
btc_dev_call_handler
,
btc_dev_cb_handler
}
,
#if
(
GATTS_INCLUDED
==
TRUE
)
[
BTC_PID_GATTS
]
=
{
btc_gatts_call_handler
,
btc_gatts_cb_handler
}
,
#endif
#if
(
GATTC_INCLUDED
==
TRUE
)
[
BTC_PID_GATTC
]
=
{
btc_gattc_call_handler
,
btc_gattc_cb_handler
}
,
#endif
#if
(
GATTS_INCLUDED
==
TRUE
||
GATTC_INCLUDED
==
TRUE
)
[
BTC_PID_GATT_COMMON
]
=
{
btc_gatt_com_call_handler
,
NULL
}
,
#endif
#if
(
BLE_INCLUDED
==
TRUE
)
[
BTC_PID_GAP_BLE
]
=
{
btc_gap_ble_call_handler
,
btc_gap_ble_cb_handler
}
,
#else
[
BTC_PID_GAP_BLE
]
=
{
NULL
,
NULL
}
,
#endif
[
BTC_PID_BLE_HID
]
=
{
NULL
,
NULL
}
,
[
BTC_PID_SPPLIKE
]
=
{
NULL
,
NULL
}
,
[
BTC_PID_DM_SEC
]
=
{
NULL
,
btc_dm_sec_cb_handler
}
,
#endif
#if
(
BLUFI_INCLUDED
==
TRUE
)
[
BTC_PID_BLUFI
]
=
{
btc_blufi_call_handler
,
btc_blufi_cb_handler
}
,
#endif
[
BTC_PID_ALARM
]
=
{
btc_alarm_handler
,
NULL
}
,
#ifdef
CONFIG_BT_BLUEDROID_ENABLED
#if
CLASSIC_BT_INCLUDED
#if
(
BTC_GAP_BT_INCLUDED
==
TRUE
)
[
BTC_PID_GAP_BT
]
=
{
btc_gap_bt_call_handler
,
btc_gap_bt_cb_handler
}
,
#endif
[
BTC_PID_PRF_QUE
]
=
{
btc_profile_queue_handler
,
NULL
}
,
#if
BTC_AV_INCLUDED
[
BTC_PID_A2DP
]
=
{
btc_a2dp_call_handler
,
btc_a2dp_cb_handler
}
,
[
BTC_PID_AVRC_CT
]
=
{
btc_avrc_ct_call_handler
,
NULL
}
,
[
BTC_PID_AVRC_TG
]
=
{
btc_avrc_tg_call_handler
,
NULL
}
,
#endif
#if
(
BTC_SPP_INCLUDED
==
TRUE
)
[
BTC_PID_SPP
]
=
{
btc_spp_call_handler
,
btc_spp_cb_handler
}
,
#endif
#if
(
BTC_L2CAP_INCLUDED
==
TRUE
)
[
BTC_PID_L2CAP
]
=
{
btc_l2cap_call_handler
,
btc_l2cap_cb_handler
}
,
#endif
#if
(
BTC_SDP_COMMON_INCLUDED
==
TRUE
)
[
BTC_PID_SDP
]
=
{
btc_sdp_call_handler
,
btc_sdp_cb_handler
}
,
#endif
#if
BTC_HF_INCLUDED
[
BTC_PID_HF
]
=
{
btc_hf_call_handler
,
btc_hf_cb_handler
}
,
#endif
#if
BTC_HF_CLIENT_INCLUDED
[
BTC_PID_HF_CLIENT
]
=
{
btc_hf_client_call_handler
,
btc_hf_client_cb_handler
}
,
#endif
#if
BTC_HD_INCLUDED
[
BTC_PID_HD
]
=
{
btc_hd_call_handler
,
btc_hd_cb_handler
}
,
#endif
#if
BTC_HH_INCLUDED
[
BTC_PID_HH
]
=
{
btc_hh_call_handler
,
btc_hh_cb_handler
}
,
#endif
#endif
#endif
#if
CONFIG_BLE_MESH
[
BTC_PID_PROV
]
=
{
btc_ble_mesh_prov_call_handler
,
btc_ble_mesh_prov_cb_handler
}
,
[
BTC_PID_MODEL
]
=
{
btc_ble_mesh_model_call_handler
,
btc_ble_mesh_model_cb_handler
}
,
#if
CONFIG_BLE_MESH_HEALTH_CLI
[
BTC_PID_HEALTH_CLIENT
]
=
{
btc_ble_mesh_health_client_call_handler
,
btc_ble_mesh_health_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_HEALTH_SRV
[
BTC_PID_HEALTH_SERVER
]
=
{
btc_ble_mesh_health_server_call_handler
,
btc_ble_mesh_health_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_CFG_CLI
[
BTC_PID_CONFIG_CLIENT
]
=
{
btc_ble_mesh_config_client_call_handler
,
btc_ble_mesh_config_client_cb_handler
}
,
#endif
[
BTC_PID_CONFIG_SERVER
]
=
{
NULL
,
btc_ble_mesh_config_server_cb_handler
}
,
#if
CONFIG_BLE_MESH_AGG_CLI
[
BTC_PID_AGG_CLIENT
]
=
{
btc_ble_mesh_agg_client_call_handler
,
btc_ble_mesh_agg_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_AGG_SRV
[
BTC_PID_AGG_SERVER
]
=
{
NULL
,
btc_ble_mesh_agg_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_BRC_CLI
[
BTC_PID_BRC_CLIENT
]
=
{
btc_ble_mesh_brc_client_call_handler
,
btc_ble_mesh_brc_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_BRC_SRV
[
BTC_PID_BRC_SERVER
]
=
{
NULL
,
btc_ble_mesh_brc_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_DF_CLI
[
BTC_PID_DF_CLIENT
]
=
{
btc_ble_mesh_df_client_call_handler
,
btc_ble_mesh_df_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_DF_SRV
[
BTC_PID_DF_SERVER
]
=
{
NULL
,
btc_ble_mesh_df_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_LCD_CLI
[
BTC_PID_LCD_CLIENT
]
=
{
btc_ble_mesh_lcd_client_call_handler
,
btc_ble_mesh_lcd_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_LCD_SRV
[
BTC_PID_LCD_SERVER
]
=
{
NULL
,
btc_ble_mesh_lcd_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_ODP_CLI
[
BTC_PID_ODP_CLIENT
]
=
{
btc_ble_mesh_odp_client_call_handler
,
btc_ble_mesh_odp_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_ODP_SRV
[
BTC_PID_ODP_SERVER
]
=
{
NULL
,
btc_ble_mesh_odp_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_PRB_CLI
[
BTC_PID_PRB_CLIENT
]
=
{
btc_ble_mesh_prb_client_call_handler
,
btc_ble_mesh_prb_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_PRB_SRV
[
BTC_PID_PRB_SERVER
]
=
{
NULL
,
btc_ble_mesh_prb_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_RPR_CLI
[
BTC_PID_RPR_CLIENT
]
=
{
btc_ble_mesh_rpr_client_call_handler
,
btc_ble_mesh_rpr_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_RPR_SRV
[
BTC_PID_RPR_SERVER
]
=
{
NULL
,
btc_ble_mesh_rpr_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_SAR_CLI
[
BTC_PID_SAR_CLIENT
]
=
{
btc_ble_mesh_sar_client_call_handler
,
btc_ble_mesh_sar_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_SAR_SRV
[
BTC_PID_SAR_SERVER
]
=
{
NULL
,
btc_ble_mesh_sar_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_SRPL_CLI
[
BTC_PID_SRPL_CLIENT
]
=
{
btc_ble_mesh_srpl_client_call_handler
,
btc_ble_mesh_srpl_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_SRPL_SRV
[
BTC_PID_SRPL_SERVER
]
=
{
NULL
,
btc_ble_mesh_srpl_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_GENERIC_CLIENT
[
BTC_PID_GENERIC_CLIENT
]
=
{
btc_ble_mesh_generic_client_call_handler
,
btc_ble_mesh_generic_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_LIGHTING_CLIENT
[
BTC_PID_LIGHTING_CLIENT
]
=
{
btc_ble_mesh_lighting_client_call_handler
,
btc_ble_mesh_lighting_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_SENSOR_CLI
[
BTC_PID_SENSOR_CLIENT
]
=
{
btc_ble_mesh_sensor_client_call_handler
,
btc_ble_mesh_sensor_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_TIME_SCENE_CLIENT
[
BTC_PID_TIME_SCENE_CLIENT
]
=
{
btc_ble_mesh_time_scene_client_call_handler
,
btc_ble_mesh_time_scene_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_GENERIC_SERVER
[
BTC_PID_GENERIC_SERVER
]
=
{
NULL
,
btc_ble_mesh_generic_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_LIGHTING_SERVER
[
BTC_PID_LIGHTING_SERVER
]
=
{
NULL
,
btc_ble_mesh_lighting_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_SENSOR_SERVER
[
BTC_PID_SENSOR_SERVER
]
=
{
NULL
,
btc_ble_mesh_sensor_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_TIME_SCENE_SERVER
[
BTC_PID_TIME_SCENE_SERVER
]
=
{
NULL
,
btc_ble_mesh_time_scene_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_MBT_CLI
[
BTC_PID_MBT_CLIENT
]
=
{
btc_ble_mesh_mbt_client_call_handler
,
btc_ble_mesh_mbt_client_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_MBT_SRV
[
BTC_PID_MBT_SERVER
]
=
{
btc_ble_mesh_mbt_server_call_handler
,
btc_ble_mesh_mbt_server_cb_handler
}
,
#endif
#if
CONFIG_BLE_MESH_BLE_COEX_SUPPORT
[
BTC_PID_BLE_MESH_BLE_COEX
]
=
{
btc_ble_mesh_ble_call_handler
,
btc_ble_mesh_ble_cb_handler
}
,
#endif
#endif
}
;
Examples
References
from
examples
Code
Location
Referrer
static
const
btc_func_t
profile_tab
[
BTC_PID_NUM
]
=
{
btc_task.c:100
profile_tab
[
msg
->
pid
]
.
btc_call
(
msg
)
;
btc_task.c:276
btc_thread_handler()
profile_tab
[
msg
->
pid
]
.
btc_cb
(
msg
)
;
btc_task.c:279
btc_thread_handler()
profile_tab
[
msg
->
pid
]
.
btc_call
(
msg
)
;
btc_task.c:360
btc_inter_profile_call()
profile_tab
[
msg
->
pid
]
.
btc_cb
(
msg
)
;
btc_task.c:363
btc_inter_profile_call()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
profile_tab
is read by 2 functions:
All items filtered out
profile_tab
btc_thread_handler()
btc_inter_profile_call()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out