PINE64
Send a message from Android to pinetime via BLE - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: Development Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=136)
+--- Thread: Send a message from Android to pinetime via BLE (/showthread.php?tid=17564)



Send a message from Android to pinetime via BLE - razrosman - 11-05-2022

Hi,

I would like to send an integer number from a flutter app on adnroid to pinetime, but don't know how to use the ble service.

I've already managed to develop a flutter app on my android device that sends a notification to pinetime.
I've also managed to flash a new application to pinetime.

Now, I want to send an integer message (not a notification) to my new app.

What will be the best way to do so? and do you have any example code to share?

THanks,
RAz