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
How to send a file from wearable to phone over BT
Hi developers!
I have a simple audio recorder applicaiton, and when i stop the recording, I wish to imidietely send the recorded file over BT to my phone.
However I am missing something, and I don’t know what.
It’s based on sample native ui applicaiton and here is what I’ve done so far:
in
i setup the following callbacks:
then in my bonded_device_cb() i read the remote_address and service_uuid
to later use it back in _app_resume_cb() in order to use bt_socket_connect_rfcomm():
so the connection error_code is successful, and in my socket_connection_state_changed_cb() i read the socket_fd:
to then use in sending data using bt_socket_send_data(). I send the data after pressing the stop record button:
and in the logs i can see the file name and size printed correctly.
some logs printouts:
On the phone I never get request to “receive a file”, unless it’s done “silently”? in which i doubt highly. I tried to search for the file manually but to no avail.
Please tell me what am I missing!
Best regards,
Adam
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio