Polyphase Game Engine
Loading...
Searching...
No Matches
Serial.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <vector>
6
9
10std::vector<SerialPortInfo> SER_EnumeratePorts();
11
12SerialNative* SER_Open(const char* portName, const SerialConfig& cfg);
13void SER_Close(SerialNative* native);
14
15int32_t SER_Write(SerialNative* native, const uint8_t* data, uint32_t size);
16int32_t SER_Read(SerialNative* native, uint8_t* buffer, uint32_t maxSize);
std::vector< SerialPortInfo > SER_EnumeratePorts()
int32_t SER_Write(SerialNative *native, const uint8_t *data, uint32_t size)
int32_t SER_Read(SerialNative *native, uint8_t *buffer, uint32_t maxSize)
SerialNative * SER_Open(const char *portName, const SerialConfig &cfg)
void SER_Initialize()
void SER_Close(SerialNative *native)
void SER_Shutdown()
Definition SerialTypes.h:19