Skip to content

CW_GET_VER can't be used for W5500 #165

@yahyayozo

Description

@yahyayozo

The ctlwizchip() function does not support the CW_GET_VER command for the W5500 chip. This is because the implementation of CW_GET_VER is conditionally compiled only for W6100 and W6300:

As a result, attempting to use CW_GET_VER with W5500 leads to an invalid command response. It would be helpful to either document this limitation clearly or extend support for W5500 as this chip support also the version command which should return 0x04

// 20231017 taylor//teddy 240122
#if _WIZCHIP_ == W6100 || _WIZCHIP_ == W6300
case CW_GET_VER:
*(uint16_t*)arg = getVER();
break;

any help will be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions