1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>MPPortCallbackInfo_Connected</title> 9</head> 10 11<body> 12 13<h1>MPPortCallbackInfo_Connected</h1> 14 15<h2>Definitions</h2> 16<dl><dd> 17<pre><code> 18#include <revolution/mp.h> 19 20#define MP_SIZE_MACADDRESS 6 21#define MP_SIZE_SSID 32 22#define MP_SIZE_SSID_INTERNAL 8 23#define MP_SIZE_SSID_USER_DATA 24 24 25typedef struct MPPortCallbackInfo_Connected 26{ 27 u32 fromAid; 28 29 u32 ssidUserDataLength; 30 u8 macAddress[MP_SIZE_MACADDRESS]; 31 u8 padding[2]; 32 33 union { 34 struct { 35 u8 _ssidInternal[MP_SIZE_SSID_INTERNAL]; 36 u8 ssidUserData[MP_SIZE_SSID_USER_DATA]; 37 }; 38 u8 _ssid[MP_SIZE_SSID]; 39 }; 40 41 u32 _ssidLength; 42} MPPortCallbackInfo_Connected; 43</code></pre> 44</dd></dl> 45 46<H2>Description</H2> 47<p> 48This structure is used as a member of the <A href="./MPPortCallbackInfo.html"><CODE>MPPortCallbackInfo</CODE></A> structure when the port receive callback function has been called as a result of connection with a child device. 49</p> 50<TABLE border="1"> 51 <TBODY> 52 <tr> 53<th><strong>Member</strong></th> 54<th><strong>Description</strong></th> 55 </tr> 56 <TR> 57<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>fromAid</strong></em></td> 58<TD width="520">AID of the child device of the connected party.</TD> 59 </TR> 60 <TR> 61<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>ssidUserDataLength</strong></em></td> 62<TD width="520">The length of the data set in the User Data region of the SSID when the child is connected.</TD> 63 </TR> 64 <TR> 65<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>macAddress</strong></em></td> 66<TD width="520">MAC address of the child device of the connected party.</TD> 67 </TR> 68 <TR> 69<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>ssidUserData</strong></em></td> 70<TD width="520">The data set in the User Data region of the SSID when the child is connected.</TD> 71 </TR> 72 </TBODY> 73</TABLE> 74 75<h2>See Also</h2> 76<p> 77<code><a href="./MPPortCallback.html">MPPortCallback</a></code>, <code><a href="./MPPortCallbackInfo.html">MPPortCallbackInfo</a></code> 78</p> 79 80<H2>Revision History</H2> 81<p> 822007/10/24 Made revisions in line with change to how ssid is passed.<BR>2006/11/28 Initial version.<BR> 83</p> 84 85<hr><p>CONFIDENTIAL</p></body> 86</html> 87