Skip to content
Titanium SDK

appcelerator.ble

A collection of API's to connect and communicate with BLE compatible devices via Bluetooth LE

1.0.0AndroidiOSFeb 1, 2021Not the current release →

Install

A module is a zip you unpack in your project. There is no installer command yet - a ti module install is planned but does not exist today, so the steps below are the ones that work.

  1. 1. Download the release archive

  2. 2. Unpack it at your project root

    cd /path/to/your-project
    unzip ~/Downloads/appcelerator.ble-android-1.0.0.zip
    unzip ~/Downloads/appcelerator.ble-iphone-1.0.0.zip

    The archive already contains the full path, so it lands in place:

    • modules/android/appcelerator.ble/1.0.0/
    • modules/iphone/appcelerator.ble/1.0.0/
  3. 3. Add it to tiapp.xml

    <modules>
      <module platform="android" version="1.0.0">appcelerator.ble</module>
      <module platform="iphone" version="1.0.0">appcelerator.ble</module>
    </modules>

    The platform attribute is the packager’s name for the platform, which is iphone for iOS - the same word the archive uses in its own path.

  4. 4. Require it from your app

    const mod = require('appcelerator.ble');

Manifest

Android 1.0.0

Minimum SDK
9.0.0
Module API version
4
Architectures
arm64-v8a, armeabi-v7a, x86, x86_64
GUID
8d0b486f-27ff-4029-a989-56e4a6755e6f
Author
Axway
License
Proprietary
Copyright
Copyright (c) 2020 by Axway Appcelerator

iOS 1.0.0

Minimum SDK
9.2.1.GA
Module API version
2
Architectures
armv7, arm64, i386, x86_64
GUID
8d0b486f-27ff-4029-a989-56e4a6755e6f
Author
Axway
License
Proprietary
Copyright
Copyright (c) 2020 by Axway Appcelerator
Mac Catalyst
not supported

API reference

This release was published without compiled API documentation - most were. The module’s current reference covers the same API, though it describes a later version.