Mod Library
Sun Devil Rocketry's hardware agnostic utility library
Loading...
Searching...
No Matches
commands.c File Reference

: Contains general command functions common to all embedded controllers More...

#include <stdbool.h>
#include <string.h>
#include "main.h"
#include "commands.h"
#include "usb.h"
#include "sensor.h"

Functions

void ping (void)
 Sends a 1 byte response back to host PC to signal a functioning serial connection.

Variables

SENSOR_DATA sensor_data

Detailed Description

: Contains general command functions common to all embedded controllers

Copyright (c) 2025 Sun Devil Rocketry. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is covered under the BSD-3-Clause.

https://opensource.org/license/bsd-3-clause

Function Documentation

◆ ping()

void ping ( void )

Sends a 1 byte response back to host PC to signal a functioning serial connection.

Sends a single response byte back to sender.

Sends a 1 byte response back to host PC to signal a functioning serial connection.

Parameters
cmd_sourceThe source of the command when building for a valve controller.