3.5 WLAN Configuration
Step-By-Step Instructions
Example of Usage for WLAN configuration
...
ERRPARAMS errparams; // structure for returning error code and error string
BYTE value;
...
// To disable WLAN
value = 0;
if(DSCSAM_WLANControl(value) != DE_NONE)
{
DSCGetLastError ( &errparams );
printf ( "DSCSAM_WLANControl error: %s %s\n", DSCGetErrorString ( errparams.ErrCode ), errparams.errstring );
return 0;
}
// To enable WLAN
value = 1;
if(DSCSAM_WLANControl(value) != DE_NONE)
{
DSCGetLastError ( &errparams );
printf ( "DSCSAM_WLANControl error: %s %s\n", DSCGetErrorString ( errparams.ErrCode ), errparams.errstring );
return 0;
}
...Last updated
Was this helpful?