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

ePacket Bluetooth GATT peripheral packet format More...

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

Go to the source code of this file.

Macros

#define epacket_bt_peripheral_frame   epacket_v0_versioned_frame_format
 Bluetooth GATT peripheral interface frame format, epacket_v0_versioned_frame_format.

Functions

bool epacket_bt_peripheral_cloud_uplink_subscribed (const struct device *dev, struct bt_conn *conn)
 Check whether the CLOUD_UPLINK characteristic has been subscribed.
int epacket_bt_peripheral_cloud_uplink_send (const struct device *dev, struct bt_conn *conn, struct net_buf *buf)
 Queue an ePacket on the CLOUD_UPLINK characteristic on a specific connection.

Detailed Description

ePacket Bluetooth GATT peripheral packet format

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

SPDX-License-Identifier: FSL-1.1-ALv2