Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

dhcp hostname is not honoured in ESP32 build

Even though device.id and sta.dhcp_hostname are set, the resulting hostname at the dhcp server (dnsmasq) is always espressif.

Sys.GetInfo output:

{
  "app": "test",
  "fw_version": "1.1_0808a",
  "fw_id": "20170808-091942/master@a14678ee+",
  "mac": "240AC4050B90",
  "arch": "esp32",
  "uptime": 32001,
  "ram_size": 253296,
  "ram_free": 140788,
  "ram_min_free": 108512,
  "fs_size": 233681,
  "fs_free": 123994,
  "wifi": {
    "sta_ip": "192.168.0.241",
    "ap_ip": "192.168.4.1",
    "status": "got ip",
    "ssid": "TOTO_2G"
  }
}

Sign In or Register to comment.