You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
457 B
15 lines
457 B
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "SerialPortLibrary.generated.h"
|
|
|
|
UCLASS()
|
|
class SPIE_AVATAR_API USerialPortLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
UFUNCTION(BlueprintPure, Category = "Serial Port")
|
|
static TArray<FString> GetAvailableSerialPorts();
|
|
UFUNCTION(BlueprintPure, Category = "Serial Port")
|
|
static TArray<FString> GetAvailableSerialPortsWithNames();
|
|
};
|
|
|