Function ctru_sys::udsGenerateDefaultNetworkStruct
source · pub unsafe extern "C" fn udsGenerateDefaultNetworkStruct(
network: *mut udsNetworkStruct,
wlancommID: u32_,
id8: u8_,
max_nodes: u8_
)
Expand description
Generates a default NetworkStruct for creating networks.
§Arguments
network
- The output struct.wlancommID
- Unique local-WLAN communications ID for each application.id8
- Additional ID that can be used by the application for different types of networks.max_nodes
- Maximum number of nodes(devices) that can be connected to the network, including the host.