Changes

309 bytes added ,  00:00, 18 October 2020
no edit summary
Line 644: Line 644:     
=== Scan ===
 
=== Scan ===
Takes a type-0x19 input buffer containing a 0x200-byte struct, a type-0x22 output buffer containing an array of a 0x300-byte struct, returns an output s32 total_out.
+
Takes a type-0x19 input buffer containing a 0x200-byte struct, a type-0x22 output buffer containing an array of [[#ScanInfo]], returns an output s32 total_out.
    
=== Cmd768 ===
 
=== Cmd768 ===
Line 1,124: Line 1,124:  
|-
 
|-
 
| 0x86 || 0x2 || "CHANNEL" s16
 
| 0x86 || 0x2 || "CHANNEL" s16
 +
|}
 +
 +
= ScanInfo =
 +
This is a 0x300-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x18 || 0x6 || [[#MacAddress]]?
 +
|-
 +
| 0x86 || 0x1 ||
 +
|-
 +
| 0x200 || 0x1 ||
 +
|-
 +
| 0x206 || 0x2 || Size of the following data.
 +
|-
 +
| 0x208 || 0x80 || Data with the size specified above. Advertise data?
 
|}
 
|}