MacOS connecting to bluetooth module











up vote
0
down vote

favorite












I have lots of issues connecting Mac OS Mojave to my sparksfun Bluetooth module RN-42.



I can pair my Bluetooth module to my Mac, but after several seconds, the connection goes away. However, for the several seconds that the connection stays, I'm trying to activate my Bluetooth module in command mode by typing in my dev folder:



cat -v tty.Bluetooth-Incoming-Port


Which is followed by the error:



cat: tty.Bluetooth-Incoming-Port: Resource busy


Furthermore, I also try to do (without any pairing beforehand):



cat -v tty.WiimoteRcvr-RNI-SPP 


Where Wiimote is the name of the Bluetooth module defined by the previous user.



cat: tty.WiimoteRcvr-RNI-SPP: Resource busy


This problem disappears, though, when I instead use a Bluetooth dongle. Now, I skip the step of pairing, and directly enter the command above and I successfully connect:



cat -v tty.WiimoteRcvr-RNI-SPP


From comment posted by OP - Resetting the Bluetooth Module on my computer fixed a lot of issues. However, cat and echo are broken now.



Questions:



Does anyone know why I have to use this Bluetooth dongle? Why can't my Mac sustain a Bluetooth connection to this bluetooth module? Other computers are fine. When should I pair to the name of the bluetooth module vs when to connect to tty.Bluetooth-Incoming-Port?



Also, how can I receive feedback? I'm trying to get output from the Bluetooth module, by echoing to it in one terminal, but cat isn't getting anything from the other terminal.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I have lots of issues connecting Mac OS Mojave to my sparksfun Bluetooth module RN-42.



    I can pair my Bluetooth module to my Mac, but after several seconds, the connection goes away. However, for the several seconds that the connection stays, I'm trying to activate my Bluetooth module in command mode by typing in my dev folder:



    cat -v tty.Bluetooth-Incoming-Port


    Which is followed by the error:



    cat: tty.Bluetooth-Incoming-Port: Resource busy


    Furthermore, I also try to do (without any pairing beforehand):



    cat -v tty.WiimoteRcvr-RNI-SPP 


    Where Wiimote is the name of the Bluetooth module defined by the previous user.



    cat: tty.WiimoteRcvr-RNI-SPP: Resource busy


    This problem disappears, though, when I instead use a Bluetooth dongle. Now, I skip the step of pairing, and directly enter the command above and I successfully connect:



    cat -v tty.WiimoteRcvr-RNI-SPP


    From comment posted by OP - Resetting the Bluetooth Module on my computer fixed a lot of issues. However, cat and echo are broken now.



    Questions:



    Does anyone know why I have to use this Bluetooth dongle? Why can't my Mac sustain a Bluetooth connection to this bluetooth module? Other computers are fine. When should I pair to the name of the bluetooth module vs when to connect to tty.Bluetooth-Incoming-Port?



    Also, how can I receive feedback? I'm trying to get output from the Bluetooth module, by echoing to it in one terminal, but cat isn't getting anything from the other terminal.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have lots of issues connecting Mac OS Mojave to my sparksfun Bluetooth module RN-42.



      I can pair my Bluetooth module to my Mac, but after several seconds, the connection goes away. However, for the several seconds that the connection stays, I'm trying to activate my Bluetooth module in command mode by typing in my dev folder:



      cat -v tty.Bluetooth-Incoming-Port


      Which is followed by the error:



      cat: tty.Bluetooth-Incoming-Port: Resource busy


      Furthermore, I also try to do (without any pairing beforehand):



      cat -v tty.WiimoteRcvr-RNI-SPP 


      Where Wiimote is the name of the Bluetooth module defined by the previous user.



      cat: tty.WiimoteRcvr-RNI-SPP: Resource busy


      This problem disappears, though, when I instead use a Bluetooth dongle. Now, I skip the step of pairing, and directly enter the command above and I successfully connect:



      cat -v tty.WiimoteRcvr-RNI-SPP


      From comment posted by OP - Resetting the Bluetooth Module on my computer fixed a lot of issues. However, cat and echo are broken now.



      Questions:



      Does anyone know why I have to use this Bluetooth dongle? Why can't my Mac sustain a Bluetooth connection to this bluetooth module? Other computers are fine. When should I pair to the name of the bluetooth module vs when to connect to tty.Bluetooth-Incoming-Port?



      Also, how can I receive feedback? I'm trying to get output from the Bluetooth module, by echoing to it in one terminal, but cat isn't getting anything from the other terminal.










      share|improve this question















      I have lots of issues connecting Mac OS Mojave to my sparksfun Bluetooth module RN-42.



      I can pair my Bluetooth module to my Mac, but after several seconds, the connection goes away. However, for the several seconds that the connection stays, I'm trying to activate my Bluetooth module in command mode by typing in my dev folder:



      cat -v tty.Bluetooth-Incoming-Port


      Which is followed by the error:



      cat: tty.Bluetooth-Incoming-Port: Resource busy


      Furthermore, I also try to do (without any pairing beforehand):



      cat -v tty.WiimoteRcvr-RNI-SPP 


      Where Wiimote is the name of the Bluetooth module defined by the previous user.



      cat: tty.WiimoteRcvr-RNI-SPP: Resource busy


      This problem disappears, though, when I instead use a Bluetooth dongle. Now, I skip the step of pairing, and directly enter the command above and I successfully connect:



      cat -v tty.WiimoteRcvr-RNI-SPP


      From comment posted by OP - Resetting the Bluetooth Module on my computer fixed a lot of issues. However, cat and echo are broken now.



      Questions:



      Does anyone know why I have to use this Bluetooth dongle? Why can't my Mac sustain a Bluetooth connection to this bluetooth module? Other computers are fine. When should I pair to the name of the bluetooth module vs when to connect to tty.Bluetooth-Incoming-Port?



      Also, how can I receive feedback? I'm trying to get output from the Bluetooth module, by echoing to it in one terminal, but cat isn't getting anything from the other terminal.







      linux wireless-networking mac bluetooth arduino






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Dave M

      12.7k92838




      12.7k92838










      asked Nov 9 at 21:33









      Goldname

      1148




      1148



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fsuperuser.com%2fquestions%2f1374191%2fmacos-connecting-to-bluetooth-module%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1374191%2fmacos-connecting-to-bluetooth-module%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

          Mouse cursor on multiple screens with different PPI

          Agildo Ribeiro

          Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”