Skip to content

Commit c98c35e

Browse files
committed
Enterprise mode + wifi configuraiton api
1 parent 46603f8 commit c98c35e

File tree

11 files changed

+645
-45
lines changed

11 files changed

+645
-45
lines changed

features/mbedtls/inc/mbedtls/config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3138,8 +3138,13 @@
31383138
*/
31393139

31403140
/* MPI / BIGNUM options */
3141+
#ifdef TARGET_UBLOX_EVK_ODIN_W2
3142+
#define MBEDTLS_MPI_WINDOW_SIZE 3 /**< Maximum windows size used. */
3143+
#define MBEDTLS_MPI_MAX_SIZE 2048
3144+
#else
31413145
//#define MBEDTLS_MPI_WINDOW_SIZE 6 /**< Maximum windows size used. */
31423146
#define MBEDTLS_MPI_MAX_SIZE 512
3147+
#endif
31433148

31443149
/* CTR_DRBG options */
31453150
//#define MBEDTLS_CTR_DRBG_ENTROPY_LEN 48 /**< Amount of entropy used per seed by default (48 with SHA-512, 32 with SHA-256) */

features/netsocket/nsapi_types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ enum nsapi_error {
5656
NSAPI_ERROR_ADDRESS_IN_USE = -3018, /*!< Address already in use */
5757
NSAPI_ERROR_TIMEOUT = -3019, /*!< operation timed out */
5858
NSAPI_ERROR_BUSY = -3020, /*!< device is busy and cannot accept new operation */
59+
NSAPI_ERROR_CERT_SIZE = -3021, /*!< certificate size exceeds maximum allowed size */
5960
};
6061

6162

@@ -125,6 +126,8 @@ typedef enum nsapi_security {
125126
NSAPI_SECURITY_WPA_WPA2 = 0x4, /*!< phrase conforms to WPA/WPA2 */
126127
NSAPI_SECURITY_PAP = 0x5, /*!< phrase conforms to PPP authentication context */
127128
NSAPI_SECURITY_CHAP = 0x6, /*!< phrase conforms to PPP authentication context */
129+
NSAPI_SECURITY_EAP_TLS = 0x7, /*!< phrase conforms to EAP-TLS */
130+
NSAPI_SECURITY_PEAP = 0x8, /*!< phrase conforms to PEAP */
128131
NSAPI_SECURITY_UNKNOWN = 0xFF, /*!< unknown/unsupported security in scan results */
129132
} nsapi_security_t;
130133

0 commit comments

Comments
 (0)