Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
socket_connection_state_changed not work in multithread
Hello.
I register callback function like below.
bt_socket_set_connection_state_changed_cb(socket_connection_state_changed, NULL);
Arleady I test my bluetooth functions and work well with single thread data transfer.
But when I start multithread, socket_connection_state_changed don’t work as should do.
For example, I call bt_socket_connect_rfcomm() in two thread almost simutanously. remote_address is same but uuid is different.
Remote device is accepting two different uuid matched tizen uuid.
socket_connection_state_changed is called twice and work well at one call. It can receive client_socket and can do data transfer.
But other call show BT_ERROR_NOW_IN_PROGRESS error in parameter result.
What is mean this error and how can I take care multithread works in this situation?
I can see BT_ERROR_NOW_IN_PROGRESS error in other tizen API sometimes. But there are no reference what to do in this case.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio