Bluegiga Wi-Fi Software 9/19/2013 1
Table of Contents Key Features Benefits Wi-Fi Software Architecture Use cases 9/19/2013 2
Key Features IEEE 802.11 features 802.11 b/g/n 802.11d STA mode AP mode* Security features WEP WPA and WPA2 WPS* Performance Up to 3.5Mbps over TCP Embedded IPv4 stack TCP and UDP clients TCP and UDP servers Application level protocols DHCP and DNS HTTP (server)* *) Software version 1.2 9/19/2013 3
Key Features Supported host interfaces: UART USB (USB/CDC) SPI Supported peripheral interfaces GPIO, AIO and timers I2C, SPI and UART Ethernet (RMII)* Bluetooth co-existence support Field upgrades DFU over UART DFU over USB *) Software version 1.2 9/19/2013 4
Key Features Programming APIs BGAPI TM over UART, USB or SPI BGScript TM scripting language Memory requirements 64kB RAM 256kB Flash OS requirements None 9/19/2013 5
Benefits Fully embedded 802.11 MAC and IPv4 compatible IP stack Small RAM, flash and MIPS requirements allowing low cost MCUs to be used Support for STA and AP mode and all relevant security protocols Flexible software APIs allowing standalone and hosted use cases High throughput over TCP/UDP 9/19/2013 6
Wi-Fi Software Architecture 9/19/2013 7
Bluegiga Wi-Fi Software Host Application Bluegiga Wi-Fi software mplements the following layers 802.11 MAC STA and AP modes IPv4 compatible TCP/IP stack TCP and UDP protocols DHCP, DNS and HTTP Implements the following clients and servers TCP client/server UDP client/server DHCP client DNS client HTTP server Bluegiga Wi-Fi Software Application (BGScript TM ) Bluegiga BGSCript TM VM Bluegiga BGAPI TM DNS,DHCP and HTTP Bluegiga BGAPI TM UART, USB or SPI Security WEP, WPA/WPA2-PSK and WPS Simple API for external host s (MCUs) BGAPI TM : A simple protocol over UART, USB or SPI interfaces BGLib TM : A C library for host processors implementing BGAPI Supports standalone applications as well BGScript TM : A simple scripting language for writing applications TCP and UDP IP 802.11 MAC 802.11 MAC 802.11 b/g/n radio Wi-Fi Manager 9/19/2013 8
Bluegiga Wi-Fi Software BGAPI TM protocol : A simple binary command, response and event protocol between the host (MCU) and the Wi-Fi software Used when a separate host (MCU) is used to control the Wi-Fi software over UART, USB or SPI Very small memory requirements size requirement and low implementation overhead 9/19/2013 9
Bluegiga Wi-Fi Software BGLib TM library : A portable ANSI C library (parser), which implements the BGAPI TM protocol Easy to port to various architectures such as : ARM Cortex, Coldfire+, PIC16/32 etc, Uses fuction call back architecture Application Main program Callback function Calls Calls BGLib library Library function 9/19/2013 10
Bluegiga Wi-Fi Software BGScript TM scripting language : A very simple BASIC-like application scripting language Used for standalone applications without an external MCU Enables very simple and fast application development with free SDK and toolchain 9/19/2013 11
Bluegiga Wi-Fi Software Why to use BGScript TM? Very simple to use Fast development of simple Wi-Fi applications Examples: Access Point scan and connection, simple user interfaces, simple sensors Free software development tools Code developed with any text or source code editor Code compiled with Bluegiga s free compiler Example scripts available Access Point scan TCP server TCP client Cuts out the need for external MCU Reduced product ebom Smaller footprint Faster time-to-market 9/19/2013 12
Use Cases Standalone architecture using Bluegiga WF121 Wi-Fi module Sensors and peripherals are directly connected to the WF121 via the IO interfaces Application executed on the on-board PIC32 Application developed with BGScript TM or ANSI C Display SPI I2C or SPI Sensors WF121 Wi-Fi Module Power supply IO or PWM Buttons or Leds 9/19/2013 13
Use Cases Hosted architecture using Bluegiga WF121 Wi-Fi Module and a separate MCU Sensors and peripherals are directly connected to the MCU via the IO interfaces WF121 connected to the MCU via UART, USB or SPI Application developerd to the MCU and interfacing to WF121 done using BGAPI TM protocol (BGLib TM can be used on the host) WF121 Wi-Fi Module UART, USB or SPI I2C or SPI Sensors Display SPI IO or PWM Buttons or Leds 9/19/2013 14
Thank You 9/19/2013 www.bluegiga.com 15