Skip to main content

Provisioning and Connectivity

This page explains what to click and what each field does. The full SoftAP path for first setup is in Quick start.

SoftAP (web) and BLE (NeoLinker) are one firmware, mutually exclusive at runtime: starting one stops the other.

Entry: Network page​

Click Network on the left. Three sections: Wi‑Fi, MQTT, Provisioning.

By default the nearby list is collapsed (only Show networks / Refresh):

Network page default (list collapsed)

Click Show networks (or Refresh after a successful scan) to expand; tap a row to fill SSID:

Show networks expanded nearby AP list

SoftAP hotspot (web provisioning)​

Open / close​

MethodAction
ButtonLong-press MAIN ~2.5 s → blue blink; guide page on panel
WebNetwork → provisioning method → Open SoftAP
Close hotspotClose on banner / provisioning section; or idle timeout
APIPOST /api/v1/network/openSoftAp / closeSoftAp (may return before toggle completes—poll getDevInfo.softapUp)

Connection parameters (phone / PC)​

ItemValue
Hotspot nameEK410_<MAC6> (SoftAP interface MAC last 3 bytes, uppercase hex; matches panel)
Password12345678
Browser URLhttp://192.168.4.1 (not https)
Idle close~2 minutes no activity (HTTP access renews timer)
Hard cap~15 minutes, closes even with clients
SSID vs devMac

getDevInfo.devMac is the STA MAC; the hotspot name uses the SoftAP MAC. On ESP32 the SoftAP last octet is usually STA+1 (e.g. STA …:3C → EK410_…3D). Trust the panel / softApSsid, not the STA suffix alone.

While provisioning the device is APSTA: hotspot and home Wi‑Fi can coexist, so you see Save and connect try results in the browser.

Panel after hotspot closes​

  • If the user never pushed a frame: CamThink logo returns;
  • If lastfrm exists: last user image returns;
  • Hardware RESET: exits SoftAP / BLE handoff and restores last frame.

BLE CT-Prov (NeoLinker)​

For provisioning without joining SoftAP, using the mobile app.

StepAction
1Long-press PAGE ~2.5 s (or Network → Open BLE (NeoLink))
2LED cyan blink; SoftAP / web server stops
3Open NeoLinker; look for advertise name EK410-XXXXXX (hyphen -, SoftAP MAC last 3 bytes — not the underscore SoftAP SSID)
4Complete CT-Prov/1 per app
5Exit: long-press PAGE again, ~2 min idle, session.close, or long-press MAIN for SoftAP

openBleProv may pass {idleSec} (CI). Max window same as SoftAP, ~15 minutes. Protocol: docs/ct_prov.md; HTTP can POST JSON to /api/v1/ctprov on STA IP too.


Wi‑Fi: steps and fields​

  1. Network → Wi‑Fi card.
  2. Refresh, pick SSID from list (fills input).
  3. Enter password; Show to verify.
  4. Save and connect, watch card header.
  5. Success: green “Connected” + SSID + IP; failure: fix password (old good config not wiped).

Field reference​

Field / controlRequiredNotes
Nearby networks—Refresh to scan; expand/collapse
SSIDYes2.4 GHz; manual entry OK
PasswordEncrypted netsNever returned on read; empty on same SSID keeps stored password
Save and connect—~20 s try-first, NVS only on success; no reboot

Connection state (Overview / wifiState)​

StateMeaningAction
Disconnected / idleNo creds or not connectingSave Wi‑Fi
ConnectingTry in progressWait
ConnectedHas IPMQTT, push images
ReconnectingWas up, dropped; backoff 1s→60sCheck signal/password; save again

MQTT: steps and fields​

  1. Wi‑Fi must be Connected (test needs STA).
  2. Protocol: MQTT or MQTTS (match platform; not auto from port).
  3. Server, port (MQTT 1883, MQTTS 8883 typical).
  4. MQTTS: Verify certificate default on (system CA); lab self-signed—off or paste custom CA PEM.
  5. Client ID read-only (ek410-{deviceId})—do not edit.
  6. QoS usually 1.
  7. Username / password per platform.
  8. Expand View MQTT topics, check uplink / downlink.
  9. Test connection, then Save.
  10. Approve device in NeoMind device list.

Field reference​

FieldNotes
ProtocolExplicit MQTT / MQTTS
Verify certificateMQTTS default on; off for internal lab only
Custom CAOptional PEM; empty = system CA bundle
Server / portRequired
Client IDRead-only ek410-{deviceId}
QoS0 / 1 / 2
Username / passwordOptional; password never read back (hasPassword). Empty only if host and username unchanged; changing either clears stored password and may show warn
Uplink / downlink topicsRead-only: device/ek410_Eink/{deviceId}/uplink|downlink

MQTT test on SoftAP​

  • Must be on home Wi‑Fi (APSTA).
  • Page may freeze briefly on save/test—normal; then Overview MQTT badge or mqttConnected.
  • On SoftAP prefer save + poll Overview over repeated test clicks.

Command/report formats: MQTT protocol.


FAQ​

SymptomCheckFix
Hotspot not foundMAIN ≥2.5 s, blue LED? 15 min auto-close? Searching by STA MAC?Long-press MAIN; use panel / softApSsid (SoftAP MAC, often STA last octet +1)
192.168.4.1 no responseStill on device hotspot? Phone on cellular?Disable mobile data; exit BLE if just opened
Wi‑Fi keeps reconnectingPassword, 2.4 GHz, signal, AP isolationSave and connect again (~20 s try-connect)
MQTT failsProtocol/port, certs, password cleared on host changeTest; re-enter password after host/user change
BLE failsCyan LED? SoftAP still on? Looking for underscore name?Close SoftAP; search EK410-XXXXXX (hyphen); reopen BLE after idle