.getdata Method
|
Function: |
Returns the string containing the data extracted from the RX buffer of the BLE interface. Extracted data is removed from the buffer. |
|
Syntax: |
bt.getdata(maxinplen as word) as string |
|
Returns: |
String containing data extracted from the RX buffer |
|
See Also: |
|
Part |
Description |
|
maxinplen |
Maximum number of bytes to extract |
Details
The length of extracted data is limited by one of the three factors, whichever is smaller: the amount of data in the RX buffer itself, capacity of the receiving string variable, and the limit set by the maxinplen argument.