StretchSense is a global supplier of soft sensors. These soft sensors are perfect for measuring the complex movements of people and soft objects in our environments.
The StretchSense iOS API has been developed to demonstrate how to establish a connection between a one or more StretchSense Fabric Evaluation circuits and a BLE enabled iOS device. The platform was developed using XCode 7.3 with Swift 2.2. This project and additional examples are available on StretchSense's Github Page http://github.com/Stretchsense.
The StretchSense iOS API includes a Library.swift file which can be included in an iOS developed project to enable BLE communications with a StretchSense Fabric Evaluation circuit. The API also includes two example projects that demonstrate the usage of the library when connecting either a single or multiple circuits simultaneously.
This library has been developed exclusively for Bluetooth 4.0 (BLE), also known as Bluetooth Low Energy. Compatible devices and sensors are listed below.
Only the StretchSense Fabric Evaluation circuit is compatible with the support library. http://stretchsense.com/evaluation-kits/fabric-stretch-sensor-evaluation-kit/
BLE was first introduce in 2012 and requires a minimum operating system version of iOS 8.0
The following iPhones, iPads and iPod use Bluetooth 4.0:
- iPhone 4s, 5, 5c, 5s, 6, 6 Plus
- iPad 3rd generation, 4th generation, Mini, Mini 2, Mini 3, Air, Air 2
- iPod Touch 5th generation
The 'StretchSense Bluetooth LE iOS Communication Library' is available under the MIT License attached within the root directory of this project.