23#include "../urcHandler.h"
39 int scanNum = sscanf(params,
"%d,%d", &event, ®Error);
42 else if (scanNum != 2)
const char IRIDIUM_9604_SBD_AUTO_REGISTRATION_URC[]
SBD automatic registration event. New for the 9604.
Definition: Iridium_9604_AT_commands.h:161
IRIDIUM_9604_areg_event_t
+AREG <event>
Definition: Iridium_9604_typedefs.h:636
void debugPrintln(const char *message, bool important=false)
Print a debug message followed by a newline, if debugging is enabled.
Definition: sfe_debug.cpp:76
The URC handler for +AREG: - SBD Automatic Registration event. See the file description for the callb...
Definition: urcAREG.h:30
urcAREG(void)
Definition: urcAREG.h:34
bool process(urcHandlerInterface &device, const char *params)
Parse the URC parameters and act on them.
Definition: urcAREG.h:36
void(* callback_t)(IRIDIUM_9604_areg_event_t, int)
The callback signature. See the file description.
Definition: urcAREG.h:32
The base class for the URC handlers. See the file description for how to add a new URC.
Definition: urcHandler.h:92
urcCallback_t _callbackPtr[URC_MAX_CALLBACKS]
The user's callbacks, stored generically.
Definition: urcHandler.h:168
void addURC(const char *urcPrefix, bool keepInBacklog=true)
Register this handler's identity. Called once, from the subclass's own constructor.
Definition: urcHandler.h:108
urcHandlerInterface: the services DevIridium9604 provides to the URC handlers. DevIridium9604 inherit...
Definition: urcHandler.h:70
virtual SfeDebugPrint & urcDebug(void)=0
The debug printer.
Definition: nmeaMessage.h:30
#define urcRegisterHandler(kHandler)
Declare a file-scope static builder that self-registers a URC handler class.
Definition: urcHandler.h:238