contain lorawan with serial_rx enabled

Dependencies:   pulga-lorawan-drv SPI_MX25R Si1133 BME280

serial.h

Committer:
ruschigo
Date:
2021-03-02
Revision:
65:4090220e19d2
Parent:
64:ed68ddac6360

File content as of revision 65:4090220e19d2:

#ifndef _SERIAL_H_
#define _SERIAL_H_

#include "mbed.h"
#include "gps.h"
#include "lora_radio.h"

#define CMD_PRINT_LAST_GPS 'g'
#define CMD_SEND_HELLO 'h'

extern RawSerial pc;

extern void SerialRx(void);

extern bool SerialCommandRun(const char *msg);

extern void serial_post_to_queue(void);

extern void PrintDebugMsg(char *msg);

#endif