Using Wi-Fi with io-pkt

When you're connecting to a Wireless Network in the QNX Neutrino RTOS, the first step that you need to do is to start the stack process with the appropriate driver for the installed hardware.

For information on the available drivers, see the devnp-* entries in the Utilities Reference. For this example, we'll use the fictitious driver. After a default installation, all driver binaries are installed under the staging directory /cpu/lib/dll.

In this example, start the stack using one of these commands:

If the network driver is installed in a location other than /lib/dll, you'll need to specify the full path and filename of the driver on the command line.

Utilize the wpa_supplicant and wpa_cli utilities (described later in this document) to scan, determine network availability, set up authentication, join a network, or set up an access point.

Whether you're a client in infrastructure mode, or you're using ad hoc mode, the steps to implement encryption are the same. You need to make sure that you're using the authentication method and encryption key that have been chosen for the network. If you wish to connect with your peers using an ad hoc wireless network, all peers must be using the same authentication method and encryption key. If you're a client connecting to a WAP, you must use the same authentication method and encryption key as have been configured on the WAP.