Jaakko Nahkala 4b0b4ab2c9
esp-vent-main: Mqtt classes ready (#39)
* Relocated subreposiroty and added ESP-classes, problem with systick.h persists

* added test to main

* Clean directory by moving MQTT related classes to their own folders in /src /inc

* Relocated subreposiroty and added ESP-classes, problem with systick.h persists

* added test to main

* rm MQTT test func

Co-authored-by: Vasily Davydov <vasilydavydovmail@yahoo.com>
2022-10-26 23:25:58 +03:00

30 lines
434 B
C

/*
* serial_port.h
*
* Created on: 25.8.2021
* Author: keijo
*/
#ifndef SERIAL_PORT_H_
#define SERIAL_PORT_H_
#ifdef __cplusplus
extern "C" {
#endif
void serial_init(void *ctx);
void serial_write_buf(void *ctx, const char *buf, int len);
void serial_write_str(void *ctx, const char *s);
int serial_get_char(void *ctx, char *p);
int serial_peek(void *ctx);
#ifdef __cplusplus
}
#endif
#endif /* SERIAL_PORT_H_ */