Implements sending data over ble using indication.
More...
#include "ble_transmitter_i.h"
Go to the source code of this file.
Implements sending data over ble using indication.
◆ ble_transmitter_indicate_alloc()
| BleTransmitterGeneric * ble_transmitter_indicate_alloc |
( |
| ) |
|
Allocate indication transmitter instance.
- Returns
- pointer to instance as a generic transmitter
◆ ble_transmitter_indicate_chunk()
| bool ble_transmitter_indicate_chunk |
( |
BleTransmitterGeneric * | transport, |
|
|
const uint8_t * | dev_addr, |
|
|
const uint16_t | handle, |
|
|
const uint16_t | data_size, |
|
|
const uint8_t * | data ) |
Sends indication data using indication.
- Parameters
-
| [in] | transport | to instance as a generic transmitter |
| [in] | dev_addr | destination remote device address |
| [in] | handle | pointer to particular characteristic |
| [in] | data_size | size of payload to be send |
| [in] | data | payload |
◆ ble_transmitter_indicate_done()
| void ble_transmitter_indicate_done |
( |
BleTransmitterGeneric * | transport | ) |
|
Unblocks thread waiting for indication data to be send.
- Parameters
-
| [in] | transport | transmitter instance |
◆ ble_transmitter_indicate_free()
| void ble_transmitter_indicate_free |
( |
BleTransmitterGeneric * | transport | ) |
|
Free indication transmitter instance.
- Parameters
-
| [in] | transport | to instance as a generic transmitter |
◆ ble_transmitter_indicate_reset()
| void ble_transmitter_indicate_reset |
( |
BleTransmitterGeneric * | transport | ) |
|
Reset all waiting semaphores and internal primitives.
- Parameters
-
| [in] | transport | transmitter instance |