Ares LoRa Firmware
Loading...
Searching...
No Matches
ares_serial_command Struct Reference

Ares frame handler descriptor. More...

#include <serial.h>

Data Fields

enum ares_frame_type command
void(* callback )(const struct ares_serial *serial, struct ares_frame *frame)

Detailed Description

Ares frame handler descriptor.

Field Documentation

◆ callback

void(* ares_serial_command::callback) (const struct ares_serial *serial, struct ares_frame *frame)

The frame handler.

Parameters
[in]serialPointer to serial instance.
[in]framePointer to frame received.

◆ command

enum ares_frame_type ares_serial_command::command

The frame type to handle.


The documentation for this struct was generated from the following file: