#include <revolution/mp.h>
#define MP_SIZE_MACADDRESS 6
#define MP_SIZE_SSID 32
#define MP_SIZE_SSID_INTERNAL 8
#define MP_SIZE_SSID_USER_DATA 24
typedef struct MPPortCallbackInfo_Connected
{
u32 fromAid;
u32 ssidUserDataLength;
u8 macAddress[MP_SIZE_MACADDRESS];
u8 padding[2];
union {
struct {
u8 _ssidInternal[MP_SIZE_SSID_INTERNAL];
u8 ssidUserData[MP_SIZE_SSID_USER_DATA];
};
u8 _ssid[MP_SIZE_SSID];
};
u32 _ssidLength;
} MPPortCallbackInfo_Connected;
This structure is used as a member of the MPPortCallbackInfo structure when the port receive callback function has been called as a result of connection with a child device.
| Member | Description |
|---|---|
| fromAid | AID of the child device of the connected party. |
| ssidUserDataLength | The length of the data set in the User Data region of the SSID when the child is connected. |
| macAddress | MAC address of the child device of the connected party. |
| ssidUserData | The data set in the User Data region of the SSID when the child is connected. |
MPPortCallback, MPPortCallbackInfo
2007/10/24 Made revisions in line with change to how ssid is passed.
2006/11/28 Initial version.
CONFIDENTIAL