Exportable version of WizziLab's modem driver.

Dependents:   modem_ref_helper

Revision:
35:ac940cf8ebe6
Parent:
30:74aa36420c61
Child:
37:f5424d109c6d
--- a/include/alp_spec.h	Wed Aug 29 15:30:30 2018 +0000
+++ b/include/alp_spec.h	Thu Sep 06 10:41:51 2018 +0000
@@ -333,6 +333,7 @@
 
 #define ALP_PERM_REQ_USER                       0
 #define ALP_PERM_REQ_ROOT                       1
+
 // Wizzilab's specific Authentication-Protocol-Id
 #define ALP_WIZZILAB_AUTH_PROTOCOL_ID           42
 #define ALP_WIZZILAB_AUTH_PROTOCOL_TOKEN_SIZE   8
@@ -344,6 +345,10 @@
     *(_p)++ = ALP_WIZZILAB_AUTH_PROTOCOL_ID;\
     } while(0)
 
+// Wizzilab's specific Challenge-Encryption-Authentication-Protocol-Id
+#define ALP_WIZZILAB_CHAL_PROTOCOL_ID           43
+#define ALP_WIZZILAB_CHAL_PROTOCOL_TOKEN_SIZE   ALP_WIZZILAB_AUTH_PROTOCOL_TOKEN_SIZE
+
 #define ALP_ACTION_URCC_SIZE(t)                 ((t==ALP_URC_TYPE_NONE)?2:4)
 #define ALP_ACTION_URCC_EN(_p,_r,_type,_ifid,_cfg)  do {\
     *(_p)++ = (_r)?ALP_OPCODE_URCC+ALP_OPCODE_GROUP+ALP_OPCODE_RESP:ALP_OPCODE_URCC+ALP_OPCODE_GROUP;\