Hello everybody!
I have a few questions concerning Android and BLE, specifically the DA14580 chip.
Let us assume I have a small data logger which I take with me to collect various
environment data, which I want to upload to my Android phone every time it gets
in the proximity.
Now, I now Android App can be opened by an established Bluetooth connection, so
so Android part is clear (establish connection, request data...)
As far as BLE goes, what would be required on this side? I am using an external
microcontroller with DA14580 for the BT software and stack.
How to connect automatically to a device which was discovered (which I already paired
with earlier on)?
How to request a list of devices in the proximity from the DA14580?
How to save power? If I leave my BT chip on for an hour after I've done logging my data,
I will waste a lot of power... Can I use the deep sleep and wake up if a device was discovered?
^ OK this question might be a bit far fetched, but someone might have a good idea.
Thanks!
Hi,
We need to create a simple remote control, for example to remotely control lights. I want to have a DA14580 both in the keyfob as the transmitter (peripheral role?), and as the receiver in the stationary lamp (central role?). Can you help me with which example project I would be best off using for this?
What I do not understand is how the power modes and connection would work in the keyfob device. I guess in order to keep current consumption low, it must go to sleep mode when not in use. But when you press the button, you want the device to wake up, connect and transfer the command very quickly, lets say within 0,5s
BR
Roger
FYI, I have used both the beacon project, and the DSPS (peripheral and central) with nice performance, but I guess neither of these really meets a remote control scenario?
- I guess the beacon meets the power consumption needs, and that I can generate a transmit package when a button is pressed, BUT what project would I run on the central role part in order to always be ready to receive such a package (which would come at any random time)?
- I guess the DSPS provides a nice link for sending commands (for example a button press), but how to get the power consumption down on the peripheral side?