Back to Sealevel      

int SME_GetType ( SME_HANDLE  handle,
char *  type 
)

Gets the current Sealevel I/O module's interface type.

Parameters:
[in] handle Valid handle returned by SME_Initialize().
[out] type 
Return values:
0 Successful completion.
-1 Invalid SME_Initialize handle.
-2 No module selected. Call SME_SearchForModules() first.
-3 Invalid parameter.
Currently, there are only two types of Ethernet enabled SeaI/O modules, wired and wireless. SME_GetType() will return 'X' for wired SeaI/O modules and 'W' for wireless.

 
 
Generated on 18 Sep 2007.