ESP32 BLE server need to send RTC time to client

Somusundram
Posts: 1
Joined: Mon May 25, 2020 9:49 am

ESP32 BLE server need to send RTC time to client

Postby Somusundram » Mon May 25, 2020 9:54 am

Hi all,

I have a ESP32 BLE server that need to send RTC timestamp to client for some purpose. However i tried to send via :

pCharacteristic_DOORLOCK->setValue(....);

Which only sends single value & that is string? My question is how to send a list of data? And how to receive or send int from server <> client vice-versa?

Waiting for your reply.

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 BLE server need to send RTC time to client

Postby chegewara » Mon May 25, 2020 1:16 pm

You have more options to set value:
https://github.com/espressif/arduino-es ... .h#L73-L79

Who is online

Users browsing this forum: No registered users and 115 guests