Returns the amount of free space, in bytes, in the TX buffer of the BLE interface, not taking into the account uncommitted data.
0- buffer capacity
Receiving data, Transmitting data
The actual free space in the buffer is bt.txfree -bt.newtxlen. Your application will not be able to store more data than this amount.