TeensyNanoExoCode
Loading...
Searching...
No Matches
Classes | Namespaces
ble_commands.h File Reference

This file declares the BLE commands, and the functions that should be called when they are received. More...

#include "Arduino.h"
#include "ExoData.h"
#include "ParseIni.h"
#include "StatusDefs.h"
#include "BleMessage.h"
#include "ParamsFromSD.h"
#include "UARTHandler.h"
#include "uart_commands.h"
#include "UART_msg_t.h"
#include "Logger.h"
Include dependency graph for ble_commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ble_command_t
 Type to associate a command with an ammount of data. More...
 

Namespaces

namespace  ble_names
 Creates a variable for each command value.
 
namespace  ble
 Associates the command and ammount of data that it expects to be sent/received.
 
namespace  ble_command_helpers
 Helper function(s) to be used with the command array.
 
namespace  ble_handler_vars
 Variables used by the Handlers to track state.
 
namespace  ble_handlers
 Holds the functions that should be called when a command is received. All command handlers should have static linkage, return void, and accept a pointer to ExoData. ie "inline static void my_handler(ExoData* data, BleMessage* msg)".
 

Detailed Description

This file declares the BLE commands, and the functions that should be called when they are received.

Author
Chance Cuddeback
Date
2022-08-22