by F.
Version 1 (September 3, 2022)
Download (41 downloads)
Flow to store the locations where configurable bluetooth devices have been disconnected the last time.
[NO ROOT]
[PREMIUM]
This flow posts permanent notifications with the GPS location where specific bluetooth devices (e.g. a car handsfree) have been disconnected the last time. There are notification actions available for showing the locations in the default maps application.
The flow set contains 2 starting points - a service flow doing the processing and a configurator flow to administrate the options, which are stored persistently in a file.
It has been created and tested on a Google Pixel 4a (Android 11), so no warranties are given it will run smoothly on any other device.
Once the configurator flow modifies the settings, it provides them to the possibly running service flow within a broadcast message. Synchronization between the processing fiber and the blocking fibers monitoring the bluetooth connections and a possibly changed configuration in the service flow is done by applying 'Variables Give' and 'Variables Take' blocks.