From 536eeb16798e26a4788acada4518719a834f444d Mon Sep 17 00:00:00 2001 From: jonathan Date: Tue, 18 Aug 2020 11:29:15 +0100 Subject: [PATCH] Change from widget to to bootloader --- apps.json | 6 +++--- apps/{widgattbat => bootgattbat}/ChangeLog | 0 apps/bootgattbat/README.md | 16 +++++++++++++++ .../{widgattbat => bootgattbat}/bluetooth.png | Bin apps/{widgattbat => bootgattbat}/boot.js | 0 apps/widgattbat/README.md | 19 ------------------ 6 files changed, 19 insertions(+), 22 deletions(-) rename apps/{widgattbat => bootgattbat}/ChangeLog (100%) create mode 100644 apps/bootgattbat/README.md rename apps/{widgattbat => bootgattbat}/bluetooth.png (100%) rename apps/{widgattbat => bootgattbat}/boot.js (100%) delete mode 100644 apps/widgattbat/README.md diff --git a/apps.json b/apps.json index cda049380..6e473c679 100644 --- a/apps.json +++ b/apps.json @@ -2130,14 +2130,14 @@ {"name": "counter.img", "url": "counter-icon.js", "evaluate": true} ] }, - { "id": "widgattbat", + { "id": "bootgattbat", "name": "BLE GATT Battery Service", "shortName":"BLE Battery Service", "icon": "bluetooth.png", "version":"0.01", "description": "Adds the GATT Battery Service to advertise the percentage of battery currently remaining over Bluetooth.\n", - "tags": "battery,ble,bluetooth,gatt,widget", - "type": "widget", + "tags": "battery,ble,bluetooth,gatt", + "type": "bootloader", "readme": "README.md", "storage": [ {"name":"gattbat.boot.js","url":"boot.js"} diff --git a/apps/widgattbat/ChangeLog b/apps/bootgattbat/ChangeLog similarity index 100% rename from apps/widgattbat/ChangeLog rename to apps/bootgattbat/ChangeLog diff --git a/apps/bootgattbat/README.md b/apps/bootgattbat/README.md new file mode 100644 index 000000000..3e559c0a5 --- /dev/null +++ b/apps/bootgattbat/README.md @@ -0,0 +1,16 @@ +# BLE GATT Battery Service + +Adds the GATT Battery Service to advertise the percentage of battery currently remaining over Bluetooth. + +## Usage + +This boot code runs in the background and has no user interface. + +## Requests + +If you have any suggestions or ideas please post in [this forum thread](http://forum.espruino.com/conversations/351959/), +or [@jjok](https://github.com/jjok) in your Github issue. + +## Creator + +[Jonathan Jefferies](https://github.com/jjok) diff --git a/apps/widgattbat/bluetooth.png b/apps/bootgattbat/bluetooth.png similarity index 100% rename from apps/widgattbat/bluetooth.png rename to apps/bootgattbat/bluetooth.png diff --git a/apps/widgattbat/boot.js b/apps/bootgattbat/boot.js similarity index 100% rename from apps/widgattbat/boot.js rename to apps/bootgattbat/boot.js diff --git a/apps/widgattbat/README.md b/apps/widgattbat/README.md deleted file mode 100644 index db4d150af..000000000 --- a/apps/widgattbat/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# BLE GATT Battery Service - -Adds the GATT Battery Service to advertise the percentage of battery currently remaining over Bluetooth. - -## Usage - -Describe how to use it - -## Features - -Name the function - -## Requests - -Name who should be contacted for support/update requests - -## Creator - -Jonathan Jefferies