Use Kable with a platform native ScanResult? #936
-
|
Are there any ideas around using Kable with an already connected peripheral? Context: I want to introduce Kable into an existing codebase (Android and iOS) that already uses platform native APIs to communicate with a BLE peripheral. It is what one might call a legacy codebase. Now we are introducing a new version of the peripheral and for this I want to use Kable for communicating with it. However, the app would still need to continue supporting the older version of the peripheral using the existing legacy code. The way I envision this is:
This would require "entering the Kable flow" differently from the existing APIs. Specifically, it would require handing off a platform-specific scan result object to Kable. This is in essence the opposite of #905. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Is #937 what you had in mind? |
Beta Was this translation helpful? Give feedback.
Is #937 what you had in mind?