Connection Manager library for u-blox cellular modules. It manages the modem for keeping data connection always active.

Dependents:   C027_demo_ConnMan

Revision:
0:86284a262735
Child:
1:29ad1d1ac1f9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CNReg.h	Tue Jan 12 09:08:15 2016 +0000
@@ -0,0 +1,30 @@
+#pragma once 
+
+#include "CNManager.h"
+#include "CNUtil.h"
+
+//! Registration Status
+typedef enum{
+    REG_NOT_REGISTERED = 0,   //!< Not registered
+    REG_REGISTERED = 1,       //!< Registered
+} RegStatus;
+
+/** Reg Init 
+  This function has to be called prior to cnRegLoop
+ */
+void cnRegInit();
+
+/** Loop registration module
+  \param lib pointer to CN library
+  \param regStatus [output] registration status
+ */
+CNResp cnRegLoop(CNLib* lib, RegStatus* status);
+
+/** Reset
+ */
+void cnRegReset();
+
+/** Set if Roaming is allowed
+  \param enabled if true rooming is allowed, false it is not
+ */
+void cnRegSetRoaming(bool enabled);
\ No newline at end of file