AM_SETTINGS = 54,
AM_THEFT = 99,
- AM_ALERTS = 22,
+ AM_ALERT = 22,
DIS_SETTINGS = 42,
COL_ALERTS = 11,
DEFAULT_CHECK_INTERVAL = 1000
};
-typedef nx_struct {
+typedef nx_struct settings {
nx_uint8_t alert, detect;
nx_uint16_t checkInterval;
} settings_t;
-typedef nx_struct {
+typedef nx_struct alert {
nx_uint16_t stolenId;
} alert_t;