.setdata Method
Function: |
Stores the data passed in the txdata argument into the TX buffer of the BLE inteface. |
Syntax: |
bt.setdata(byref txdata as string) |
Returns: |
--- |
See Also: |
Part |
Description |
txdata |
The data to send |
Details
If the buffer doesn't have enough space to accommodate the data being added then this data will be truncated.
The newly stored data is not sent out immediately. This only happens after the bt.send method is used to commit this data. This allows your application to prepare large amounts of data before sending it out.