rcvd

A JS library and a KaiOS 2.5.x application for BLE-enabled Casio watch time synchronization
git clone git://git.luxferre.top/rcvd.git
Log | Files | Refs | README | LICENSE

commit 992e6a683367d5cce182c3bdc81e39983083d022
parent 9a6d2acc314908b1c6e9b9daceed2bb29d464f68
Author: Luxferre <lux@ferre>
Date:   Fri, 23 Dec 2022 21:16:49 +0200

Added multiple supported models

Diffstat:
MREADME.md | 16++++++++++++++--
Mrcvd.js | 9+++++++--
2 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -18,14 +18,26 @@ RCVD is the missing KaiOS application and, first and foremost, a [JS library](rc ## Supported models - GW-B5600 -- DW-B5600 - GMW-B5000 +- MRG-B5000\* - OCW-T200 -- GM-B2100, GA-B2100 +- GWR-B1000\* +- GM-B2100 +- GA-B2100\* +- GST-B400\* +- GST-B500\* +- ECB-S100\* +- MSG-B100\* +- ECB-2000\* +- ECB-2200\* +- DW-B5600 - GA-B001 +- G-B001\* The list is incomplete and your watch may be supported too. Please [let me know](https://matrix.to/#/@luxferre:anonymousland.org) if this is the case! +\* *model theoretically supported but not checked by the author* + ## How to use the app 1. Ensure your phone time is synced from the network. diff --git a/rcvd.js b/rcvd.js @@ -85,9 +85,14 @@ RCVD = (function(nav) { plgen = k => [...Array(6)].map((a,i)=>[k,i]), //property list generator cyclePresyncProperties = _ => new Promise((res, rej) => { var slist = [...plgen(30),...plgen(31)] //full property list for primary targets, GW-B/GMW-B models - if(watchModel.indexOf('OCW') > 5) + if(watchModel.indexOf('OCW') > 5 || watchModel.indexOf('GWR-B1000') > 5) slist = [[30,0],[30,1]] - else if(watchModel.indexOf('B2100') > 5 || watchModel.indexOf('B001') > 5 || watchModel.indexOf('DW-B5600') > 5 ) + else if(watchModel.indexOf('B2100') > 5 + || watchModel.indexOf('B001') > 5 + || watchModel.indexOf('DW-B5600') > 5 + || watchModel.indexOf('GST-B') > 5 + || watchModel.indexOf('MSG-B') > 5 + || watchModel.indexOf('ECB') > 5 ) slist = [[30,0],[30,1],[31,0],[31,1]] var plist = [[29,0], [29,2], [29,4]].concat(slist); //populate the props list (function cycle() {