Skip to content

Commit 4d23f8d

Browse files
committed
Point bundled plugins README at the Embedded Swift sources
1 parent bead312 commit 4d23f8d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • Sources/BluetoothExplorerPluginEngine/Plugins

Sources/BluetoothExplorerPluginEngine/Plugins/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@
33
Each bundled plugin is a `<name>.wasm` module paired with a `<name>.bleplugin.json` manifest.
44
These are copied verbatim into the app bundle (and the Android APK) and loaded at launch by
55
`PluginManager.loadBundledPlugins()`.
6+
7+
The modules here are build artifacts. Their source lives in `PluginSDK/Examples/`, written in
8+
Embedded Swift against `BLEPluginSDK`. To rebuild and reinstall one:
9+
10+
```sh
11+
cd PluginSDK/Examples/BatteryLevel
12+
make install # builds for wasm32, runs wasm-opt -Oz, copies here, refreshes the manifest sha256
13+
```
14+
15+
See `Documentation/PluginABI.md` for the ABI and `PluginSDK/README.md` for authoring.

0 commit comments

Comments
 (0)