I have developed one application which will get connected with the iBeacon & will give notifications while user enters or exits from the iBeacon range.
Important Note :
I am using the inbuilt CoreLocation class to handle the iBeacon devices
Now with iBeacon device what I want to achieve is whenever any iOS device comes in the range of iBeacon it will send the pop up message to that device. It will be normal welcome message.
Kindly note that I do not want any application to get installed on that device. Still iBeacon should be able to detect the device through Bluetooth & send pop up message.
My question is, This is feasible ? If so how can It be able to send the pop up message to the any iPhone device that comes into range ?
Any hint or guidance will be highly appreciated.
Sorry, there is no way to trigger such a message if you don't have installed an application which listening for this.
Related
I'm developing an Android app that is a BLE central. I don't yet have access to the peripheral device. This would be a typical scenario for a virtual device simulator like LightBlue. I can scan and connect client-peri and I can enable notifications by writing the CCCD. If I use LightBlue's Time profile I can get Current Time characteristic notifications once per second. What I need to do is to add a custom characteristic and make that send notifications either at a specified interval or preferrably when pressing a button. How do I do that?
I'm also all ears for other methods or apps that can help me. I can't program my own peripheral app because I only have an iPhone and I don't have access to a development environment for iOS at the moment.
Hoping for insights!
thanks!
Is it possible to create an app where the message is automatically sent from one device to another when both the devices are in the same geo-location in predefined range or in the wireless points like Bluetooth?
I think there must be some way to do this. Please let me know if you have any idea about the same.
In peer-peer connection, It is not possible. When the user terminates the app everything goes with it.
But if you connect it with server, you could try to implement the behavior you are looking for with a push notification with content available, which gives you some time awake to download content in the background.
Squirrels on my balcony eat my jalapeƱos. I pointed a camera to the place where my jalapeƱos grow and using a simple motion detection software on my computer on the balcony I know when squirrels show up.
I figured out how to establish a Bluetooth Low Energy communication between my computer and my iPhone (my computer is the central and the smartphone is a peripheral).
Is there a way how to invoke a push notificaiton using Bluetooth Low Energy that shows up on my phone whenever my camera detects a squirrel? I want to know if it is possible without an Internet connection.
In a word, no. Push notifications require an internet connection. However, do you specifically want APNS, or do you just want a way to wake up your app and display a message to the user when you receive a BLE message from your computer?
I believe you can set up your iPhone app to get BLE notices from the background. If you can do that then you can code your app to trigger a LOCAL notification (different from a push notification, but similar in terms of the UX)
Do the likes of flic, tile and pebblebee implement their own ble services/characteristics ? Or are they using standard ble profiles ?
I'm building a ble device and would like to make the phone alert/ring when a button is pressed on the device and googling doesn't suggest a standard.
The simple answer, both devices have to have a immediate alert service exposed in order to have 2 way alerting.
I'm using a microchip rn4020 which wasn't scanning the central device for services, once I corrected that i could see the phone app was presenting the immediate alert service.
Hello I do hope someone can help me with this question as i thought it would be easy at first!
I'm a studying EE student who is not that good with code but trying!
Let me tell you my goal at the end of this.....
I would like to be able to open an app on the iPhone and then execute a bit of code to send a message, all via Bluetooth.
I would like to be able to pair this small Bluetooth device to the iPhone only once and be able for it to be in sleep mode (500 nano amps :D awesome) and when I turn it on (via a small switch) it will open an app and send that message. (the app is already done, you just have to press a button on the app in order to send the message, that's why I would like to use a Bluetooth device so you don't have to have the app open at all times!)
Sorry for the long paragraph but I need help! I have the Bluegiga BLE113 dev kit and im overwhelmed with all the information they give you! But I don't see anywhere where I connect to the iPhone and do what I want to do.
Has anyone done this before, can you steer me in the right direction?
As long as the person downloading the app has previously opened the app and they've agreed to backgrounding capabilities, then yes you can send the message in the background (if already connected). However, you cannot force your app into the foreground on a non-jailbroken iOS device.
Check out the BLE Transfer App sample code to get you started.
I guess what you need is:
the periperal implements the peripheral role
the app implements the central role
the app is trying to connect to the peripheral continuously (connectPeripheral:options:)
the peripheral wakes up on trigger and the phone connection request completes
the peripheral signals to the central using a characteristic change notification
the app receives the notification and executes the business functionality of your desire
the peripheral goes to sleep again
the app receives the disconnect event and starts a connectPeripheral:options: immediately
the app should utilize the new restoration feature of Core Bluetooth (watch the WWDC 2013 session 703 video)
This is just an outline and you need to know lots of small things to get it right. I suggest you try to go ahead and implement piece by piece and if you get stuck, ask a new questions. As #tdevoy suggested, the BTLE Transfer App is a good starting point. The Heart Rate Monitor is also a good source of info (OSX API is the same as the iOS).