elinkthings / AiLinkSecretFlutter

MIT License
2 stars 0 forks source link

AiLink Package Example Not Working with Kitechn Scaler Device #1

Open flutter-vrinsoft opened 1 month ago

flutter-vrinsoft commented 1 month ago

Description: I am encountering issues while using the AiLink package to connect to a Kitechn scaler device. Despite following the provided example code and ensuring that all necessary permissions are granted, the application fails to detect or connect to the device.

Steps to Reproduce:

  1. Setup:

    • Clone the AiLink example repository.
    • Ensure you have installed all the required dependencies.
  2. Permissions:

    • Verify that the following permissions are added to the AndroidManifest.xml:
      <uses-permission android:name="android.permission.BLUETOOTH"/>
      <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
      <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  3. Initialization:

    • Initialize Bluetooth in your application:
      FlutterBluePlus flutterBlue = FlutterBluePlus.instance;
  4. Scanning:

    • Start the scan process using the provided example code:
      FlutterBluePlus.startScan();
  5. Device Filtering and Compatibility:

    • Ensure that the Kitechn scaler device is powered on and broadcasting data.
    • Verify that the device is compatible and broadcasting in a format that the AiLink package can interpret.

Observed Behavior:

Expected Behavior:

Additional Information:

Request:

Please provide an updated, working example for connecting to the Kitechn scaler device, including:

3279745d-b646-422e-a857-c3bb8f32810e

elinkthings commented 1 month ago

Description: I am encountering issues while using the AiLink package to connect to a Kitechn scaler device. Despite following the provided example code and ensuring that all necessary permissions are granted, the application fails to detect or connect to the device.

Steps to Reproduce:

  1. Setup:

    • Clone the AiLink example repository.
    • Ensure you have installed all the required dependencies.
  2. Permissions:

    • Verify that the following permissions are added to the AndroidManifest.xml:
      <uses-permission android:name="android.permission.BLUETOOTH"/>
      <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
      <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  3. Initialization:

    • Initialize Bluetooth in your application:
      FlutterBluePlus flutterBlue = FlutterBluePlus.instance;
  4. Scanning:

    • Start the scan process using the provided example code:
      FlutterBluePlus.startScan();
  5. Device Filtering and Compatibility:

    • Ensure that the Kitechn scaler device is powered on and broadcasting data.
    • Verify that the device is compatible and broadcasting in a format that the AiLink package can interpret.

Observed Behavior:

  • The Kitechn scaler device is not detected by the application.
  • The application does not establish a connection with the Kitechn scaler device.

Expected Behavior:

  • The application should detect the Kitechn scaler device.
  • The application should successfully establish a connection with the Kitechn scaler device and retrieve data.

Additional Information:

  • A video demonstration of the issue: [Link to Video]
  • Screenshots of the issue: [Link to Screenshots]

Request:

Please provide an updated, working example for connecting to the Kitechn scaler device, including:

  • Proper setup instructions.
  • Necessary permissions and configurations.
  • Steps to verify the device compatibility and connection process.
  • Screenshots and Videos of the Working Demo

3279745d-b646-422e-a857-c3bb8f32810e 3279745d-b646-422e-a857-c3bb8f32810e

The ailink library only supports devices from elinkthings.

flutter-vrinsoft commented 1 month ago

We are using product from ELink Things. Let me give you screen shots and video regarding my issues.

image Video
Media

As you can see in attachment we are suing kitchen Scaler product ( Called Nutrition Scale while scan in Android App) we are using this alink package to connect it. but from code we found that this example is made only for product from eLink Named "Body Fat".

One more thing when i use Alink app eveythings is working fine. you can see in video attechment. follow below step to connect with it using app. (given in box)

image Video
Media (2) Media 1

This is i think maded in native.

We want just simple example from you side where you can connect this same device and upload that code in git. Let me draw your attention why this is important project for you as well. our company going to buy same product for more then 1000 store and each store have more then 3 scaler. so this we be going to game changer thins for you.

so your support is required. also let us know how we can connect you directly. like on skype, team, meet, etc.