B4R Library Enhanced Ethernet library

Based on the Ethetnet2.0 library, multiple Wiznet Ethernet peripherals are supported.
Code remarks are in Chinese. Please translate into English if necessary.

Enhanced content:
Allows custom IP, subnet mask, gateway, DNS
Support network connection status attributes in addition to W5100

The same name as the rEthernet library. Do not use it with rEthernet.
 

Attachments

  • Ethernet 2.0.0.0库.zip
    63.4 KB · Views: 586
  • rEthernetAdvanced.zip
    5.2 KB · Views: 577

santook

Member
B4X:
Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'Public variables can be accessed from all modules.
    Public Serial1 As Serial
    Public eth As Ethernet
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log("AppStart")
    eth.InitializeAdvanced(....)
    If eth.GetLinkStatus=eth.LinkOn Then
        Log("Link ON")
        Else
        Log("Link OFF")
    End If
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…