Changes

Jump to navigation Jump to search
959 bytes added ,  21:00, 24 May 2020
Line 1,068: Line 1,068:  
= Network protocol =
 
= Network protocol =
 
== ldn ==
 
== ldn ==
<fill this in>
+
A beacon and Action frame are broadcasted. The SSID in the beacon is hidden (32-bytes with value 0).
 +
 
 +
During connection, the Station first sends a probe-request using the [[#NetworkInfo|generated]] SSID from the Action frame. If the probe-response contains the expected data for the [[#SecurityConfig]] type, the Station then proceeds to connect to the AccessPoint.
 +
 
 +
Once connected, the Station must Authenticate with the AccessPoint, this is custom. The Station sends a frame, and the AccessPoint sends a response. Once Authenticated, the node is added to the [[#NodeInfo]] array in [[#NetworkInfo]], the Station will throw an error if it can't find a matching [[#MacAddress]] for itself here. If the Station does not successfully Authenticate X-seconds after connecting, the AccessPoint disconnects the Station. If the Station fails to Authenticate, the Station itself will disconnect as well.
    
This does not use DHCP, each node on the network has to manually setup ARP (without sending ARP network requests) with the [[#NodeInfo]] array in [[#NetworkInfo]].
 
This does not use DHCP, each node on the network has to manually setup ARP (without sending ARP network requests) with the [[#NodeInfo]] array in [[#NetworkInfo]].
 +
 +
At this point standard sockets can be used over Data frames.
 +
 +
<fill this in>
    
== lp2p ==
 
== lp2p ==

Navigation menu