Hi! im developing an alarm system based on bluetooth 4.1 devices. The thing is that i need to make a call and send an SMS when the user press a button on the bluetooth device.
Sorry for the newbie question, but is it possible to make a call even when the phone is blocked? (screen off).
I just need you to point me in some direction to do this, im not searching for someone to do this job for me.
You can use PhoneWakeState.KeepAlive (Phone library) to turn on the screen.
However the real question is how you are intercepting the bluetooth event. If you are using SPP (serial library) then you will need to keep the process running all time. Search for background tasks for more information.
I plan on using a service running listening to an advertising data from a BLE beacon. When this info change to a certain string, then the phone have to make a call.
Thanks for your reply Erel, will this impact too much on the battery life?
Im thinking this way to do the connection because it is not necesary to make a connection to the beacon, i assume that this way will impact less on the battery usage, just like stores make advertising on phones using ibeacon.
Im thinking this way to do the connection because it is not necesary to make a connection to the beacon, i assume that this way will impact less on the battery usage, just like stores make advertising on phones using ibeacon.