1
0
Fork 0
Projet_Barbapapa_Firmware/include/Com.h
Teo-CD bedd1f4f95 Com: Implement proper communications
Implement a set of functions to create messages following the protocols
defined in the README for communication.
Handle HID, which is used to communicate with the interactive application.

Update README with details on the message structures.
2023-09-24 18:04:27 +01:00

20 lines
385 B
C++

//
// Created by Teo-CD on 24/09/23.
//
#ifndef JIN_BARBAPAPA_COM_H
#define JIN_BARBAPAPA_COM_H
#include <Arduino.h>
#include <cstring>
/**
* Handle communication with a connected device and provide convenience
* functions for the fixed protocols.
*/
namespace Com {
void sendFigUpdate(int8_t event);
void sendComment(const char* message, ...);
}
#endif //JIN_BARBAPAPA_COM_H