.notifysent Property

Function:

Invoking this method will cause the on_bt_data_sent event to be generated when the amount of committed data in the TX buffer of the BLE interface drops to or below the "threshold" number of bytes.

Type:

bt.notifysent(threshold as word)

Value Range:

---

See Also:

Transmitting Data


Part

Description

threshold

Amount of bytes in the TX buffer at or below which the event it so be generated.


Details

This method, together with on_bt_data_sent provides a way to handle data sending asynchronously.

Only one on_bt_data_sent event will be generated each time after bt.notifysent is invoked.


.notifysent Property

Details