Send a message from Android to pinetime via BLE

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?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Zephyr Backlight Examples for PineTime lcj 0 146 05-06-2023, 02:54 PM
Last Post: lcj
  Develop a new firmware for PineTime belushi 1 368 05-06-2023, 02:26 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 1,248 05-06-2023, 02:15 PM
Last Post: lcj
  PineTime Stuck in DFU Mode Eesha Barua 1 1,164 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 965 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,077 03-20-2022, 08:58 PM
Last Post: jandy
  "Pine64 USB JTAG Adapter + OpenOCD + PineTime" should it work? ITCactus 4 2,682 03-02-2022, 05:58 AM
Last Post: wibble
  Zephyr based Pinetime jandy 4 3,444 11-11-2021, 05:53 AM
Last Post: jandy
  Problems with pinetime watch face simulator Elements 0 1,550 08-18-2021, 03:05 PM
Last Post: Elements
  PineTime display and micropython danielt 17 19,336 05-07-2021, 12:15 PM
Last Post: danielt

Forum Jump:

Users browsing this thread: 1 Guest(s)