switched to UDP from UNIX Socket

This commit is contained in:
2024-08-02 01:05:11 +02:00
parent 926ef26000
commit fe5629fa85
4 changed files with 126 additions and 20 deletions

View File

@ -18,7 +18,7 @@ void test_hardware() {
int fd1 = hw_device_open("uart1", 5);
write(fd1, "uart1\n", 6);
vTaskDelay(3000 / portTICK_PERIOD_MS);
vTaskDelay(1 / portTICK_PERIOD_MS);
uint8_t buffer[100];
int read_bytes = read(fd0, buffer, sizeof(buffer));