https://toitlang.org/ logo
Hi!, hope you're doing well. I'm back at it with t...
# general
i
Hi!, hope you're doing well. I'm back at it with the provisioning setup. I'm trying to create a custom characteristic that I want to use to send a token to the device during provisioning. The idea is to send it right after the Wi-Fi scan. I've even tried doing it at other points, but I keep getting the same result. Even though I'm able to send and receive through the characteristic, when I try to continue with the provisioning, I hit this error:
Copy code
******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.179>
******************************************************************************
EXCEPTION error. 
DEADLINE_EXCEEDED
  0: ble-run-with-quota-backoff_ <sdk>/ble/ble.toit:1363:47
  1: ble-set-value_            <sdk>/ble/ble.toit:1299:3
  2: LocalCharacteristic.set-value <sdk>/ble/local.toit:417:5
  3: RpcService.run_.<block>   <pkg:toit-provision>/src_/rpc.toit:75:25
  4: LocalCharacteristic.handle-request_.<block>.<block> <sdk>/ble/local.toit:514:15
  5: LocalCharacteristic.handle-request_.<block> <sdk>/ble/local.toit:498:5
  6: LocalCharacteristic.handle-request_ <sdk>/ble/local.toit:492:3
  7: LocalCharacteristic.handle-write-request <sdk>/ble/local.toit:490:5
  8: RpcService.run_           <pkg:toit-provision>/src_/rpc.toit:71:23
  9: RpcService.<lambda>       <pkg:toit-provision>/src_/rpc.toit:56:20
******************************************************************************