2022-07-15 18:53:15 +08:00
|
|
|
//
|
|
|
|
// Created by Apache on 2022/7/15.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "example.h"
|
|
|
|
|
2022-07-17 14:22:13 +08:00
|
|
|
using std::vector;
|
2022-07-15 18:53:15 +08:00
|
|
|
int main()
|
|
|
|
{
|
2022-07-17 14:22:13 +08:00
|
|
|
struct event_base *base;
|
|
|
|
base = event_base_new();
|
|
|
|
vector<serial::PortInfo> devices_found = serial::list_ports();
|
|
|
|
|
2022-07-15 18:53:15 +08:00
|
|
|
return 0;
|
|
|
|
}
|