Change from widget to to bootloader

pull/542/head
jonathan 2020-08-18 11:29:15 +01:00
parent ffc057654b
commit 536eeb1679
6 changed files with 19 additions and 22 deletions

View File

@ -2130,14 +2130,14 @@
{"name": "counter.img", "url": "counter-icon.js", "evaluate": true} {"name": "counter.img", "url": "counter-icon.js", "evaluate": true}
] ]
}, },
{ "id": "widgattbat", { "id": "bootgattbat",
"name": "BLE GATT Battery Service", "name": "BLE GATT Battery Service",
"shortName":"BLE Battery Service", "shortName":"BLE Battery Service",
"icon": "bluetooth.png", "icon": "bluetooth.png",
"version":"0.01", "version":"0.01",
"description": "Adds the GATT Battery Service to advertise the percentage of battery currently remaining over Bluetooth.\n", "description": "Adds the GATT Battery Service to advertise the percentage of battery currently remaining over Bluetooth.\n",
"tags": "battery,ble,bluetooth,gatt,widget", "tags": "battery,ble,bluetooth,gatt",
"type": "widget", "type": "bootloader",
"readme": "README.md", "readme": "README.md",
"storage": [ "storage": [
{"name":"gattbat.boot.js","url":"boot.js"} {"name":"gattbat.boot.js","url":"boot.js"}

View File

@ -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)

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -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