Function ctru_sys::udsGetNetworkStructApplicationData
source · pub unsafe extern "C" fn udsGetNetworkStructApplicationData(
network: *const udsNetworkStruct,
buf: *mut c_void,
size: usize,
actual_size: *mut usize
) -> Result
Expand description
This can be used with a NetworkStruct, from udsScanBeacons() mainly, for getting the appdata.
§Arguments
buf
- Appdata buffer.size
- Max size of the output buffer.actual_size
- If set, the actual size of the appdata written into the buffer is stored here.