ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
LoraNs Struct Reference

Dispatch table. Addressed by offset, so the layout is asserted below. More...

#include <lora.h>

Public Attributes

proto_bool(* frame_parse )(uint8_t *, const uint8_t *, uint16_t, protocore_lora_header *, const uint8_t **, uint16_t *)
 
uint16_t(* frame_build )(uint8_t *, const protocore_lora_header *, const uint8_t *, uint16_t, uint8_t *, uint16_t)
 
proto_bool(* init )(uint8_t *, const protocore_lora_bus *, const protocore_lora_config *)
 
proto_bool(* send )(uint8_t *, const protocore_lora_bus *, const uint8_t *, uint8_t)
 
proto_bool(* tx_done )(uint8_t *, const protocore_lora_bus *)
 
void(* set_rx )(uint8_t *, const protocore_lora_bus *)
 
int(* recv )(uint8_t *, const protocore_lora_bus *, uint8_t *, uint8_t, int16_t *)
 

Detailed Description

Dispatch table. Addressed by offset, so the layout is asserted below.

Definition at line 80 of file lora.h.

Member Data Documentation

◆ frame_parse

proto_bool(* LoraNs::frame_parse) (uint8_t *, const uint8_t *, uint16_t, protocore_lora_header *, const uint8_t **, uint16_t *)

Definition at line 82 of file lora.h.

◆ frame_build

uint16_t(* LoraNs::frame_build) (uint8_t *, const protocore_lora_header *, const uint8_t *, uint16_t, uint8_t *, uint16_t)

Definition at line 84 of file lora.h.

◆ init

proto_bool(* LoraNs::init) (uint8_t *, const protocore_lora_bus *, const protocore_lora_config *)

Definition at line 85 of file lora.h.

◆ send

proto_bool(* LoraNs::send) (uint8_t *, const protocore_lora_bus *, const uint8_t *, uint8_t)

Definition at line 86 of file lora.h.

◆ tx_done

proto_bool(* LoraNs::tx_done) (uint8_t *, const protocore_lora_bus *)

Definition at line 87 of file lora.h.

◆ set_rx

void(* LoraNs::set_rx) (uint8_t *, const protocore_lora_bus *)

Definition at line 88 of file lora.h.

◆ recv

int(* LoraNs::recv) (uint8_t *, const protocore_lora_bus *, uint8_t *, uint8_t, int16_t *)

Definition at line 89 of file lora.h.


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