Skip to content

Sample code throws null pointer exception on USB devices #3

@lemiant

Description

@lemiant

When I follow the readme instructions and try to run the sample code I get a null pointer exception if there are any devices connected via USB. It comes from comm.cpp:474 when trying to dereference nxtPtr:

nxtPtr->getDeviceInfo(name, bluetoothAddress, signalStrength, availableFlash, status);

Unhandled exception at 0x003BF10A in ConsoleApplication4.exe: 0xC0000005: Access violation reading location 0x00000000.

EDIT: I'm running 64-bit windows 8.1 and programming with Visual Studio 2013

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