api documentation for cordova-plugin-bluetoothle (v4.3.3)

Use the Bluetooth Low Energy plugin to connect your Cordova app to new Bluetooth devices like heart rate monitors, thermometers, etc...

table of contents

  1. module cordova-plugin-bluetoothle
    1. object cordova-plugin-bluetoothle.bluetoothle
  2. module cordova-plugin-bluetoothle.bluetoothle
    1. function cordova-plugin-bluetoothle.bluetoothle.addService (successCallback, errorCallback, params)
    2. function cordova-plugin-bluetoothle.bluetoothle.bond (successCallback, errorCallback, params)
    3. function cordova-plugin-bluetoothle.bluetoothle.bytesToEncodedString (bytes)
    4. function cordova-plugin-bluetoothle.bluetoothle.bytesToHex (bytes)
    5. function cordova-plugin-bluetoothle.bluetoothle.bytesToString (bytes)
    6. function cordova-plugin-bluetoothle.bluetoothle.characteristics (successCallback, errorCallback, params)
    7. function cordova-plugin-bluetoothle.bluetoothle.close (successCallback, errorCallback, params)
    8. function cordova-plugin-bluetoothle.bluetoothle.connect (successCallback, errorCallback, params)
    9. function cordova-plugin-bluetoothle.bluetoothle.descriptors (successCallback, errorCallback, params)
    10. function cordova-plugin-bluetoothle.bluetoothle.disable (successCallback, errorCallback)
    11. function cordova-plugin-bluetoothle.bluetoothle.disconnect (successCallback, errorCallback, params)
    12. function cordova-plugin-bluetoothle.bluetoothle.discover (successCallback, errorCallback, params)
    13. function cordova-plugin-bluetoothle.bluetoothle.enable (successCallback, errorCallback)
    14. function cordova-plugin-bluetoothle.bluetoothle.encodedStringToBytes (string)
    15. function cordova-plugin-bluetoothle.bluetoothle.hasPermission (successCallback, errorCallback)
    16. function cordova-plugin-bluetoothle.bluetoothle.initialize (successCallback, params)
    17. function cordova-plugin-bluetoothle.bluetoothle.initializePeripheral (successCallback, errorCallback, params)
    18. function cordova-plugin-bluetoothle.bluetoothle.isAdvertising (successCallback, errorCallback, params)
    19. function cordova-plugin-bluetoothle.bluetoothle.isBonded (successCallback, errorCallback, params)
    20. function cordova-plugin-bluetoothle.bluetoothle.isConnected (successCallback, errorCallback, params)
    21. function cordova-plugin-bluetoothle.bluetoothle.isDiscovered (successCallback, errorCallback, params)
    22. function cordova-plugin-bluetoothle.bluetoothle.isEnabled (successCallback)
    23. function cordova-plugin-bluetoothle.bluetoothle.isInitialized (successCallback)
    24. function cordova-plugin-bluetoothle.bluetoothle.isLocationEnabled (successCallback, errorCallback)
    25. function cordova-plugin-bluetoothle.bluetoothle.isScanning (successCallback)
    26. function cordova-plugin-bluetoothle.bluetoothle.mtu (successCallback, errorCallback, params)
    27. function cordova-plugin-bluetoothle.bluetoothle.notify (successCallback, errorCallback, params)
    28. function cordova-plugin-bluetoothle.bluetoothle.read (successCallback, errorCallback, params)
    29. function cordova-plugin-bluetoothle.bluetoothle.readDescriptor (successCallback, errorCallback, params)
    30. function cordova-plugin-bluetoothle.bluetoothle.reconnect (successCallback, errorCallback, params)
    31. function cordova-plugin-bluetoothle.bluetoothle.removeAllServices (successCallback, errorCallback, params)
    32. function cordova-plugin-bluetoothle.bluetoothle.removeService (successCallback, errorCallback, params)
    33. function cordova-plugin-bluetoothle.bluetoothle.requestConnectionPriority (successCallback, errorCallback, params)
    34. function cordova-plugin-bluetoothle.bluetoothle.requestLocation (successCallback, errorCallback)
    35. function cordova-plugin-bluetoothle.bluetoothle.requestPermission (successCallback, errorCallback)
    36. function cordova-plugin-bluetoothle.bluetoothle.respond (successCallback, errorCallback, params)
    37. function cordova-plugin-bluetoothle.bluetoothle.retrieveConnected (successCallback, errorCallback, params)
    38. function cordova-plugin-bluetoothle.bluetoothle.rssi (successCallback, errorCallback, params)
    39. function cordova-plugin-bluetoothle.bluetoothle.services (successCallback, errorCallback, params)
    40. function cordova-plugin-bluetoothle.bluetoothle.startAdvertising (successCallback, errorCallback, params)
    41. function cordova-plugin-bluetoothle.bluetoothle.startScan (successCallback, errorCallback, params)
    42. function cordova-plugin-bluetoothle.bluetoothle.stopAdvertising (successCallback, errorCallback, params)
    43. function cordova-plugin-bluetoothle.bluetoothle.stopScan (successCallback, errorCallback)
    44. function cordova-plugin-bluetoothle.bluetoothle.stringToBytes (string)
    45. function cordova-plugin-bluetoothle.bluetoothle.subscribe (successCallback, errorCallback, params)
    46. function cordova-plugin-bluetoothle.bluetoothle.unbond (successCallback, errorCallback, params)
    47. function cordova-plugin-bluetoothle.bluetoothle.unsubscribe (successCallback, errorCallback, params)
    48. function cordova-plugin-bluetoothle.bluetoothle.wasConnected (successCallback, errorCallback, params)
    49. function cordova-plugin-bluetoothle.bluetoothle.write (successCallback, errorCallback, params)
    50. function cordova-plugin-bluetoothle.bluetoothle.writeDescriptor (successCallback, errorCallback, params)
    51. function cordova-plugin-bluetoothle.bluetoothle.writeQ (successCallback, errorCallback, params)
    52. number cordova-plugin-bluetoothle.bluetoothle.CALLBACK_TYPE_ALL_MATCHES
    53. number cordova-plugin-bluetoothle.bluetoothle.CALLBACK_TYPE_FIRST_MATCH
    54. number cordova-plugin-bluetoothle.bluetoothle.CALLBACK_TYPE_MATCH_LOST
    55. number cordova-plugin-bluetoothle.bluetoothle.MATCH_MODE_AGGRESSIVE
    56. number cordova-plugin-bluetoothle.bluetoothle.MATCH_MODE_STICKY
    57. number cordova-plugin-bluetoothle.bluetoothle.MATCH_NUM_FEW_ADVERTISEMENT
    58. number cordova-plugin-bluetoothle.bluetoothle.MATCH_NUM_MAX_ADVERTISEMENT
    59. number cordova-plugin-bluetoothle.bluetoothle.MATCH_NUM_ONE_ADVERTISEMENT
    60. number cordova-plugin-bluetoothle.bluetoothle.SCAN_MODE_BALANCED
    61. number cordova-plugin-bluetoothle.bluetoothle.SCAN_MODE_LOW_LATENCY
    62. number cordova-plugin-bluetoothle.bluetoothle.SCAN_MODE_LOW_POWER
    63. number cordova-plugin-bluetoothle.bluetoothle.SCAN_MODE_OPPORTUNISTIC

