Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hansemannn/titanium-bluetooth
- Owner: hansemannn
- License: other
- Created: 2016-12-19T21:48:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-14T19:12:08.000Z (over 2 years ago)
- Last Synced: 2024-07-30T04:58:25.536Z (3 months ago)
- Topics: android, appcelerator, bluetooth, ios, native, titanium
- Language: Objective-C
- Homepage:
- Size: 31.2 MB
- Stars: 45
- Watchers: 12
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
```xmlti.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)!