Webserver+3d print

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

wilc1000_driver.h File Reference

wilc1000_driver.h File Reference

WILC1000 Wi-Fi controller. More...

Go to the source code of this file.

Functions

error_t wilc1000Init (NetInterface *interface)
 WILC1000 initialization.
void wilc1000Tick (NetInterface *interface)
 WILC1000 timer handler.
void wilc1000EnableIrq (NetInterface *interface)
 Enable interrupts.
void wilc1000DisableIrq (NetInterface *interface)
 Disable interrupts.
bool_t wilc1000IrqHandler (void)
 WILC1000 interrupt service routine.
void wilc1000EventHandler (NetInterface *interface)
 WILC1000 event handler.
error_t wilc1000SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset)
 Send a packet.
error_t wilc1000SetMulticastFilter (NetInterface *interface)
 Configure multicast MAC address filtering.
bool_t wilc1000GetAddrRefCount (NetInterface *interface, const MacAddr *macAddr)
 Get reference count for the specified multicast MAC address.
void wilc1000AppWifiEvent (uint8_t msgType, void *msg)
 Callback function that handles Wi-Fi events.
void wilc1000AppEthEvent (uint8_t msgType, void *msg, void *ctrlBuf)
 Callback function that handles events in bypass mode.

Variables

const NicDriver wilc1000StaDriver
 WILC1000 driver (STA mode)
const NicDriver wilc1000ApDriver
 WILC1000 driver (AP mode)

Detailed Description

WILC1000 Wi-Fi controller.

License

Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
Oryx Embedded SARL (www.oryx-embedded.com)
Version:
1.7.6

Definition in file wilc1000_driver.h.


Function Documentation

void wilc1000AppEthEvent ( uint8_t  msgType,
void *  msg,
void *  ctrlBuf 
)

Callback function that handles events in bypass mode.

Parameters:
[in]msgTypeType of notification
[in]msgPointer to the buffer containing the notification parameters
[in]ctrlBufPointer to the control buffer

Definition at line 536 of file wilc1000_driver.c.

void wilc1000AppWifiEvent ( uint8_t  msgType,
void *  msg 
)

Callback function that handles Wi-Fi events.

Parameters:
[in]msgTypeType of notification
[in]msgPointer to the buffer containing the notification parameters

Definition at line 452 of file wilc1000_driver.c.

void wilc1000DisableIrq ( NetInterface *  interface )

Disable interrupts.

Parameters:
[in]interfaceUnderlying network interface

Definition at line 240 of file wilc1000_driver.c.

void wilc1000EnableIrq ( NetInterface *  interface )

Enable interrupts.

Parameters:
[in]interfaceUnderlying network interface

Definition at line 230 of file wilc1000_driver.c.

void wilc1000EventHandler ( NetInterface *  interface )

WILC1000 event handler.

Parameters:
[in]interfaceUnderlying network interface

Definition at line 276 of file wilc1000_driver.c.

bool_t wilc1000GetAddrRefCount ( NetInterface *  interface,
const MacAddr *  macAddr 
)

Get reference count for the specified multicast MAC address.

Parameters:
[in]interfaceUnderlying network interface
[in]macAddrMAC address
Returns:
Reference count

Definition at line 407 of file wilc1000_driver.c.

error_t wilc1000Init ( NetInterface *  interface )

WILC1000 initialization.

Parameters:
[in]interfaceUnderlying network interface
Returns:
Error code

Definition at line 105 of file wilc1000_driver.c.

bool_t wilc1000IrqHandler ( void   )

WILC1000 interrupt service routine.

Returns:
TRUE if a higher priority task must be woken. Else FALSE is returned

Definition at line 250 of file wilc1000_driver.c.

error_t wilc1000SendPacket ( NetInterface *  interface,
const NetBuffer buffer,
size_t  offset 
)

Send a packet.

Parameters:
[in]interfaceUnderlying network interface
[in]bufferMulti-part buffer containing the data to send
[in]offsetOffset to the first data byte
Returns:
Error code

Definition at line 291 of file wilc1000_driver.c.

error_t wilc1000SetMulticastFilter ( NetInterface *  interface )

Configure multicast MAC address filtering.

Parameters:
[in]interfaceUnderlying network interface
Returns:
Error code

Definition at line 351 of file wilc1000_driver.c.

void wilc1000Tick ( NetInterface *  interface )

WILC1000 timer handler.

This routine is periodically called by the TCP/IP stack to handle periodic operations such as polling the link state

Parameters:
[in]interfaceUnderlying network interface

Definition at line 220 of file wilc1000_driver.c.


Variable Documentation

WILC1000 driver (AP mode)

Definition at line 78 of file wilc1000_driver.c.

WILC1000 driver (STA mode)

Definition at line 53 of file wilc1000_driver.c.