module cordova-plugin-bluetoothle

module cordova-plugin-bluetoothle.bluetoothle

function cordova-plugin-bluetoothle.bluetoothle.addService (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.bond (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.bytesToEncodedString (bytes)

function cordova-plugin-bluetoothle.bluetoothle.bytesToHex (bytes)

function cordova-plugin-bluetoothle.bluetoothle.bytesToString (bytes)

function cordova-plugin-bluetoothle.bluetoothle.characteristics (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.close (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.connect (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.descriptors (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.disable (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.disconnect (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.discover (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.enable (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.encodedStringToBytes (string)

function cordova-plugin-bluetoothle.bluetoothle.hasPermission (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.initialize (successCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.initializePeripheral (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.isAdvertising (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.isBonded (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.isConnected (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.isDiscovered (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.isEnabled (successCallback)

function cordova-plugin-bluetoothle.bluetoothle.isInitialized (successCallback)

function cordova-plugin-bluetoothle.bluetoothle.isLocationEnabled (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.isScanning (successCallback)

function cordova-plugin-bluetoothle.bluetoothle.mtu (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.notify (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.read (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.readDescriptor (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.reconnect (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.removeAllServices (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.removeService (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.requestConnectionPriority (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.requestLocation (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.requestPermission (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.respond (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.retrieveConnected (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.rssi (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.services (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.startAdvertising (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.startScan (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.stopAdvertising (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.stopScan (successCallback, errorCallback)

function cordova-plugin-bluetoothle.bluetoothle.stringToBytes (string)

function cordova-plugin-bluetoothle.bluetoothle.subscribe (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.unbond (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.unsubscribe (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.wasConnected (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.write (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.writeDescriptor (successCallback, errorCallback, params)

function cordova-plugin-bluetoothle.bluetoothle.writeQ (successCallback, errorCallback, params)

[ this document was created with utility2 ]