Giter VIP home page Giter VIP logo

bluefruit_le_connect's Introduction

Bluefruit LE Connect - DEPRECATED

This repository is no longer supported or maintained - For the latest version of this app go to - https://github.com/adafruit/Bluefruit_LE_Connect_v2

iOS app for use with Adafruit's Bluefruit LE hardware line

Pick up a breakout to use along with this app here: http://www.adafruit.com/products/1697

Project tutorial: http://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout

In progress!

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Important!

Open this project in Xcode by using the .xcworkspace file and not the .xcodeproj file

bluefruit_le_connect's People

Contributors

antonio-openroad avatar collincunningham avatar ladyada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluefruit_le_connect's Issues

App hangs when too much data is received

I have a device sending data over the simulated serial link at a relatively fast rate (15 packets per second). After a around 10-20 seconds of use the display in the app slows down, then the app hangs and stops responding to touches. Clearing the display before the slowdown occurs appears to avoid the issue.

Greetings!

Hello,

I am including Adafruit's BLE breakout board into my projects now. I completed the first one successfully and I'm moving into building the iOS and Android apps. Well, IOS App first...

In any case, I am studying your code to base mine on the UART service. When I try to run it on Xcode, the build fails. Is this the latest version?

Thank you!

Bluefruit Library

Hi,
I already downloaded the entire project but I need to create my own project from scratch. Is there a folder with all the files that I need to import in my project?
Thank you.

iPad differs from iPhone

On the iPhone, if you filter out the devices based on signal strength, anything not matching the filter is removed from the list. If you use the same parameters on the iPad, it seems like anything advertised with terrible signal strength still makes the list. I would assume this has to do with an RSSI coming through that's a false positive value, and somehow this is managed on the phone differently than the iPad.

moscapsule.swift

Two errors are received one of them is expressions are not allowed at the top level, and the other one is expecting member name or constructor call after type name Xcode version 7.1

screen shot 2015-09-20 at 5 00 54 pm

Build Failed!

Build Failed with Code 7.2
No such module 'Moscapsule'

Add DFU mode firmware updates

The Android app allows customers to 'debrick' devices stuck in DFU mode by uploading a custom firmware image when running in DFU (constant blinky), as described here: https://learn.adafruit.com/introducing-adafruit-ble-bluetooth-low-energy-friend/faq#faq-8

Unfortunately, the iOS Bluefruit LE app doesn't have this possibility, and the nRF Toolbox app for iOS is already really annoying to use since you now need to make a .zip with specific filenames inside it for the firmware and init files, etc.

Adding custom firmware update for devices running in DFU mode (advertise as DfuTarg) would be good to add to iOS to help customers restore devices where the fimware was killed for some reason. Today, you go straight to the 'Info' screen with no option for a firmware update.

To simulate this, simply insert a board holding the DFU button down, and you should enter DFU mode, indicate by the LED giving you no stop blinky, and you'll see the device advertised as DfuTarg in Bluefruit LE Connect.

Signing issues / iCould

Hi everybody,

I want to run the program on my iPad, but I have two issues :
No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.linox.bluefruitconnect” were found.

And when I click on fix it I have this : The 'iCloud' feature is only available to users enrolled in Apple Developer Program. Please visit https://developer.apple.com/programs/ to enroll. There was an error while interacting with the Developer Portal (9999, 4100).

At first I turned off the iCloud capabilities of the project, but now, i cannot check it anymore as it has disappeared from my target capabilities menu.

Any help please ?

Note : I don't have a developper account as I only need to use the app on my iPad without iCloud (I just need the BLE) the programs works on the simulators, but issues on the ipad.

Old version

Hi there, nice work!!!! I would like to know if is possible to download old version without swift language.
Thanks

Q: Are rx/tx characteristics guarantied to be provided for nRF8001-board?

Hi, I've read https://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout/adding-app-support

UART Service UUID: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E
TX Characteristic UUID: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E
RX Characteristic UUID: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E

Does it mean you've created custom BLE service with custom characteristics and the firmware is uploaded to your nRF8001 boards that are in stock (https://www.adafruit.com/products/1697)?

Is it nRF8001-specific service (and developed not by Adafruti) or it's created and uploaded by Adafruit?
I'm going to purchase that board and use for my iOS app.

