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.

18 lines
332 B

2 years ago
  1. #include <gio/gio.h>
  2. #include <iostream>
  3. #include <string>
  4. #include <thread>
  5. #include "./include/bluetooth.h"
  6. #include "./include/cpp_socket_server.h"
  7. //For test bluetooth module
  8. using std::thread;
  9. int main (int argc, char *argv[])
  10. {
  11. pair();
  12. connect();
  13. thread socket(socket_server);
  14. socket.join();
  15. return 0;
  16. }