mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-15 23:05:45 +00:00
fix(core/prodtest): provide BLE driver with pairing code when accepting pairing
[no changelog]
This commit is contained in:
parent
0355ea6dd3
commit
f1120d53c2
@ -36,6 +36,8 @@ void ble_timer_cb(void* context) {
|
||||
switch (e.type) {
|
||||
case BLE_PAIRING_REQUEST:
|
||||
cmd.cmd_type = BLE_ALLOW_PAIRING;
|
||||
memcpy(cmd.data.raw, e.data, BLE_PAIRING_CODE_LEN);
|
||||
cmd.data_len = BLE_PAIRING_CODE_LEN;
|
||||
ble_issue_command(&cmd);
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user