Coder Social home page Coder Social logo

qase / ble_prototype_ios Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 0.0 69.78 MB

Two demo projects created for testing CoreBluetooth on iOS platform.

License: MIT License

Swift 88.54% Objective-C 1.11% Ruby 10.35%
ios swift bluetooth master-slave qase

ble_prototype_ios's Introduction

BLE prototype apps for iOS

Workspace contains two demo projects created for testing CoreBluetooth on iOS platform.

  • Master (Central) App
  • Peripheral App (with background support)

Testing (requires two iOS devices with enabled bluetooth)

  1. Install Peripheral App on first iOS device
  2. Launch Peripheral App
  3. Put app in background mode by pressing home button
  4. Install Master App to second iOS device
  5. Launch Master App

Repeatable steps:

  1. Connect to peripheral by tapping on row with peripheral device
  2. Send date by swiping left on device and clicking "Send date"
  3. Alert with "Data send" should be displayed
  4. Finally If peripheral application is alive and works correctly also alert with "New characteristic value" should be displayed

Known problems

  • Peripheral App does not survive in background when user launches multiple apps and system decides that Peripheral App should be deallocated from memory. Expected behavior is that device keeps advertising and is relaunched when new BLE connection occurs

Note: You can recognize that app was deallocated from memory, by having peripheral app connected to debugger. When deallocation occurs you'll see following message in Console Output "Message from debugger: Terminated due to memory issue"

ble_prototype_ios's People

Contributors

david2xn avatar jakubprusa avatar kidal5 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.