diff options
author | Saman Mahmoodi <mahmoudi.saman1@gmail.com> | 2021-02-16 16:47:11 +0330 |
---|---|---|
committer | Saman Mahmoodi <mahmoudi.saman1@gmail.com> | 2021-04-07 07:44:22 +0430 |
commit | 495dbef34079fe860ba0c2cd83a07b086b5a2417 (patch) | |
tree | 0366609fd1f77d75abc4529562c4d9d18553c439 /binding-bluetooth | |
parent | 4fcf73385e8d7a5296b21eb0b78f12982b8138b8 (diff) |
Fixing pincode problemmarlin_12.90.0marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.012.90.011.92.011.91.0
In get_pincode function there was a problem as below:
when the set_pincode verb is not called so in the DB we have not any pincode then for pairing it should use default pincode as 1234
in the get_pincode function when is called read verb from persistence, if pincode does not exist the pincode variable is NULL so we should check the pincode variable and if is NULL, we should assign default value as 1234
Bug-AGL: SPEC-3814
Signed-off-by: Saman Mahmoodi <mahmoudi.saman1@gmail.com>
Change-Id: I5f72834d2dcd8ecd3861fc894f4b1a7ebd7efc04
Diffstat (limited to 'binding-bluetooth')
0 files changed, 0 insertions, 0 deletions