-
Notifications
You must be signed in to change notification settings - Fork 3k
Enterprise_mode_+_wifi_configuraiton_api: update ODIN drivers to v3.7.0 RC1 #10454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
0xc0170
merged 1 commit into
ARMmbed:master
from
u-blox:ublox_odin_driver_os_5_v3.7.0_rc1
May 20, 2019
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+656 KB
(110%)
...RGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar
Binary file not shown.
Binary file modified
BIN
+9.36 KB
(100%)
...T_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_GCC_ARM/libublox-odin-w2-driver.a
Binary file not shown.
Binary file modified
BIN
+400 KB
(110%)
...ARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_IAR/libublox-odin-w2-driver.a
Binary file not shown.
329 changes: 291 additions & 38 deletions
329
...T_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/ublox-odin-w2-drivers/OdinWiFiInterface.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/ublox-odin-w2-drivers/UbloxWiFiConfigInterface.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/*--------------------------------------------------------------------------- | ||
* Copyright (c) 2019, u-blox Malm�, All Rights Reserved | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
aqib-ublox marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#ifndef UBLOX_WIFI_CONFIGAPINTERFACE_H | ||
#define UBLOX_WIFI_CONFIGAPINTERFACE_H | ||
|
||
#include <string.h> | ||
#include "cb_wlan_driver_config.h" | ||
|
||
/** UbloxWiFiConfigInterface class | ||
* | ||
* Common interface that is shared between WiFi devices supporting SoftAP mode | ||
*/ | ||
class UbloxWiFiConfigInterface | ||
{ | ||
public: | ||
/** UbloxWiFiConfigInterface lifetime | ||
*/ | ||
virtual ~UbloxWiFiConfigInterface() {}; | ||
|
||
/** Get general settings and tuning parameters | ||
* | ||
* | ||
* @param setting setting to read. | ||
* @return parameter value | ||
*/ | ||
virtual unsigned int get_config(void *setting) = 0; | ||
|
||
/** | ||
* Set general tuning parameter. | ||
* | ||
* @param setting setting to modify. | ||
* @param value value to set. | ||
*/ | ||
virtual void set_config(void *setting, cb_uint32 value) = 0; | ||
}; | ||
|
||
#endif | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...GET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/ublox-odin-w2-drivers/enterprise_handle.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/*--------------------------------------------------------------------------- | ||
* Copyright (c) 2016, u-blox Malmö, All Rights Reserved | ||
* SPDX-License-Identifier: LicenseRef-PBL | ||
* | ||
* This file and the related binary are licensed under the | ||
* Permissive Binary License, Version 1.0 (the "License"); | ||
* you may not use these files except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License here: | ||
* LICENSE-permissive-binary-license-1.0.txt and at | ||
* https://www.mbed.com/licenses/PBL-1.0 | ||
* | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* Component : WIFI | ||
* File : enterprize_handle.h | ||
* | ||
* Description : | ||
*-------------------------------------------------------------------------*/ | ||
#include <string.h> | ||
#include "cb_comdefs.h" | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include "cb_cert_utils.h" | ||
#include "cb_wlan.h" | ||
#include "cb_hw.h" | ||
|
||
/*=========================================================================== | ||
* DEFINES | ||
*=========================================================================*/ | ||
#define cbSECMNG_MAX_CERTIFICATE_SIZE 4096 | ||
#define cbSECMNG_MAX_DER_FILE_SIZE (4096 + 3) // we need to make room for the 3 size bytes | ||
#define cbSECMNG_MD5_LEN 16 | ||
#define cbSECMNG_MD5_STRING_LEN ((cbSECMNG_MD5_LEN * 2) + 1) | ||
#define cbSECMNG_MAX_CERTIFICATE_NAME_LEN 32 | ||
#define cbSECMNG_MAX_CERTIFICATE_PASSWORD_LEN 64 | ||
|
||
/*=========================================================================== | ||
* TYPES | ||
*=========================================================================*/ | ||
typedef enum { | ||
cbSECMNG_TYPE_ALL = -1, | ||
cbSECMNG_TRUSTED_ROOT, | ||
cbSECMNG_CLIENT_CERT, | ||
cbSECMNG_CLIENT_PRIVATE_KEY, | ||
} cbSECMNG_Type; | ||
|
||
/*=========================================================================== | ||
* DECLARATIONS | ||
*=========================================================================*/ | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/** Call eap connection handler | ||
* | ||
* @param cert Reference to certificate e.g client or CA server certificate | ||
* @param pvt_key Reference to private key in case if private key is inside cert reference it can be passed as NULL. | ||
In case of EAP_TLS we need private key along with client certificate and not require in case of PEAP so NULL can be passed. | ||
* @param commonParams Connection parameters. | ||
* @param enterpriseParams Enterprise parameters. | ||
* @return 0 on success, or error code on failure | ||
*/ | ||
cbRTSL_Status cb_eap_conn_handler(cb_char const* cert, cb_char const* pvt_key, cbWLAN_CommonConnectParameters *commonParams, cbWLAN_EnterpriseConnectParameters *enterpriseParams); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.