PhoneGap and Bluetooth plugin

Hello everyone!

First of all, I ask that you forgive for my English...

I try to use a plugin of cordova/phonegap for bluetooth connection. You can find it->here< -.

When I use methods such as bluetoothSerial.connect (of course with my MAC address) or simply when I use examples with Arduino, nothing works.

It's as if the plugin methods stop the progress of the code, but no error message appears in the console.

I have install the plugin with

cordova plugin add cordova-plugin-bluetooth-serial

Maybe I forgot to do something, and so it does not work...

Can someone help me with this plugin?

Or someone who already use Bluetooth in a project phonegap/Cordoba?

Thank you and sorry for my English.

Well, it's part of the problem:


You should only use the following version:

 

In addition, the current version of the plugin in question is 0.4.5, not 1, so I review your plugin tag accordingly:


In addition, the white list plugin has more recent versions as well, so you can update this tag:


Finally, how do you test your app? You use "cordova run android" or you use the PhoneGap Desktop/Developer app?

Note: You can embed the code by switching to the advanced and then view editor by clicking on the ">" button in the toolbar, and then selecting 'Syntactic' and selecting the language of your choice. It's a little buried, unfortunately.

Tags: PhoneGap

Similar Questions

  • PhoneGap Desktop and core plugins?

    Hello!

    I made an app to PhoneGap and jquery, a couple of years ago. And it's such a fun job. No hazzle or whatever it is. PhoneGap generator remained far from CLI and used. Haven´t no Phonegap work done since then. I'm back... and boyyyyy I'm confused!

    Now, I need to write and application by using the capture of media on the phone device and I haved autour google and found a few guides and tutorials... but outdated. Searched on phonegap and I'm really confused.

    I tried to install PhoneGap Desktop, I thought it would be really cool that I can run my application without compiling. But I can´t find a way to use the decive caturing. Seems that I have to install this time? Is it possible to do to PhoneGap Desktop or Desktop PhoneGap isn't just a Web server "fantasy"?

    Do I have to dwelwe in CLI to be able to use the basic functions?

    Need some advice. Thanks in advance.

    Media-capture updated docs: Cordoba-plugin-media-capture

    If you rely on the release of the app, you'll need to delve into the CLI or PG, build at some point. Just keep that in mind. The CLI is really very easy and personally, it's easier for me to understand (less 'magic', more control).

    The desktop PhoneGap application is partly a webserver fantasy, Yes, but it works in tandem with the developer App PhoneGap can communicate with this server in order to run your code without creating a separate version. However, the PGDevApp is limited to basic plugins and has various borderline cases where it differs from a real version of your application. In addition, the PGDevApp is always up to date plugins. In your case, PGDevApp uses version 1.0.1 of the media-capture plugin (while the current version is 1.3.0). The documentation you want to actually would be in this version of the repo: GitHub - apache/cordova-plugin-media-capture at 2eb87babad75b695632210f4c1c548b4e750525e

    If you have error messages and code you try fails more specific, thanks for posting that. Error messages and the code go along the way to diagnose a problem.

  • PhoneGap desktop - using Plugins

    Hi Newbie question here. I downloaded and installed desktop phonegap, I created a phonegap project that I ran on the application of the emulator on my phone.

    I am trying to get the plugin to network information and the plugin from media for his work.

    I want to test if I have a suggested internet and I want to play sounds on the app.

    My question is in what regards the plugins. I can't find all sorts of documentation such as the use of plugins and I'm not sure what to do. ?

    some sites have different plugins that have been downloaded and put in folders, others just added in the config.xml file, but these lines seemed to already be there, and I wasn't having much luck getting their job.

    also when I'm happy with this app what measures should I take to build in a fully functional app here?

    I know it's a newb question but I am really get bogged down looking for something that is probably simple, thanks in advance

    Hello! Answers online.

    Hi Newbie question here. I downloaded and installed desktop phonegap, I created a phonegap project that I ran on the application of the emulator on my phone.

    I am trying to get the plugin to network information and the plugin from media for his work.

    I want to test if I have a suggested internet and I want to play sounds on the app.

    Please note that the developer PG App is not an emulation perfect environment that receives a compiled application. It's really cool and good to use for quick iteration, but there are cases where you will encounter differences. The media plugin is one of them - in a compiled application, your sound is perhaps in the application bundle, but that would break the App Dev PG because the beam refers to the PG Dev app, not /your/ app. Information plugin, OTH, network should work without differences (AFAIK).

    My question is in what regards the plugins. I can't find all sorts of documentation such as the use of plugins and I'm not sure what to do. ?

    some sites have different plugins that have been downloaded and put in folders, others just added in the config.xml file, but these lines seemed to already be there, and I wasn't having much luck getting their job.

    Infrastructure of the plugin and instructions to add to your project have changed over the years and so the docs have evolved in this direction. Many documents continue to include the manual installation instructions. As a general rule, if the docs say they are compatible with the CLIs of PG/Cordova, use the command 'Add a plugin of cordova' that they provide. Plugins can be installed this way will provide a "plugin.xml" file in their repo.

    Remember, however, when you use the PhoneGap developer application, have access to the base plugins more some additional plugins. This means that if the plugin is not compiled into the App Dev PG, you can not use, regardless what is your config file. XML (PG Dev App is NOT analysis config.xml). You can either:

    • Create a version of the PG Dev App containing the plugins you want to use for your use
    • Install PhoneGap / LCIs of Cordova and build your application directly
    • Build your application using PhoneGap Build

    When you use the LCIs, you add a plugin like this:

    cordova plugin add cordova-plugin-some-plugin-id --save
    

    The -Save switch will update your file config.xml properly to include the plugin. I suggest you ensure that you also to pin your plugins for a specific version so that you don't accidentally later shoot a newer version and break your code in unexpected ways.

    When you use any BMP, you add just a plugin to the config.xml file, as

    
    

    Finally, if you try to use a basic plugin and it does not work, be more specific so that we can help. Include error messages, code snippets, etc.

    also when I'm happy with this app what measures should I take to build in a fully functional app here?

    You will need to build your application using either the PhoneGap / Cordova CLIs or PhoneGap Build.

    I know it's a newb question but I am really get bogged down looking for something that is probably simple, thanks in advance

    If in doubt, check out the docs:

    And if that fails, give us a complaint!

  • iPhone6 more WiFi and Bluetooth failure

    I have a problem

    Failure of Phone6 more WiFi and Bluetooth?

    https://youtu.be/JHom1urrwo4

    Take a look at this Apple Support article:

    https://support.Apple.com/en-us/HT204051

    Reset your network settings.

    Settings - general - reset - reset the network settings

    Reset your device. This will not erase your data stored on the phone.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

  • Hi there, my WI - FI and Bluetooth do not work. What to do to make it work?

    Hello

    My WI FI connection and Bluetooth don't work. What should I do to make this work?

    Hello

    Follow the steps here:

  • GPS, Wifi and Bluetooth problems

    So I have an iPhone 6 running on IOS 9.3.4 and have had problems with the GPS and the strength of wifi connectivity and bluetooth for a while now.

    First of all, the GPS.  It does not work.  When I run the maps or google maps on my device and the input an address the app can give me a written plan, location, but will not show me on a map.  He'll start road to everywhere where I go and tell me to start position, for example, to the North on the road on that I am, but the arrow does not follow me and tell me when the turn or where I am.  Occasionally, he has a message of guidance down with a spinning wheel and then, after a few seconds, disappears.  I tried to reboot my device several times, I have reset the network setting, I reset all of the settings, I backed up my phone, reset it and recovered save him.  Nothing has worked.  I was at my local verizon store and received a 'new' (its definitely refurbished) phone and the problem persists on the new phone.  I reset the phone to factory setting without content, set up as a new phone and tried the cards again, thinking it might be a problem with the back to the top.  It still does not work.  I'm perplexed right now and do not know what to do/try.

    Second, wifi and bluetooth connectivity is terrible.  I can only receive a wireless signal so that in very close proximity with the router.  I tried to different houses/companies and it is the same question.  However, bluetooth is just as bad.  I use headphones wireless, and go to the gym/go for the route with them.  I used to be able to walk around the gym without my phone and have connected the headphones, but now I can't have my phone 2 feet of the appliance without the music being agitated (bad connection).  I'm really irritated that I cannot understand this point and that he can't seem to find a fixed solution online.

    If you have just updated to iOS 9.3.4, which I didn't even know still shone, so maybe it's a bug that comes with the update. However, your problems seem to follow a trend, you can not far from a source of connection and now a signal. It is perhaps because the necessary components for the Bluetooth, GPS and WiFi signal are damaged or defective. Have you dropped or spilled liquid on your iPhone recently?

  • 9.3.2 GPS and Bluetooth degraded service

    I started having problems with my GPS and Bluetooth. GPS is not able to follow in my mapping applications, including Google Maps and Waze cards. At the same time, my Bluetooth headset quality is terrible. I tried the headset on other phones and it works very well, is not the headphones. It does not appear the Bluetooth and GPS issues are correlated.

    I took my phone to the Genius Bar yesterday and the Apple representative told me that she saw this 10 X a day recently and indicates a bug fix has been presented.

    My question is how many others have a similar problem? I am surprised that I can't find references online if there is a widespread problem.

    What else the genius said it another she saw this? They will tell you that there was a problem with your device? If your camera is out of warranty, you were offered an out of warranty replacement?

    "How many more?" Hard to say, but you don't speak with Apple here, so no one would know how many people have reported this.

  • HP 15-r032tx: wi - fi adapter and bluetooth does not properly

    Hi, I was using windows 10 but a few days before the wifi adapter stop working msg showing "we found on this PC wireless devices." I installed the wifi driver again, but did not work.  the next day when I use the display adapter wifi started working. NXT day it still stop working.

    I began recovery and re-intalled the 8.1 windows and installed the driver wifi and Bluetooth but face issue. Download the driver from HP Web site, showing once again "we found on this PC wireless devices."

    Please solve my problem.

    Night Jimmy.

    I had a similar problem last week... seems to be a bit a problem for HP all the time!

    One of the guys sent me this link yesterday, has not worked for me, but it seems to have worked for others, look for the post of Phantom456, hope it helps.

    Kind regards

    Steve

  • Satellite Pro S300: Command wireless and Bluetooth and save this config

    Hello

    In the normal state, I want to have active bluetooth and the wireless off (it would be good if it can be activated by pressing Fn + F8)

    Problem: Every time is turn on the laptop (or reboot), the without wire is activated and not the bluetooth. So I have to press Fn + F8 to turn off Wireless (which turns off wireless and bluetooth) and then press Fn + F8 to select bluetooth to activate bluetooth. How can I save this config?

    Thank you

    Hello

    Unfortunately, it of not possible to save these settings.
    But as far as I know that the settings should not change after a reboot of the laptop.

    But you can check the Bluetooth settings in the folder utilities Toshiba.
    There is a general named tab that contains a few options.
    Check this box

  • Satellite Pro L770 - 14 H - the use of WLan and Bluetooth at the same time

    I have a Satellite Pro L770 - 14H and you want to use a Bluetooth mouse.
    With the 'FN' and F8 key I am capable of coding between WLAN and Bluetooth, but it is not possibel to have both at the same time.

    My question is: How can I have WLAN and Bluetooth at the same time?
    To use a Bluetooth mouse with WLAN connection.

    Thank you very much
    Helmut

    Hello

    Using Win 8.1?

    Usually you could turn on and off Bluetooth in Win 8.1
    Settings PC-> PC &-> of Bluetooth devices

    There, you can move the cursor to BT for THE position.

  • BCM94313HMGB combo wireless 802.11n and Bluetooth 3.0 half minicards UPgrade

    I recently bought your desktop pavilion pc p6-2378 with 8 64-bit windows.   Noticed that the Office lacks any wireless internet.

    Bought a BCM94313HMGB 802.11n and Bluetooth 3.0 high speed half mini-map and installed it.  Wireless driver works immediately.  But I donot see the radio bluetooth option anywhere.

    What Miss me?   Why didn't the radio bluetooth on the Device Manager?

    Yes. I saw that before posting.

    I used a mini-PCI card PCI-E and that caused the problem.  I inserted directly into the motherboard and bluetooth and wireless networking worked fine.

    Thank you.

  • HP 15-ac025tx: Please help to find the right driver for Wi - Fi and Bluetooth

    HP 15-ac025tx

    MODEL: M9V00PA #ACJ

    OS: Windows 7 (64-bit)

    Hello

    Would you be able to help with the link to the drivers for my laptop model mentioned above.

    1 WiFi

    2 Bluetooth

    3. the screen

    These are the elements located in the exclamation point (!) in the Windows Device Manager:

    -Graphics cards

    AMD Radeon (TM) R5 M330

    -Other devices

    BCM43142A0

    Network controller

    Acquisition of ICP data and Signal Processing controller

    Unknown device

    Many thanks in advance,

    Anish

    New Delhi

    Hello:

    You need these drivers for the wireless and bluetooth...

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943827 & swItemId = ob_145419_1 & swEnvOid = 4058

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_154511_1

    Graphics card: first install the Intel driver and restart.

    This package provides the driver that allows graphics Intel high definition (HD) in the notebook models that are running an operating system supported. If the video output high-definition multimedia interface (HDMI) is supported, this package also installs the HDMI Audio Driver.

    File name: sp72651.exe

    Then, install the graphics driver amd and restart.

    This package provides the graphics driver AMD/Intel switchable high definition (HD) for models of laptop computers that are running an operating system supported. For laptops equipped with switchable graphics modes, this package contains the drivers for the two graphics (GPU). Switchable graphics allow users to switch between a graphical power mode (normally used under the power of the battery) and a mode of graphics performance.

    File name: sp71254.exe

    Acquisition of ICP data and Signal Processing controller:

    This package contains the driver which allows Intel platform dynamic and thermal firmware setting. Intel platform dynamic and thermal environment information system temperature and power use for the thermal protection of the system to work properly. This package is provided for the laptop models running a supported operating system.

    File name: sp71262.exe

    Unknown device is probably in need of this driver...

    This package provides the HP 3D DriveGuard software (HP ProtectSmart Hard Drive Protection) for the laptop models running a supported operating system. HP 3D DriveGuard software protects the drive hard by parking the heads if cell phone accidentally falls, or is suddenly struck by another object.

    File name: sp71811.exe

  • 15 - ac130nia: my wifi and bluetooth is still not detectable and can also discover other wireless networks

    My WiFi and Bluetooth is still not detectable and can not find other wireless networks

    @Pelumi10Hi

    Thank you for visiting the Forums from HP Support. It's a great site for information and questions. I read your post on wireless and Bluetooth connections are not always detectable not. I'm happy to help with this problem!

    I would need more information about this to help you better.

    • It has never worked before?
    • When the problem happened everything first?
    • You did the hardware changes as obtain replaced Wi - Fi?

    Please follow these steps and check out these links to try to solve the problem.

    1. Turn on your Bluetooth device and make it discoverable. The way that make you it discoverable depends on the device. ...
    2. Click Start > type Bluetooth > Select Bluetooth settings in the list.
    3. Activate Bluetooth > select device > pair.
    4. Follow all the instructions if they appear.

    Open windows control panel, open Power Options and next to your currently selected power plan, click Change plan.  In the next window, click on change advanced power settings.  In the next window, open 'wireless adapter settings' and then open 'power saving Mode'.  Next to on battery: click on the current setting and a drop down menu will appear - select 'Maximum Performance '.  Do the same for the sector.  Then click on apply and then Ok to save the settings.

    Restart the computer and see if this contributed to the issue.

    Also open Device Manager. Go to the network adapters and expand it. Select the network adapter for your device by clicking right on wireless and click Properties. Then go to the power management option and uncheck the box that says" allow the computer to turn off this device to save power. In addition, check the box that says "Allow this device to wake the computer"

    Please visit this link to solve the problems of Wi - Fi: http://support.hp.com/in-en/document/c03535285

    There's a video associated with the problems of Wi - Fi in the link.

    You can also check these links:

    http://h30434.www3.HP.com/T5/notebook-wireless-and-networking/WiFi-connectivity-problem-in-Windows-8-1/TD-p/3951390

    http://support.HP.com/us-en/product/HP-15-notebook-PC-series/8499326/model/8942890/document/c04800801/

    To resolve Bluetooth issues problems please visit these links:

    http://support.HP.com/us-en/document/c03429630

    http://support.HP.com/us-en/document/c01060335

    To simply say thank you, please click the "Thumbs Up" button for appreciate my efforts. If this solves the problem, Please mark this "accepted solution". If you need more assistance let me know and I will gladly do whatever I can to help.

    Thank you and have a blessed week ahead!

  • Re: Key FN Windows Vista Ultimate 32-bit and Bluetooth crash

    I have an old problem with the FN key. I installed Vista and after a while, it stops working. Under Windows, when I press the FN button it freezes about 3 seconds a blue screen telling me that Vista crashed, begins a memory dump, and then restart the laptop. And now, bluetooth doesn't work anymore and if I try to enable it dows the same thing.

    P.S. windows are new installed (4 days) and has automatic updates so far.
    I reinstalled Toshiba Value Package and Bluetooth Monitor, Bluetooth Stack.

    Can you please tell us which model of laptop you have exactly?
    Have you tried to roll back the OS to an earlier time (a day or two back) to see if the problem persists?

  • HP Pavilion p7-1451 USB 3.0 and Bluetooth drivers for Windows Server 2008 R2

    I bought a HP Pavilion p7-1451 so I might have a machine that is affordable, yet powerful enough to put a server software development environment on (I'm a software engineer).

    It came with Windows 8, but I need Windows Server 2008 R2, I own through an MSDN subscription.  I did what I always do in these cases, re-partioned the hard drive, re-formatted and installed the new operating system.

    I have almost all devices work fine, but it still does not recognize the USB 3.0 ports and Bluetooth device.  I looked everywhere but could not find something that works.  Whatever it either from the HP site is targeted for Windows 7 or 8 and trying one of those, it tells me "your system does not meet the requirements of the operating system" and MSI publishes all the drivers for this particular motherboard (that I can find anyway).

    Motherboard: MSI MS-7778, also known under the name of: MSI 2AEO version 1.0

    BIOS: FRIEND 8.12

    Here is the list of "other devices" in Device Manager that Windows does not recognize:

    BCM20702A0

    (USB) Universal Serial Bus controller

    (USB) Universal Serial Bus controller

    Bluetooth device ID: USB\VID_0A5C & PID_21F1 & REV_0012

    USB Controller device ID: PCI\VEN_1022 & DEV_7812 & SUBSYS_2AE0103C & REV_03

    Windows doesn't always recognize them after allowing him to look on the internet.

    I googled everywhere and I'm not getting anywhere.

    Does anyone have advice?

    Any chance that this could be linked to the BIOS?

    I'm not having any chance to find a BIOS download for this motherboard either.

    Any help is very appreciated!

    Find out!

    Use your expertise in software engineering to mod the driver for USB 3.0 to work...

    Look at the last post on the thread. You need to mod the text file... replace NTamd64.6.1.1 with NTamd64.6.1

    http://forums.AMD.com/game/messageview.cfm?CATID=454 & ThreadID = 163739

Maybe you are looking for