seos_native_peripheral.h 504 B

123456789101112131415161718
  1. #pragma once
  2. #include <bt/bt_service/bt.h>
  3. #include "seos_profile.h"
  4. typedef struct {
  5. Seos* seos;
  6. Bt* bt;
  7. FuriHalBleProfileBase* ble_profile;
  8. } SeosNativePeripheral;
  9. SeosNativePeripheral* seos_native_peripheral_alloc(Seos* seos);
  10. void seos_native_peripheral_free(SeosNativePeripheral* seos_native_peripheral);
  11. void seos_native_peripheral_start(SeosNativePeripheral* seos_native_peripheral, FlowMode mode);
  12. void seos_native_peripheral_stop(SeosNativePeripheral* seos_native_peripheral);