arduino-ble-gadget icon indicating copy to clipboard operation
arduino-ble-gadget copied to clipboard

Receive Date / Time from Smartphone

Open urs8000 opened this issue 4 years ago • 3 comments

it would be useful receiving Date/Time from smartphone to display it localy on a display (e.g. ePaper) example: BLE_DateTime_String = gadgetBle.getDateTimeString(YYYYMMDDHHMMSS); ;-)

urs8000 avatar Oct 27 '21 16:10 urs8000

That would be great indeed. I understand the problem at hand. The feature would be dependent on the smart phone to be initialized after a power cycle. Are you using a BLE only Arduino board? Otherwise it would make sense to have an internet connection available to get the current time stamp, but this would require a stationary device in terms of WiFi.

MBjoern avatar Oct 28 '21 15:10 MBjoern

hi Bjoern I'm using all types of Arduino programmable devices, with and without WiFi/internet possibility. But in this case I thought this would be useful while measuring for e.g. in public transportation not having a responsive NTP connection, just using the BLE to MyAmbience also for storage and cool display

urs8000 avatar Oct 28 '21 17:10 urs8000

Hi there.

Thank you for your valuable feedback and application description. We'll keep it on the radar for now, but I can't give you any promises when and if this feature will be added to the library. In the mean time, this project is open source and open for Merge Requests, if you're planning to add the feature to this BLE library. At some point, it might be beneficial from our side to add a BLE protocol description, simplifying users to write their own mobile application for BLE data consumption.

MBjoern avatar Nov 01 '21 09:11 MBjoern