Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
epacket_bt_central.h File Reference

ePacket Bluetooth GATT central More...

#include <stdint.h>
#include <stdbool.h>
#include <zephyr/toolchain.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <infuse/epacket/interface/common.h>
#include <infuse/epacket/interface/epacket_bt.h>

Go to the source code of this file.

Data Structures

struct  epacket_bt_gatt_connect_params
 Parameters for epacket_bt_gatt_connect. More...
 

Macros

#define epacket_bt_central_frame   epacket_v0_versioned_frame_format
 

Functions

int epacket_bt_gatt_connect (struct bt_conn **conn, struct epacket_bt_gatt_connect_params *params, struct epacket_read_response *security)
 Connect to a peer Infuse-IoT device via Bluetooth GATT.
 
uint8_t epacket_bt_gatt_notify_recv_func (struct bt_conn *conn, struct bt_gatt_subscribe_params *params, const void *data, uint16_t length)
 Infuse-IoT Bluetooth GATT characteristic notification handle function.
 
void epacket_bt_gatt_rate_limit_request (uint8_t delay_ms)
 Send a epacket_rate_limit_req to all connected peer devices.
 
int epacket_bt_gatt_rate_throughput_request (struct bt_conn *conn, uint16_t throughput_kbps)
 Send a epacket_rate_throughput_req to a specific peer device.
 

Detailed Description

ePacket Bluetooth GATT central

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2