Platform Software Access Point

Includes:
"Common.h"

Introduction

This header contains function prototypes called by the WAC engine that must be implemented by the platform. These functions control the platform's software access point.



Functions

PlatformSoftwareAccessPointStart

This function is called by the WAC engine when it is time to start the platform's software access point and must be implemented by the platform. This function does not have to block until the Software Access Point is fully initialized. The platform should also start the DHCP server at this time.

PlatformSoftwareAccessPointStop

This function is called by the WAC engine when it is time to stop the platform's software access point and must be implemented by the platform. This function does not have to block until the Software Access Point is fully initialized. The platform should also stop the DHCP server at this time.


PlatformSoftwareAccessPointStart


This function is called by the WAC engine when it is time to start the platform's software access point and must be implemented by the platform. This function does not have to block until the Software Access Point is fully initialized. The platform should also start the DHCP server at this time.

OSStatus PlatformSoftwareAccessPointStart(
    const uint8_t *inIE,
    size_t inIELen );  
Parameters
inIE

The information element created by the WAC engine that needs to be added to the platforms software access point's beacon information element.

inIELen

The length of the incoming information element.

Return Value

kNoErr if successful or an error code indicating failure.


PlatformSoftwareAccessPointStop


This function is called by the WAC engine when it is time to stop the platform's software access point and must be implemented by the platform. This function does not have to block until the Software Access Point is fully initialized. The platform should also stop the DHCP server at this time.

OSStatus PlatformSoftwareAccessPointStop(
    void );  
Return Value

kNoErr if successful or an error code indicating failure.