Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hansemannn/titanium-bluetooth

📡 Native iOS / Android Bluetooth support for the Axway Titanium SDK
https://github.com/hansemannn/titanium-bluetooth

android appcelerator bluetooth ios native titanium

Last synced: 3 months ago
JSON representation

📡 Native iOS / Android Bluetooth support for the Axway Titanium SDK

Awesome Lists containing this project

README

        

# Bluetooth in Appcelerator Titanium
[![License](http://hans-knoechel.de/shields/shield-license.svg?v=1)](./LICENSE) [![Support](http://hans-knoechel.de/shields/shield-slack.svg?v=1)](http://tislack.org)

## Summary
Ti.Bluetooth is an open source project to support Bluetooth / BLE in Appcelerator Titanium.

## Requirements
- Titanium SDK 7+ for Android
- Titanium SDK 8+ for iOS
- iOS 10.0+ / Android 4.0.0+
- Xcode 11+

## Download + Setup

### Download
* [Stable release](https://github.com/hansemannn/ti.bluetooth/releases)
* Install from gitTio [![gitTio](http://hans-knoechel.de/shields/shield-gittio.svg)](http://gitt.io/component/ti.bluetooth)

### Setup
Unpack the module and place it inside the `modules/` folder of your project.
Edit the modules section of your `tiapp.xml` file to include this module:
```xml

ti.bluetooth

```
Add the following to your plist (only neccessary for iOS):
```xml


UIBackgroundModes

bluetooth-central
bluetooth-peripheral

NSBluetoothPeripheralUsageDescription
Can we connect to Bluetooth devices?

NSBluetoothAlwaysUsageDescription
Bluetooth device communication.

```

## Features
- [x] Create central managers, peripheral managers, descriptors, beacons, characteristics, centrals, services and requests
- [x] Start / Stop peripheral scanning
- [x] Send data between devices
- [x] Receive state events

## Documentation
An API documentation can be found in the [documentation folder](documentation).

## Example
> Please check [example/app.js](example/app.js) for an example. Use the documentation to see which API-features are available for each platform.

## Authors
- [x] Hans Knoechel ([@hansemannnn](https://twitter.com/hansemannnn) / [Web](http://hans-knoechel.de))
- [x] Michael Gangolf ([@MichaelGangolf](https://twitter.com/MichaelGangolf) / [Web](http://migaweb.de))

## License
Apache 2.0

## Contributing
Code contributions are greatly appreciated, please submit a new [pull request](https://github.com/hansemannn/titanium-bluetooth/pull/new/master)!