
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@ios-web-bluetooth/profiles
Advanced tools
Pre-built BLE device profiles — heart rate, battery, device info. Typed parsers for Bluetooth GATT characteristics
Pre-built BLE device profiles -- heart rate, battery, device info. Typed parsers for Bluetooth GATT characteristics.
npm install @ios-web-bluetooth/profiles @ios-web-bluetooth/core
Enable Safari iOS support in your browser entry file:
import '@ios-web-bluetooth/core/auto';
requestDevice() must be triggered from a direct user gesture such as a button click.
import { WebBLE } from '@ios-web-bluetooth/core';
import { HeartRateProfile } from '@ios-web-bluetooth/profiles';
const ble = new WebBLE();
const device = await ble.requestDevice({ filters: [{ services: ['heart_rate'] }] });
const hr = new HeartRateProfile(device);
await hr.connect();
hr.onHeartRate((data) => {
console.log(`${data.bpm} BPM, contact: ${data.contact}`);
console.log('RR intervals:', data.rrIntervals);
});
const location = await hr.readSensorLocation(); // 0=Other, 1=Chest, 2=Wrist
hr.stop(); // unsubscribe all
Use stop() as soon as the user leaves the live monitoring view. Profiles usually wrap notifications under the hood, so prompt cleanup helps both app responsiveness and battery life.
HeartRateProfile -- onHeartRate(cb), readSensorLocation(), resetEnergyExpended()BatteryProfile -- battery level reads and notificationsDeviceInfoProfile -- manufacturer, model, firmware, serial numberdefineProfile(config) -- factory to create custom profiles with typed parsersprofile.connect() only when the user is ready to interact with the device.requestDevice() call.profile.stop() before disconnecting or when the screen unmounts.MCP server for coding agents (Claude Code, Cursor, Copilot):
npx -y @ios-web-bluetooth/mcp
Full SDK reference for LLM context: https://ioswebble.com/llms-full.txt
The @ios-web-bluetooth/* packages (core, profiles, react) are the cross-browser BLE SDK -- they work on any platform with Web Bluetooth support (Chrome, Edge, iOS Safari via the extension). The @ios-web-bluetooth/* packages (detect, cli, mcp, skill) handle iOS-specific extension detection, install prompts, and agent tooling. Use both together for full iOS Safari coverage.
FAQs
Pre-built BLE device profiles — heart rate, battery, device info. Typed parsers for Bluetooth GATT characteristics
We found that @ios-web-bluetooth/profiles demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.