B4R Library Easy AP Mode API For ESP8266

ESP8266 AP mode API encapsulation, a very simple way to use.
B4X:
#Region Project Attributes
    #AutoFlushLogs: True
    #CheckArrayBounds: True
    #StackBufferSize: 300
#End Region

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 ap As ESP8266WiFiAP
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log("AppStart")
    ap.Config(Array As Byte(192,168,99,1),Array As Byte(192,168,44,1),Array As Byte(255,255,255,0))
    ap.Begin("adsl","12345678",2,True,1)
End Sub
 

Attachments

  • rESP8266WiFiAP.zip
    2.2 KB · Views: 454
Top