FOSSASAT-1B
Loading...
Searching...
No Matches
system_info.cpp
1#include "system_info.h"
2
3void System_Info_Set_Callsign(char* newCallsign) {
4 // get length of the new callsign (callsign is saved to EEPROM including terminating NULL)
6
7 // check new callsign length
9 return;
10 }
11
12 // write new callsign length
14
15 // write new callsign (including terminating NULL)
16 for(uint8_t i = 0; i < newCallsignLen; i++) {
18 }
19}
20
21void System_Info_Get_Callsign(char* buff, uint8_t len) {
22 // get callsign from EEPROM
23 for(uint8_t i = 0; i < len; i++) {
25 }
26}
#define EEPROM_CALLSIGN_LEN_ADDR
#define EEPROM_CALLSIGN_ADDR
#define MAX_STRING_LENGTH
T Persistent_Storage_Read(uint16_t addr)
This function reads a value of type T from EEPROM.