Send and recieve files via bluetoothctl on Debian jessie












5














I have already successfully paired and connected to my smartphone device. Now when i send files from my phone to my Laptop the files will not be sended. How can i send and recieve files using bluetoothctl on Debian 8.7?
Can any one give me some source for reading, i can't find much about bluetoothctl on internet.










share|improve this question



























    5














    I have already successfully paired and connected to my smartphone device. Now when i send files from my phone to my Laptop the files will not be sended. How can i send and recieve files using bluetoothctl on Debian 8.7?
    Can any one give me some source for reading, i can't find much about bluetoothctl on internet.










    share|improve this question

























      5












      5








      5







      I have already successfully paired and connected to my smartphone device. Now when i send files from my phone to my Laptop the files will not be sended. How can i send and recieve files using bluetoothctl on Debian 8.7?
      Can any one give me some source for reading, i can't find much about bluetoothctl on internet.










      share|improve this question













      I have already successfully paired and connected to my smartphone device. Now when i send files from my phone to my Laptop the files will not be sended. How can i send and recieve files using bluetoothctl on Debian 8.7?
      Can any one give me some source for reading, i can't find much about bluetoothctl on internet.







      debian bluetooth






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 18 '17 at 0:13









      ateymuri

      4191920




      4191920






















          2 Answers
          2






          active

          oldest

          votes


















          4














          The bluetoothctl is used only to control your bluetooth devices , to transfer your file you should use another tools for example obexftp :



          apt install obexftp


          man obexftp :



          obexftp is used to access files on mobile equipment, i.e. cell phones. 
          With obexftpd you can transfer files between any computers using IrDA,
          Bluetooth and TCP/IP



          To get the file bar from directory foo from the first bluetooth device:




          obexftp -b -c foo -g bar


          or using the MAC_Address :



          obexftp -b MAC_address -g bar



          To send the file bar to directory foo with device on first serial port:




          obexftp -t /dev/ttyS0 -c foo -p bar


          Or using the MAC_Address :



          obexftp -b MAC_address -p bar


          Option:



          -p source, --put source
          -g source, --get source
          -b device, --bluetooth device
          -t device, --tty device





          share|improve this answer





















          • Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
            – ateymuri
            Apr 11 '17 at 6:44



















          0














          Concerning receiving files, roughly the following seems to work (following the instructions on https://www.raspberrypi.org/forums/viewtopic.php?t=146328). Yet quite unstable in my setup:




          • Make sure bluetoothd is started in compatibility mode, I did this by a hacky sudo systemctl stop bluetoothctl.service; sudo bluetoothd -C

          • Start obexpushd: sudo obexpushd -d (in debug mode, so you see if something happens)

          • In bluetoothctl:


            • power on

            • pairable on

            • discoverable on




          Again, this, at least in my case is not very reliable and enabling/disabling bluetooth and redoing the procedure sometimes works.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f352232%2fsend-and-recieve-files-via-bluetoothctl-on-debian-jessie%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            The bluetoothctl is used only to control your bluetooth devices , to transfer your file you should use another tools for example obexftp :



            apt install obexftp


            man obexftp :



            obexftp is used to access files on mobile equipment, i.e. cell phones. 
            With obexftpd you can transfer files between any computers using IrDA,
            Bluetooth and TCP/IP



            To get the file bar from directory foo from the first bluetooth device:




            obexftp -b -c foo -g bar


            or using the MAC_Address :



            obexftp -b MAC_address -g bar



            To send the file bar to directory foo with device on first serial port:




            obexftp -t /dev/ttyS0 -c foo -p bar


            Or using the MAC_Address :



            obexftp -b MAC_address -p bar


            Option:



            -p source, --put source
            -g source, --get source
            -b device, --bluetooth device
            -t device, --tty device





            share|improve this answer





















            • Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
              – ateymuri
              Apr 11 '17 at 6:44
















            4














            The bluetoothctl is used only to control your bluetooth devices , to transfer your file you should use another tools for example obexftp :



            apt install obexftp


            man obexftp :



            obexftp is used to access files on mobile equipment, i.e. cell phones. 
            With obexftpd you can transfer files between any computers using IrDA,
            Bluetooth and TCP/IP



            To get the file bar from directory foo from the first bluetooth device:




            obexftp -b -c foo -g bar


            or using the MAC_Address :



            obexftp -b MAC_address -g bar



            To send the file bar to directory foo with device on first serial port:




            obexftp -t /dev/ttyS0 -c foo -p bar


            Or using the MAC_Address :



            obexftp -b MAC_address -p bar


            Option:



            -p source, --put source
            -g source, --get source
            -b device, --bluetooth device
            -t device, --tty device





            share|improve this answer





















            • Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
              – ateymuri
              Apr 11 '17 at 6:44














            4












            4








            4






            The bluetoothctl is used only to control your bluetooth devices , to transfer your file you should use another tools for example obexftp :



            apt install obexftp


            man obexftp :



            obexftp is used to access files on mobile equipment, i.e. cell phones. 
            With obexftpd you can transfer files between any computers using IrDA,
            Bluetooth and TCP/IP



            To get the file bar from directory foo from the first bluetooth device:




            obexftp -b -c foo -g bar


            or using the MAC_Address :



            obexftp -b MAC_address -g bar



            To send the file bar to directory foo with device on first serial port:




            obexftp -t /dev/ttyS0 -c foo -p bar


            Or using the MAC_Address :



            obexftp -b MAC_address -p bar


            Option:



            -p source, --put source
            -g source, --get source
            -b device, --bluetooth device
            -t device, --tty device





            share|improve this answer












            The bluetoothctl is used only to control your bluetooth devices , to transfer your file you should use another tools for example obexftp :



            apt install obexftp


            man obexftp :



            obexftp is used to access files on mobile equipment, i.e. cell phones. 
            With obexftpd you can transfer files between any computers using IrDA,
            Bluetooth and TCP/IP



            To get the file bar from directory foo from the first bluetooth device:




            obexftp -b -c foo -g bar


            or using the MAC_Address :



            obexftp -b MAC_address -g bar



            To send the file bar to directory foo with device on first serial port:




            obexftp -t /dev/ttyS0 -c foo -p bar


            Or using the MAC_Address :



            obexftp -b MAC_address -p bar


            Option:



            -p source, --put source
            -g source, --get source
            -b device, --bluetooth device
            -t device, --tty device






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 18 '17 at 8:48









            GAD3R

            25.4k1750106




            25.4k1750106












            • Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
              – ateymuri
              Apr 11 '17 at 6:44


















            • Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
              – ateymuri
              Apr 11 '17 at 6:44
















            Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
            – ateymuri
            Apr 11 '17 at 6:44




            Running the commands of obexftp doesn't do anything. It prints that its browsing the MAC_Address Device, but cant find and connect to it. I have bluwtoothctl on and my device connected to my laptop.
            – ateymuri
            Apr 11 '17 at 6:44













            0














            Concerning receiving files, roughly the following seems to work (following the instructions on https://www.raspberrypi.org/forums/viewtopic.php?t=146328). Yet quite unstable in my setup:




            • Make sure bluetoothd is started in compatibility mode, I did this by a hacky sudo systemctl stop bluetoothctl.service; sudo bluetoothd -C

            • Start obexpushd: sudo obexpushd -d (in debug mode, so you see if something happens)

            • In bluetoothctl:


              • power on

              • pairable on

              • discoverable on




            Again, this, at least in my case is not very reliable and enabling/disabling bluetooth and redoing the procedure sometimes works.






            share|improve this answer




























              0














              Concerning receiving files, roughly the following seems to work (following the instructions on https://www.raspberrypi.org/forums/viewtopic.php?t=146328). Yet quite unstable in my setup:




              • Make sure bluetoothd is started in compatibility mode, I did this by a hacky sudo systemctl stop bluetoothctl.service; sudo bluetoothd -C

              • Start obexpushd: sudo obexpushd -d (in debug mode, so you see if something happens)

              • In bluetoothctl:


                • power on

                • pairable on

                • discoverable on




              Again, this, at least in my case is not very reliable and enabling/disabling bluetooth and redoing the procedure sometimes works.






              share|improve this answer


























                0












                0








                0






                Concerning receiving files, roughly the following seems to work (following the instructions on https://www.raspberrypi.org/forums/viewtopic.php?t=146328). Yet quite unstable in my setup:




                • Make sure bluetoothd is started in compatibility mode, I did this by a hacky sudo systemctl stop bluetoothctl.service; sudo bluetoothd -C

                • Start obexpushd: sudo obexpushd -d (in debug mode, so you see if something happens)

                • In bluetoothctl:


                  • power on

                  • pairable on

                  • discoverable on




                Again, this, at least in my case is not very reliable and enabling/disabling bluetooth and redoing the procedure sometimes works.






                share|improve this answer














                Concerning receiving files, roughly the following seems to work (following the instructions on https://www.raspberrypi.org/forums/viewtopic.php?t=146328). Yet quite unstable in my setup:




                • Make sure bluetoothd is started in compatibility mode, I did this by a hacky sudo systemctl stop bluetoothctl.service; sudo bluetoothd -C

                • Start obexpushd: sudo obexpushd -d (in debug mode, so you see if something happens)

                • In bluetoothctl:


                  • power on

                  • pairable on

                  • discoverable on




                Again, this, at least in my case is not very reliable and enabling/disabling bluetooth and redoing the procedure sometimes works.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 17 at 22:05









                Rui F Ribeiro

                39k1479129




                39k1479129










                answered Dec 17 at 20:53









                Rapsack

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f352232%2fsend-and-recieve-files-via-bluetoothctl-on-debian-jessie%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Morgemoulin

                    Scott Moir

                    Souastre