One more question (not sure it's for your but for hardware engineer likely but probably you can know the answer):
I can't see Rx/Tx pin at https://www.adafruit.com/images/970x728/1697-04.jpg, so how can i wire it to my Arduino serial Rx/Tx pins?

Navigation Bar occasionally disappears

Randomly when connecting to a device the navigation bar fails to load which means you cannot disconnect from a device or return to the previous panel when you are for example in the color picker.

It appears to happen when you enter the controller panel as there is no navigation present there and you use the silver X to exit that screen. If you upload a new sketch while on the controller panel when the unit resets you are disconnected, this kicks you back to the device selection screen with a popup notification but the navigation bar does not return.

An App ID with Identifier 'com.adafruit.bluefruitconnect.watchkitapp.watchkitextension'

Hi,

I downloaded the document and opened the workplace. When running on the simulator it works fine, but when I want to run it on my iPad, I have this error
An App ID with Identifier 'com.adafruit.bluefruitconnect.watchkitapp.watchkitextension' is not available. Please enter a different string

When I set up my profile, this another error pops out
The 'iCloud' feature is only available to users enrolled in Apple Developer Program. Please visit
https://developer.apple.com/programs/ to enroll.

Any solution ?
Note that I do not have a developer account as I do not need to pusblish on the App Syore
screen shot 2015-11-13 at 21 25 11

Xcode 6.1.1 syntax errors on cell.textLabel.text

Hello, I tried to compile the latest sources today in Xcode 6.1.1 and I got 3 error messages "UILabel? does not have a member named..." in DeviceViewController.swift and also a number of similar errors in ControllerViewController.swift.

I did some searching on the issue and I found out that renaming the lines with cell.textLabel to cell.textLabel! seems to fix the errors.

Need upgrade to Swift 3.0!

I've been trying to port the app to Swift 3.0 with no success. Is this planned to be done anytime soon?

"No Such module Moscapsule" in Xcode 7

When you try in Compile the the app in Xcode you You receive a error saying there's no such module Moscapsule. Appears to be the only error that currently is popping up. this error is in the MqttManager.swift on line 10

Build errors in `BLEInterfaceController.swift`

I downloaded the latest version, and opened it on Xcode 6.3.1. When I opened it, I got some build errors on line 79 of BLEInterfaceController.swift. I attached a screen shot. Hope this is helpful!

screen shot 2015-08-02 at 10 26 06 am

I get an error when try to run the project

Bluefruit_LE_Connect-master/Pods/Moscapsule/Moscapsule/Moscapsule.swift:377:39: Cannot invoke initializer for type 'UnsafePointer' with an argument list of type '(UnsafeMutableRawPointer!)'

Add Eddystone UUIDs

The latest firmware (0.6.6) includes support for EddyStone (UriBeacon 2.0), which introduces a set of custom UUIDs we don't currently have in the lookup table.

Stirngs should be added for all of the UUIDs present here: https://github.com/google/eddystone/blob/master/eddystone-url/docs/config-service-spec.md

Ideally, 'Eddystone' should be added in front of the names, so (in order of appearance in the link above):

Service

  • Eddystone Config Service

Service Characteristics

  • Eddystone Lock State
  • Eddystone Lock
  • Eddystone Unlock
  • Eddystone URI Data
  • Eddystone Flags
  • Eddystone Adv. TX Power Levels
  • Eddystone TX Power Mode
  • Eddystone Beacon Period
  • Eddystone Reset
  • Eddystone (Reserved)

Xcode 7.0 errors

Hi, I recently upgraded to Xcode 7.0, and now am seeing various errors when trying to compile & run this code. Xcode asks if you'd like to update the Swift syntax. I tried that (got some errors), also tried NOT doing that, and got other errors. None seemed simple enough for me to figure out, even with some googling. I'm pretty certain this can be easily reproduced by anybody running the latest Xcode 7.0, so I'm not including all the different errors messages, which are shown for each of the possible paths (updating to latest Swift syntax, not updating, etc). If others are successful running this code as-is on Xcode 7.0, please let me know, then I can dig deeper & provide more details.

Note: I am opening the .xcworkspace file & not the .xcodeproj file.

Thanks!

MqttManager.swift

Hi,

Running Xcode 7.1, I have the issue in MqttManager.swift, as show in the picture. How can I fix it ?
screen shot 2015-11-12 at 18 44 58

Return key needs to dismiss keyboard when entering name filter

Observed: When the user enters a name to filter, the keyboard does not dismiss when the return key is clicked.
Expected: The keyboard will dismiss

Quick Fix:
Implement the UITextFieldDelegate and setup the keyboard to show a done button. In the callback, resign first responder on the textField in the callback. :)

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.