mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-25 08:05:55 +01:00
Add AW for bond request
This commit is contained in:
parent
b860ab116f
commit
a53d59f907
@ -400,7 +400,7 @@ public class HuaweiSupportProvider {
|
|||||||
try {
|
try {
|
||||||
createSecretKey();
|
createSecretKey();
|
||||||
GetAuthRequest authReq = new GetAuthRequest(this, linkParamsReq);
|
GetAuthRequest authReq = new GetAuthRequest(this, linkParamsReq);
|
||||||
if (getHuaweiType() == HuaweiDeviceType.BLE) {
|
if (getHuaweiType() == HuaweiDeviceType.BLE || getHuaweiType() == HuaweiDeviceType.AW) {
|
||||||
GetBondParamsRequest bondParamsReq = new GetBondParamsRequest(this);
|
GetBondParamsRequest bondParamsReq = new GetBondParamsRequest(this);
|
||||||
GetBondRequest bondReq = new GetBondRequest(this);
|
GetBondRequest bondReq = new GetBondRequest(this);
|
||||||
authReq.nextRequest(bondParamsReq);
|
authReq.nextRequest(bondParamsReq);
|
||||||
|
Loading…
Reference in New Issue
Block a user