Jankyneering / Waffle_sw

Sofware for Waffle, a compact Pager and general RF multitool.
GNU General Public License v3.0
1 stars 1 forks source link

add storage for settings and received messages #8

Closed fred-corp closed 1 month ago

ManoDaSilva commented 1 month ago

I'd suggest, for the RIC object, to add information about the RIC's alias, as well as some "spare" values (such as which ringtone, whether the buzzer is activated or not, repeat ring, etc). Example on the .c array from the PoC:

/*RICs the pager will respond to. As described by the struct above:
{RIC,"NAME",ringtone(see below),TBD,TBD}
*/
ric[RICNUMBER]={
        {65009, "IND",2,0,0},
        {1040, "EMERGENCY",0,0,0},
        {1080, "APRSWX",1,0,0},
};

JSON array?

fred-corp commented 1 month ago

JSON array?

Could be interesting; I'll check how this could be implemented (there may be issues with the mix of numeric values and strings in the same array).