Difference between revisions of "Component: Bluetooth (ESP32 SPP) (Wireless)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 79: | Line 83: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} |
Revision as of 13:27, 17 November 2021
Author | Matrix TSL |
Version | 1.0 |
Category | Wireless |
Contents
Bluetooth (ESP32 SPP) component
Bluetooth slave component designed to run on a ESP32 providing legacy SPP functionality. BT Legacy functionality must be switched on via the sdkconfig file.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
ReceiveByte | |
Attempts to receive a byte from the bluetooth serial port. 0-255 = a valid received value 256 = a timeout has occured | |
- UINT | Timeout |
Number of ms to wait for incoming data | |
- UINT | Return |
SendString | |
Sends a string to the Bluetooth serial connection | |
- STRING | Data |
Data Array to send | |
- VOID | Return |
CheckConnectionStatus | |
Checks to see if the Bluetooth device is connected. Returns 1 if connected. | |
- BOOL | Return |
ReceiveCount | |
Collects the number of bytes currently stored in the receive buffer. | |
- UINT | Return |
SendArray | |
Sends a byte to the Bluetooth serial connection | |
- BYTE | Data |
Data Array to send | |
- UINT | NumBytes |
Number of bytes to send | |
- VOID | Return |
SendByte | |
Sends a byte to the Bluetooth serial connection | |
- BYTE | Data |
- VOID | Return |
ReceiveString | |
- UINT | MaxBytes |
Max number of bytes to try and read within the time | |
- UINT | Timeout |
Number of ms to wait for incoming data | |
- STRING | Return |
Initialise | |
Starts up the Bluetooth communications SPP service. | |
- VOID | Return |