Skip to content

File syn_port_ble_hci.h

FileList > port > syn_port_ble_hci.h

Go to the source code of this file

Port Abstraction Header for Bluetooth HCI Transport (UART H:4 / SPI).

  • #include "../common/syn_defs.h"
  • #include <stdbool.h>
  • #include <stddef.h>
  • #include <stdint.h>

Public Functions

Type Name
SYN_Status syn_port_ble_hci_reset (void)
Reset external BLE controller hardware via GPIO reset pin (if present).
SYN_Status syn_port_ble_hci_tx (const uint8_t * data, uint16_t len)
Transmit raw bytes to external BLE controller via UART/SPI hardware.

Public Functions Documentation

function syn_port_ble_hci_reset

Reset external BLE controller hardware via GPIO reset pin (if present).

SYN_Status syn_port_ble_hci_reset (
    void
) 

Returns:

SYN_OK on success, or SYN_ERR_NOT_SUPPORTED if unmapped.


function syn_port_ble_hci_tx

Transmit raw bytes to external BLE controller via UART/SPI hardware.

SYN_Status syn_port_ble_hci_tx (
    const uint8_t * data,
    uint16_t len
) 

Parameters:

  • data Data buffer pointer.
  • len Data length in bytes.

Returns:

SYN_OK on success.



The documentation for this class was generated from the following file src/syntropic/port/syn_port_ble_hci.h