Skip to content

wifi.cpp scan hangs after declaring object instance #158

Closed
@rickAllDev

Description

@rickAllDev

Could you please explain the following

This scenario DOES NOT work for me:

WiFi wifi_debug;
auto results = wifi_debug.scan();
... hangs on:  0x4011cf9c: WiFiEventHandler::eventHandler(void*, system_event_t*) at C:/Users/Rick/Documents/EclipseProjects/orb1/components/cpp_utils/WiFiEventHandler.cpp:26

This scenario DOES work for me:

WiFi *pwifi1;
pwifi1 = new WiFi;
auto results = pwifi1->scan();

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions