IOT - Bosch
  • Introduction
  • Devices
    • Bosch XDK 110
      • Introduction
      • Operating System
      • Hardware
        • Sensors
          • Accelerometer
            • C
          • Gyroscope
            • C
            • Mita
          • Magnetometer
            • C
          • Environmental
            • C
            • Mita
          • Ambient Light
            • C
            • Mita
          • Acoustic
            • C
      • Software
        • XDK WorkSpace
          • Structure
          • Debug
          • Supported languages
            • C
              • Static Library (.a)
            • XDK Live - Mita
            • MicroFlo
      • Connectivity
        • Bluetooth Low Energy (BLE)
          • Overview
          • General Info
          • Implementation
            • C
            • XDK Live
        • WI-FI
          • OverView
          • Implementation
            • C
            • XDK Live
        • WI-FI Enterprise
      • Protocols
        • CoAP
          • Overview
          • Implementation -TBD
        • HTTP
          • Overview
          • Structure and Methods
          • Implementation
            • C - Rest
            • C - Post
            • XDK Live
        • HTTPS
          • Overview
          • Implementation TBD
        • LWM2M
          • Overview
          • Implementation TBD
        • MQTT
          • Overview
          • Implementation
            • C
            • XDK Live
        • USB
          • Overview
          • Implementation TBD
      • Data Storage
      • XDK Extension Bus
      • Community
      • Applications
        • Language C
          • HomeAssitant - MQTT
            • Prerequisites
            • Server
            • Device
          • IOTA-MQTT-XDK
            • Prerequisites
            • XDK110
            • Mqtt JSON to MAM
            • SensorHub
            • Demo
        • Language XDK Live
          • MQTT
            • Hello World
            • HomeAssistant
              • Prerequisites
              • Server
              • Device
            • Docker-HomeAssistant
          • HTTP
            • Roku Remote Control
              • Roku API
              • MITA
                • Example
    • Bosch AMRA
    • Bosch GLM 100C
    • Bosch FLEXIDOME IP panoramic
    • Bosch GLM 100C
    • Bosch Rexroth Nexo
    • Bosch Rexroth PRC 7000
    • Bosch RRC / CT100
    • Bosch Rexroth IoT Gateway
  • Bosch IOT Solutions
    • Bosch IOT Projects
      • Smart Home
      • Industry 4.0
      • Smart Cities
      • Connected-mobility
    • Bosch IOT Suite
      • Bosch Analytics
      • Bosch IOT Hub
      • Bosch Iot Permission
      • IoT Remote Manager
      • IoT Rollouts
      • IoT Things
      • Demo TBD **
    • BPM and BRM
  • IOTA
    • Introduction
      • Tangle
      • Glossary
      • Differences with other tech
      • How does iota work
      • Developers
    • Qubic
      • What is Qubic?
      • Target
      • Qubic Protocol
    • Ecosystem
    • Applications
      • Python
      • XDK110
        • Prerequisites
        • XDK110
        • Mqtt JSON to MAM
        • SensorHub
    • Bosch/IOTA
  • ByteBall
    • SmartContract
    • Use Case
      • BoshCoins
Powered by GitBook
On this page

Was this helpful?

  1. Devices
  2. Bosch XDK 110
  3. Connectivity
  4. WI-FI

OverView

PreviousWI-FINextImplementation

Last updated 5 years ago

Was this helpful?

The XDK Wi-Fi API is a part of the XDK platform section and accesses the Texas Instruments Simplelink Library that is part of the library section. The Simplelink library provides a low level access to the CC3100 Wi-Fi chip of the XDK-Hardware.

This section will demonstrate some functions of the two main APIs for Wi-Fi. Those are

  • BCDS_WlanConnect.h

    for the Wi-Fi connection interface

  • BCDS_NetworkConfig.h

    for the Wi-Fi configuration interface

The BCDS_WlanConnect.h interface provides several functions to make the Wi-Fi Hardware available and to do things like searching for networks or initiating a connection to them. In general, this interface provides the connection functions of the API.

Function

Description

WlanConnect_init()

Initialize Wi-Fi driver and Wi-Fi stack. This function must be called before calling any other Wi-Fi API function

WlanConnect_DeInit()

Deinitialize the Wi-Fi driver and the Wi-Fi stack

WlanConnect_ScanNetworks()

Scan for surrounded Wi-Fi networks

WlanConnect_Open()

Connect to a network without security permissions

WlanConnect_WPA()

Connect to a network with a WPA passphrase

WlanConnect_Disconnect()

Disconnect the current network connection

WlanConnect_CurrentNwStatus_T()

Delivers the current status of the Wi-Fi network connection

The BCDS_NetworkConfig.h interface provides basic functions to make general connection settings and to get informations about the current network connection.

NetworkConfig_Ipv4Value()

Convert a given IP in a hexadecimal state

NetworkConfig_Ipv4Byte()

Extract a byte from an acquired IP address

NetworkConfig_SetIpStatic()

Set the configuration to a static IP

NetworkConfig_SetIpDhcp()

Set the configuration to dynamic IP by using DHCP

NetworkConfig_GetIpSettings()

Handle Wi-Fi IP settings. Return a structure that includes the connection information