|
kindlebt
Bluetooth functionality for Kindle 11th gen and up
|
This project makes use of koxtoolchain, kindle-sdk and Meson.
The SDK is really just a combination of koxtoolchain, which provides a cross toolchain for a given Kindle system, and a kindle-sdk install on top, which provides the proprietary C libraries included in a given Kindle device + firmware version.
There are basically two choices here, either use a prepackaged release, or build koxtoolchain + kindle-sdk yourself.
I build and prepackage a few SDK versions. This includes a packaged koxtoolchain + kindle-sdk for a given device/firmware version. You can find these in the kindle-sdk's releases tab.
Here an example for using the scribe1-5.17.3 SDK target:
If the kindle-sdk targets I'm building don't work for you, you can build your own. For that, I recommend looking at the kindle-sdk README.
koxtoolchain also provides prebuilt packages that you can just extract. Unless for some reason you really need to build koxtoolchain, it is recommended you get the latest from their releases tab and unpack. koxtoolchain builds will often fail due to flaky network requests, and even when successful, will take around 30 minutes to complete.
Once you have the SDK set up, you'll need to set up Meson. The steps for your system will depend, so refer to the Meson installation. If using Nix, the provided shell.nix will do the trick.
Once you have the system dependencies figured out, we can finally move into building kindlebt with Meson: