This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Pointer to class instance

NrfIdentifyCommand identifyCommand;
NrfIdentifyCommand *pIdentifyCommand = &identifyCommand;

int commandId = identifyCommand.GetCommandId(); // works
commandId = pIdentifyCommand->GetCommandId(); // FAILS (on Devboard going to Nirvana ...)

Why can't call method in 2nd case?

Related