Sensirion / arduino-ble-gadget

Create your own Do-It-Yourself BLE enabled sensor gadget on the ESP32 platform.
BSD 3-Clause "New" or "Revised" License
63 stars 20 forks source link

Receive Date / Time from Smartphone #9

Open urs8000 opened 2 years ago

urs8000 commented 2 years ago

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); ;-)

MBjoern commented 2 years ago

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.

urs8000 commented 2 years ago

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

MBjoern commented 2 years ago

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.