LDN services: Difference between revisions
Line 670: | Line 670: | ||
The buffer size must be <=0x400. | The buffer size must be <=0x400. | ||
The s16s must be >=1. | The MacAddress must be non-zero. The s16s must be >=1. | ||
Only bit0 is used from flags: clear = block until the data can be sent, set = return error when the data can't be sent. | |||
A string in [[Mario Kart Live: Home Circuit|mklive]] refers to the buffer data as "Action frame". | A string in [[Mario Kart Live: Home Circuit|mklive]] refers to the buffer data as "Action frame". | ||
The [[#GetRole|role]] must be non-zero. | The [[#GetRole|role]] must be non-zero. The error from [[#GetNetworkInterfaceLastError]] will be returned if it's set. | ||
This sends an Action frame to the specified [[#GroupId]], with the specified destination [[#MacAddress_2|MacAddress]] (can be a broadcast address). | This sends an Action frame to the specified [[#GroupId]], with the specified destination [[#MacAddress_2|MacAddress]] (can be a broadcast address). | ||
Line 688: | Line 688: | ||
Only bit0 is used from flags: clear = block until data is available, set = return error when data is not available. | Only bit0 is used from flags: clear = block until data is available, set = return error when data is not available. | ||
When data is not available, the error from [[#GetNetworkInterfaceLastError]] will be returned if it's set. | |||
The [[#GetRole|role]] must be non-zero. | The [[#GetRole|role]] must be non-zero. |