Skip to content

WIFI Configuration ISSUE #41

Description

@Thidiyas3d

Hi,
We are in the process of integrating the TTLock WIFI Lock into our existing Flutter-based Home Automation ecosystem. As part of our feasibility testing, we have encountered challenges related to WIFI configuration. We would appreciate any guidance or support to help resolve this issue.

ISSUE:
Unable to configure WIFI information.
The configWifi() method succeeds by executing the success callback but it appears the network information is not updated on the Lock.
The wifi is 2.4ghz and no Gateway is involved.

Sample Code:

TTLock.initLock(map, (lockData) {
  print("init success....");
  TTLock.configWifi("DemoWifi", "DemoWifi1234", lockData, () {
    print("wifi config success....."); // This callback executes
  }, (errorCode, errorMsg) {
    print("wifi config failed.....");
  });
}, (errorCode, errorMsg) {
  print("init failed");
});

Unlock API call Response:
{
"errcode": -3034,
"errmsg": "Network not configed. Please config the network and try again.",
"description": "Wifi锁未配置网络,请配置网络后重试。"
}

Kindly, let us know if we are missing any required steps to successfully configure the network information on Lock.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions