* Local Functions Definition
*****************************************************************************/
-int asp_tech_ble_init()
+gint32 asp_tech_ble_init()
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_deinit()
+gint32 asp_tech_ble_deinit()
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_advertise(asp_service_advertise_s *service, int replace)
+gint32 asp_tech_ble_advertise(asp_service_advertise_s *service, gint32 replace)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_cancel_advertise(asp_service_advertise_s *service)
+gint32 asp_tech_ble_cancel_advertise(asp_service_advertise_s *service)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_seek(asp_service_seek_s *service)
+gint32 asp_tech_ble_seek(asp_service_seek_s *service)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_cancel_seek(asp_service_seek_s *service)
+gint32 asp_tech_ble_cancel_seek(asp_service_seek_s *service)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_connect_session(asp_connect_session_params *params)
+gint32 asp_tech_ble_connect_session(asp_tech_session_request_params_s *params)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_confirm_session(unsigned char *session_mac, int session_id, int confirm, const char *pin)
+gint32 asp_tech_ble_confirm_session(const guint8 *session_mac, gint32 session_id, gint32 confirm, guint32 pin)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
}
-int asp_tech_ble_destroy_connection()
+gint32 asp_tech_ble_destroy_connection(const guint8 *peer_id, gint32 peer_id_length)
{
__ASP_LOG_FUNC_ENTER__;
- int result = 0;
+ gint32 result = 0;
+
+ __ASP_LOG_FUNC_EXIT__;
+ return result;
+}
+
+gint32 asp_tech_ble_is_peer_connected(const guint8 *peer_id, gint32 peer_id_length, gint32 *is_connected)
+{
+ __ASP_LOG_FUNC_ENTER__;
+ gint32 result = 0;
__ASP_LOG_FUNC_EXIT__;
return result;
.connect_session = asp_tech_ble_connect_session,
.confirm_session = asp_tech_ble_confirm_session,
.destroy_connection = asp_tech_ble_destroy_connection,
+ .is_peer_connected = asp_tech_ble_is_peer_connected,
+ .session_request_cb = NULL,
+ .session_request_cb_user_data = NULL,
+ .session_config_request_cb = NULL,
+ .connect_status_cb = NULL,
+ .connect_status_cb_user_data = NULL,
+ .ip_assigned_cb = NULL,
+ .ip_assigned_cb_user_data = NULL,
};