ttlock / Android_SDK_Demo

TTLock is a global provider of solutions for smart locks. We provide PCBA and softwares for lock manufactures and end users. We provide open API/SDK for developers. With these APIs/SDKs, you can develop your own applications to manage smart locks. The SDK here is for mobile app to communicate with locks via bluetooth.
23 stars 24 forks source link

What is the account and password when starting the app? #16

Open InesBorgesCore opened 3 years ago

InesBorgesCore commented 3 years ago

I downloaded the zip to run the application on my mobile device but it asks me for an account and a password. What are those credentials? How do I get an account and a password?

qingfeng-zhang commented 1 year ago

I used the same account https://cnopen.ttlock.com/manager/28404 and set the client ID

public interface ApiService {

//public static final String CLIENT_ID = "439063e312444f1f85050a52efcecd2e";

// public static final String CLIENT_SECRET = "0ef1c49b70c02ae6314bde603d4e9b05"; public static final String CLIENT_ID = "33eadf9144f5450ea4bb4bc86450dba6"; //jack public static final String CLIENT_SECRET = "f3f6f27a176ad753baed31d4e777b34f";

but when log-in , there have error:

json: {"errcode":10007,"errmsg":"invalid account or invalid password","description":"username或password错误"}

May I Know where is wrong?