Teste Flash

Dependencies:   pulga-lorawan-drv Si1133 BME280

serial.h

Committer:
MatteusCarr
Date:
2021-09-13
Revision:
70:99b7a15c09da
Parent:
66:f40f985a6b97

File content as of revision 70:99b7a15c09da:

#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'
#define CMD_SEND_LORAWAN_NO_RETRANS 'w'
#define CMD_SEND_LORAWAN_RETRANS 'r'
#define CMD_SEND_LORA_P2P 'p'
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