optimistic connect attempts?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- angular, typescript
- 領域
- mobile-dev
調査の方向性
bluetooth.js の 463 行目と Bluetooth.connect エントリーポイントから開始し、報告されている NativeScript/Angular セットアップでスキャン結果なしの呼び出しを再現します。既知の UUID または MAC アドレスを直接使用できるかを確認します。完了の定義は、null peripheralArray エラーを発生させずに、繰り返しのスキャンを避けて再接続を試行できることです。
索引モデルが issue の本文から書いたものです。
説明
is it possible to attempt to connect to a peripheral by UUID without first scanning to see if it's in range? the app only needs to connect to a specific peripheral, which has already been identified by UUID (and mac address, service uuids, etc) -- i would like to be able to attempt connection on an interval without having to initiate a scan process each time to test its availability. When i try i get file:///app/tns_modules/nativescript-bluetooth/bluetooth.js:463:18: Error in Bluetooth.connect: TypeError: null is not an object (evaluating 'Bluetooth._state.peripheralArray.count'), presumably because there are no scan results to check against. I'm using the nativescript + angular (typescript) with the current release, 1.3.1
not even sure this is possible, but it was suggested to me as a way to auto-reconnect to a known device and avoid the overhead of 1-2 second device scans on an endless 5-10 second interval, and figured i'd check with the experts ;).
- 主要言語
- TypeScript
- スター
- 202
- フォーク
- 79
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nativescript-community/ble のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
nativescript-community/ble#282 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
nativescript-community/ble#280 · コメント 8 件 ·
-
Passkey supportオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
nativescript-community/ble#279 · コメント 4 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
nativescript-community/ble#276 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
nativescript-community/ble#275 · コメント 6 件 ·
nativescript-community/ble の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
anthropics/claude-code#106183 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#60558 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信