Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
/ BLE_Prototype_iOS Public archive

Two demo projects created for testing CoreBluetooth on iOS platform.

License

Notifications You must be signed in to change notification settings

Qase/BLE_Prototype_iOS

Repository files navigation

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"

About

Two demo projects created for testing CoreBluetooth on iOS platform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •