/* Callback indicating the status of a listen() operation  */
void btgattc_listen_callback(int status, int server_if)
/* Callback indicating the status of a listen() operation  */
void btgattc_listen_callback(int status, int server_if)
{
    int index = -1;
    TLS_BT_APPL_TRACE_VERBOSE("%s, server_if=%d\r\n", __FUNCTION__, server_if);
    index = get_app_env_index_by_client_if(server_if);
	if(index<0)
	{
		TLS_BT_APPL_TRACE_ERROR("%s, status=%d, server_if=%d\r\n", __FUNCTION__, status, server_if);
		return;
	}
    TLS_HAL_CBACK(app_env[index].ps_callbak, listen_cb, status, server_if);
}