Skip to content

Commit fc1f439

Browse files
authored
Merge pull request #3323 from andreaslarssonublox/ublox_odin_w2_drivers_update
u-blox ODIN-W2 drivers update
2 parents 464f04c + 9abb7c3 commit fc1f439

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers/cb_main.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ typedef void(*cbMAIN_ErrorHandler)(
4949
const cb_char* filename,
5050
cb_uint32 line);
5151

52+
typedef struct
53+
{
54+
cbWLAN_MACAddress mac; /**< MAC of WLAN interface, set to all zeros if hardware programmed address should be used. */
55+
cbWM_TxPowerSettings txPowerSettings; /**< Transmission power settings. */
56+
} cbMAIN_WlanStartParams;
57+
5258
/*---------------------------------------------------------------------------
5359
* Callback to indicate that initialization of BT stack is completed.
5460
*-------------------------------------------------------------------------*/
@@ -89,7 +95,7 @@ extern cb_int32 cbMAIN_initWlan(void);
8995
* @param params Start parameters passed to WLAN driver instance.
9096
* @return cbSTATUS_OK if successful, otherwise cbSTATUS_ERROR.
9197
*/
92-
extern cb_int32 cbMAIN_startWlan(cb_int32 targetId, cbWLAN_StartParameters *params);
98+
extern cb_int32 cbMAIN_startWlan(cb_int32 targetId, cbMAIN_WlanStartParams *params);
9399

94100
/**
95101
* Register error handler function.

0 commit comments

Comments
 (0)