jicang / healywatch_reactive

ff
0 stars 3 forks source link

Gap between setting connected device & setting isConnect value #67

Closed BradKwon closed 2 years ago

BradKwon commented 2 years ago

device variable in _bluetooth_connectionutil.dart is used to get connected device in _healy_watch_sdkimpl.dart.

And isConnect variable in the same _bluetooth_connectionutil.dart is used to check if a device is connected in the same _healy_watch_sdkimpl.dart as the above variable.

In connect() function of it, this isConnect is set after enabling notification unlike setting device. Although the gap between these is about 20ms, there is a possibility that it is hard to ensure these are same. So I would suggest to make them synced e.g. by setting them at once so we can ensure these are same.

If there is a reason for that, please let us know why isConnect should be set after enabling notification. Then we can avoid assuming both are same.

Danny23523 commented 2 years ago

The gap generated because the app need to change to isconnect when app received the response from Device. The process is App enabling notification, device received the command and response the app, then app will change to isConnect.

BradKwon commented 2 years ago

Thanks for feedback. Then the confusing point is then getConnectedDevice() in _healy_watch_sdkimpl.dart, which uses device variable, will return actually not completely connected device.

I see there is an explanation in comment of this method though. Based on the name itself, it should return completely connected device, not return device connected which I cannot guarantee if it will work.

What do you think?

Danny23523 commented 2 years ago

The engineer will change the code, please check if it works later.

Danny23523 commented 2 months ago

Hi notifications,

 

It's Leo from J-Style again, how are you doing?   The core product we would like to introduce is our smart health rings, as you may know, nowadays many big brands has launched or planning to launch their rings, such as Apple, Samsung, OPPO, Amazfit, etc. We believe there is a big market for the smart rings this year in the smart wearable filed.  

Below some brief information of our rings (model 2301B) for your reference:

Best regards   Leo Lee | Customer Manager| Tel:+86 15521509424 Joint Chinese Ltd. 

