FOSSASAT-1B
system_info.h File Reference
#include "FossaSat1B.h"
Include dependency graph for system_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void System_Info_Set_Callsign (char *newCallsign)
 Set the callsign to be used for each transmission to EEPROM. More...
 
void System_Info_Get_Callsign (char *buff, uint8_t len)
 Gets the callsign which is current set in EEPROM. More...
 

Detailed Description

Todo:
this module should contain the Restart Counter logic.

Definition in file system_info.h.

Function Documentation

◆ System_Info_Get_Callsign()

void System_Info_Get_Callsign ( char *  buff,
uint8_t  len 
)

Gets the callsign which is current set in EEPROM.

Todo:
Implement a RAM variable to hold this since EEPROM degrades with use, memory restrictions do not allow this to be alloced in RAM.
Test:
(ID SYS_INF_T1) (SEV 1) Make sure that the callsign is retrieved correctly from EEPROM.
Parameters
buffThe destination for the callsign.
lenThe length of the callsign.

Definition at line 21 of file system_info.cpp.

Here is the caller graph for this function:

◆ System_Info_Set_Callsign()

void System_Info_Set_Callsign ( char *  newCallsign)

Set the callsign to be used for each transmission to EEPROM.

Test:
(ID SYS_INF_T0) (SEV 1) Make sure this function writes the callsign to EEPROM.
Parameters
newCallsignString containing the new callsign to use.

Definition at line 3 of file system_info.cpp.