ttlock / iOS_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.
MIT License
12 stars 12 forks source link

How to downgrade lock firmware version? #19

Closed pathanparvezkhan closed 8 months ago

pathanparvezkhan commented 9 months ago

We are implementing upgrade lock firmware version functionality. We are using below SDK method from TTLockDFU library.

TTLockDFU.shareInstance().start(withClientId: clientId, accessToken: accessToken, lockId: lockId, lockData: lockData) { upgradeOperation, process in print(upgradeOperation) } fail: { upgradeOperation, upgradeErrorCode in print(upgradeOperation) print(upgradeErrorCode) }

We have all the locks available with latest firmware version. We want to downgrade the firmware version of lock to test this feature.

JuannyiOS commented 9 months ago

ok, please provide the test account and test lock number(lock name).

pathanparvezkhan commented 9 months ago

ok, please provide the test account and test lock number(lock name).

Test Account: jackey.kabra@geokeyaccess.com Admin@123

Lock number(lock name): M515_a8757c

JuannyiOS commented 9 months ago

Done !

pathanparvezkhan commented 9 months ago

Done !

Thank you.

Also need to downgrade version for below lock for same account.

Lock number(lock name): Jackey TTLock1

JuannyiOS commented 9 months ago

This lock currently does not have an upgrade package. Do you have any other locks ?

pathanparvezkhan commented 9 months ago

This lock currently does not have an upgrade package. Do you have any other locks ?

Please find the below 2 locks.

Lock number(lock name): MyTestLock2023/11/23 17:54:09 MyTestLock2023/11/23 17:54:33

Can we downgrade here at our end? If yes, please give us steps.

JuannyiOS commented 9 months ago

Done !

pathanparvezkhan commented 9 months ago

Done !

Thank You.

JackeyPSSPL commented 9 months ago

@JuannyiOS Can we downgrade here at our end? If yes, please give us the steps.

JuannyiOS commented 9 months ago

sorry ,you can not downgrade locks at your end.

JackeyPSSPL commented 9 months ago

@JuannyiOS Can you again downgrade the below locks?

Please find the below 2 locks.

Lock number(lock name):

  1. MyTestLock2023/11/23 17:54:33
  2. Test
JuannyiOS commented 9 months ago

The unlimited upgrade that has already been configured.

JuannyiOS commented 9 months ago

Add the lock again then upgrade again

JackeyPSSPL commented 9 months ago

@JuannyiOS Added devices please find below the downgrade it

  1. MyTestLock2023/11/28 23:02:42
  2. MyTestLock2023/11/28 23:03:15
  3. MyTestLock2023/11/28 23:05:13

Thank you

JuannyiOS commented 9 months ago

Have these three locks been configured before? If it has been configured, you can upgrade it again by adding it again. If these are three new locks,please contact with this email:ttlock-developers-email-list@googlegroups.com.