nativescript-community / nativescript-community/ble

Passkey support

Open
#279 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
202
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Any chance of passkey support?

I have this working with a Zebra ZQ521 that was sent to us by a company we buy our CipherLab devices from, but it requires me to pair to the printer first via the Android Settings app.

Unfortunately we don't give our warehouse staff or store staff access to the Settings app, the CipherLab devices run in a locked down mode, which means connection to the printer via BLE would be required to occur inside the app itself.

Once initially paired though, I have it connecting, getting the list of services, selecting the correct service and characteristic, then writing to the characteristic (Chunking the data up into bite sized pieces because the labels I want to send aren't simple ones).

That all works perfectly, happens nice and quickly too, I would just love to get the whole procedure done inside the app.

Discovery, Pairing, Connecting, Writing, and Disconnecting.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing the Android BLE flow and reviewing how the plugin handles discovery, pairing, connecting, writing, and disconnecting; done means the complete printer procedure works inside the app without opening Android Settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
embedded-iot, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.