Skip to content

zephyr-cp: version.json UID is all zeros; board_name/hostname empty because CIRCUITPY_MDNS is off #55

Description

@mikeysklar

Observed on 10.3.0-alpha.4-57-gd96b766f32-dirty, board silabs_siwx917_dk2605a, web workflow up and serving.

GET /cp/version.json returns three fields unpopulated:

{"board_name": "", "hostname": "", "UID": "0000000000000000000000000000000000000000000000000000000000000000", ...}

Everything else in the payload is correct, including ip, board_id, mcu_name and creator_id. The workflow itself works: /fs/ returns 401 without credentials and 200 with them, and PUT/GET/DELETE round trip cleanly.

The all-zero UID also makes the short cpy-<uid>.local mDNS name useless, which is why only the full cpy-silabs_siwx917_dk2605a-<mac>.local form resolves.

hostname being empty is the more interesting one, since common_hal_wifi_radio_hostname is set during init in ports/zephyr-cp/common-hal/wifi/__init__.c and Zephyr's mDNS responder answers the name over the air.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions