Go to the source code of this file.
|
| class | BLESerialClientBase |
| | Generic BLE serial client logic which is independent of the BLE API. In BLE terminology the client is a Central: it scans for a server that provides the service UUID and connects to it. More...
|
| |
| class | BLESerialPacketBuffer |
| | FIFO for BLE packets: in framed mode the packet boundaries are kept, otherwise the data is handled as a byte stream. All methods are protected by the optional mutex, so that the buffer can be filled and consumed by different tasks. More...
|
| |
| class | BLESerialServerBase |
| | Generic BLE serial server logic which is independent of the BLE API. In BLE terminology the server is a Peripheral: the client writes the data which is received with readBytes() and reads the data which was provided with write(). More...
|
| |
| class | BLESerialStream |
| | Common functionality of the BLE serial server and client: data is exchanged via two characteristics like a serial connection. The audio info can optionally be exchanged via a third characteristic. More...
|
| |
|
| namespace | audio_tools |
| | Generic Implementation of sound input and output for desktop environments using portaudio.
|
| |
◆ BLE_SERIAL_BUFFER_SIZE
| #define BLE_SERIAL_BUFFER_SIZE 4096 |
Default size of the receive and transmit buffers in bytes.
◆ BLE_SERIAL_HEADER_SIZE
| #define BLE_SERIAL_HEADER_SIZE 2 |
Size of the length header in the packets which are read by the client.
◆ BLE_SERIAL_MAX_VALUE_LEN
| #define BLE_SERIAL_MAX_VALUE_LEN 512 |
Max length of a characteristic value defined by the BLE specification.
◆ BLE_SERIAL_MTU_OVERHEAD
| #define BLE_SERIAL_MTU_OVERHEAD 5 |
Bytes which are reserved in each BLE packet for the ATT protocol.
◆ BLE_SERIAL_PACKET_COUNT
| #define BLE_SERIAL_PACKET_COUNT 100 |
Default max number of packets in the buffers in framed mode.