Web:www.jointcorp.com(http://v5zhui.realurl07.cc/track/redirects?sign=7e8ONUNdyhzVfXjLC%2FGt0jfpVFex%2FxJv&m=22237773287665

R&D Base: Building 40-2, Zhongjizhigu Tech Park, Nanshan Road, Songshanhu, Dongguan, Guangdong, P.R China Factory Add: Building 4 & 6, Huafeng Tech Park, Guangtian Road, Luotian Industrial Area, Songgang Town, Bao’an District, Shenzhen, P.R China

Factory Qualification: ISO13485,ISO14000,ISO9001,FDA,BSCI,Target, Walmart factory auditing

If you no longer wish to receive these emails, click on the following link:https://getter.autobegan16.com/unsubscribe?t=KgLUfWf18dS5MuHFY%2F%2FwNXpc8l%2BeCnSne0jfdDssVuE6A6wKdWS0z3KtuCfBn3J0t8URD75lqUvKbhaVlEwnx1mK4DMXpIQQ1%2BQrcsdTW7WvVt7hhC%2F%2B%2F3%2F03hGcCmco5%2FZ4R9XYCMU%3D>

Danny23523 commented 2 months ago

Hi notifications,

 

It's Leo from J-Style again, how are you doing?   The core product we would like to introduce is our smart health rings, as you may know, nowadays many big brands has launched or planning to launch their rings, such as Apple, Samsung, OPPO, Amazfit, etc. We believe there is a big market for the smart rings this year in the smart wearable filed.  

Below some brief information of our rings (model 2301B) for your reference:

Best regards   Leo Lee | Customer Manager| Tel:+86 15521509424 Joint Chinese Ltd. 

Web:www.jointcorp.com(http://v5zhui.realurl02.cc/track/redirects?sign=7e8ONUNdyhzVfXjLC%2FGt0jfpVFex%2FxJv&m=22238025021770

R&D Base: Building 40-2, Zhongjizhigu Tech Park, Nanshan Road, Songshanhu, Dongguan, Guangdong, P.R China Factory Add: Building 4 & 6, Huafeng Tech Park, Guangtian Road, Luotian Industrial Area, Songgang Town, Bao’an District, Shenzhen, P.R China

Factory Qualification: ISO13485,ISO14000,ISO9001,FDA,BSCI,Target, Walmart factory auditing

If you no longer wish to receive these emails, click on the following link:https://getter.autobegan16.com/unsubscribe?t=KgLUfWf18dT5qKfgedu8YmKp5%2FBX%2BpCdeKT7DqOsEvXIsuOp3CSebrPI3z9T2YL22Mh37g%2FBjgEMN%2FfjpqlBBW5KUgJVVWOKP13XHW%2B9rLSdaag0hhkYHeD%2Bf2jJPaI3zceCCBxtTZA%3D>

Danny23523 commented 1 week ago

Hello notifications,   Greetings! How have you been?   This is Molly from J-Style, one of the top ring professional manufacturer with own R&D Dep, all of the health management product are developed by own engineer, so we are able to provide any kind of the ODM or OEM service, even assembly the ring for you if you have your own design.   We are pleased to present you with the non-invasive glucose risk assessment smart ring, which is currently very popular in the market and is also the best-selling product in our company.   Please check details of our ring as below, if interested in, Welcome to send us your feedback, we will do our best to support.   J-Style Smart Ring key features and advantage of our rings (Model: 2301B):   • Pioneer in Glucose Risk Assessment: World's first smart ring with non-invasive glucose risk assessment.   • Sensorless Comprehensive Health Monitoring: 24/7 real-time monitoring of HR, SpO2, HRV, exercise, stress, body temperature, and blood glucose.   • Automatic Sleep Tracking: Monitors sleep stages (light/deep sleep, REM), sleep onset, and wake-up times.   • All-Day Activity Tracking: Includes pedometer, calorie consumption, distance, and daily goals.   • Women's Health Cycle Management: Covers menstruation and pregnancy.   • High-Precision Sensor and Patented Algorithm: Utilizes clinical-grade precision sensor and patented core algorithm.   • Lightweight and Stylish Design: Weighs approximately 3 grams, available in rose gold, space silver, and black.   • High-Performance and Low-Power Chip: Equipped with Nordic nRF52840 chip for high performance and ultra-low power consumption.   • Ultra-Long Battery Life and Fast Wireless Charging: 7 to 13 days battery life, less than 1-hour charging time, supports wireless charging.More better performance than Samsung Galaxy Ring.   • Supported OTA Upgrade: Provides wireless software update functionality.   • Outstanding Waterproof Performance: 5ATM level waterproof, suitable for various daily life occasions.   Welcome to try our samples, more new gens of rings will be launched this year, and I'll keep you updated.   If you have any questions or comments, feel free to leave a message. Thank you for your time.   Best Regards,  

 

 

 

Molly Ou | Customer Manager Mob/WeChat/WhatsApp/ Skype : +86-18877525911  @.*** Joint Chinese Ltd. 

Web:http://email.prod.mailfamilyunited.com/c/eJxckElv2zAQhX8NdZNADclQOfAQL0FjFG1S122cS8BN1i6ZlUTJv76Q0AUtMHN4g_keZp4RKdZcMxZYEXOgHBJMWJAJMJToREmeplLexUobo_Q941RbjkmiglwABooT4JhgHrNImUQaq42NtaZ3kiCKO9eaqJZ5lco6r-ahyXtrIt3WQSW891HR5k2vW9ets3oOR-kE4hsE8Bp-nTsbPjVpiwAQeUAAi9NlaN5ll7__77oswXYFt8OPvq2tC5_MHxSRrSlOw8vpcfOr96Z4uP9Y_tZMnmtzeD6yRZ81_rZXpY71Da_M9w-fHs_14fi2-8t8gcPn0-uLfz6yQjVZ_-YR2S1F8T9_IbJfDuC7wAlnu2pGsJGTLzuXqoua_ECpnUboypuXqbuy0Y6qyTJbeJjoFVG8QtEl77NBrUGNAn4GAAD__7mKjVA(http://email.prod.mailfamilyunited.com/c/eJxckVuL4kwQhn9N587QVnen40UuRmP4Rj52dRx3dG6GPsW05mSbg_HXLwl7gIWqghfqgYcqHaVYccWYZ6I5B8ohxIR5WZTSBTV4EQpKQznHMsCKBYRqnHIAScCzEWCgOASOCeZz5ksdCm2UNnOlaCAIorh2lfYLYfNUFDYf2tI2RvuqKrw8ypqmRuQFQYIg6dgza63vjMhbl2PiK4UgaZxQVwSJM9o6o5o7IsndnktE4lu__TBDoAJewaBu-zd23DpKETBI4t3xPXCLHkFQIBJDgCkL-TgIIV4xzDrhIsSXCOA4ex9qM3st0woBTDow-p7b8kvU9utf93EJVhO4au9NVRg3e9V_UERW-nJod4dk-avX-vKy-P_6OzNxKvRmu2djPin8Yy2vaq6eeGI-_vuWnIrN_jP-y7zB5vvhuOu3e3aRZdZ89ojEY1F8qWzZqMrV40URWY8CPPZc5EydDwiW4tFfa5fKs3z0LaXm0UF9ffYidTfWmU6WWWYuPTzoDVE8Qf7ZNlkrpxd1EfwMAAD__5paqTc

R&D Based: Building 40-2, Zhongjizhigu Tech Park, Nanshan Road, Songshanhu, Dongguan, Guangdong, P.R China Factory Add: Building 4 & 6, Huafeng Tech Park, Guangtian Road, Luotian Industrial Area, Songgang Town, Bao’an District, Shenzhen, P.R China

Factory Qualification: ISO13485,ISO14000,ISO9001,FDA,BSCI,Target, Walmart factory auditing