Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
cordova-plugin-dfu-update
Advanced tools
Use Nordic Semiconductor's Device Firmware Update (DFU) service to update a Bluetooth LE device
This Cordova Plugin is a Wrapper to use Nordic Semiconductor's Device Firmware Update (DFU) service to update a Bluetooth LE device.
It currently uses iOSDFULibrary (Version 4.8.0
) on iOS and
Android-DFU-Library (Default-Version 1.11.0
) on Android.
This Plugin is in active development!
This and other Open-Source Cordova Plugins are developed in my free time. To help ensure this plugin is kept updated, new features are added and bugfixes are implemented quickly, please donate a couple of dollars (or a little more if you can stretch) as this will help me to afford to dedicate time to its maintenance. Please consider donating if you're using this plugin in an app that makes you money, if you're being paid to make the app, if you're asking for new features or priority bug fixes.
Table of Content
This Plugin is developed in Swift and automaticaly adds the Plugin to Support Swift.
no.nordicsemi.android:dfu
/ default to 1.11.0
The plugin is available via a global variable named window.DfuUpdate
.
A TypeScript definition is included out of the Box. You can import it like this:
import DfuUpdate from 'cordova-plugin-dfu-update';
The list of available methods for this plugin is described below.
Start the Firmware-Update proccess
cdvfile://
or file://
format.window.DfuUpdate.updateFirmware(function(success) {
console.log(success);
}, function (error) {
console.error(error);
}, {
fileUrl: 'fileUrl',
deviceId: 'deviceId'
});
The full Changelog is available here
FAQs
Use Nordic Semiconductor's Device Firmware Update (DFU) service to update a Bluetooth LE device
We found that cordova-plugin-dfu-update demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.