hello
NCS2.0.2/2.3.0, vscode
No buffer available to send notification
hello
NCS2.0.2/2.3.0, vscode
Hi!
Take a look at how the throughput sample is configured. That sample is configured for optimizing BLE throughput.
https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/samples/bluetooth/throughput/prj.conf
Hi!
Take a look at how the throughput sample is configured. That sample is configured for optimizing BLE throughput.
https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/samples/bluetooth/throughput/prj.conf
thanks for reply,
tow questions:
1.is there a function for know has paired?
2.nrf52820 system off take 36uA, how to reduce power consumption? see SCH as follow:
Best regards
yoyou said:1.is there a function for know has paired?
If you want to know if a pairing procedure was completed, you can register authentication information callbacks
Snippet:
static void pairing_complete(struct bt_conn *conn, bool bonded) { LOG_INF("Pairing completed: %s, bonded: %d", log_addr(conn), bonded); } static void pairing_failed(struct bt_conn *conn, enum bt_security_err reason) { LOG_INF("Pairing failed conn: %s, reason %d %s", log_addr(conn), reason, bt_security_err_to_str(reason)); } static struct bt_conn_auth_info_cb conn_auth_info_callbacks = { .pairing_complete = pairing_complete, .pairing_failed = pairing_failed }; err = bt_conn_auth_info_cb_register(&conn_auth_info_callbacks); if (err) { printk("Failed to register authorization info callbacks.\n");
yoyou said:2.nrf52820 system off take 36uA, how to reduce power consumption? see SCH as follow:
This seems like a new unrelated question. Please open a new case for the power consumption question.