Skip to content

ERROR Compile the StandardFirmataBle #387

Closed
@hulkco

Description

@hulkco

I have this error when updating the latest snapshot:
In file included from /tmp/arduino_build_563639/sketch/bleConfig.h:65:0,
from /root/Arduino/libraries/Firmata/examples/StandardFirmataBLE/StandardFirmataBLE.ino:42:
/root/Arduino/libraries/Firmata/utility/BLEStream.h: In member function ‘void BLEStream::end()’:
/root/Arduino/libraries/Firmata/utility/BLEStream.h:121:59: error: call of overloaded ‘setEventHandler(BLECharacteristicEvent, NULL)’ is ambiguous
this->_rxCharacteristic.setEventHandler(BLEWritten, NULL);
^
/root/Arduino/libraries/Firmata/utility/BLEStream.h:121:59: note: candidates are:
In file included from /root/.arduino15/packages/Intel/hardware/arc32/1.0.7/libraries/CurieBLE/src/CurieBLE.h:37:0,
from /tmp/arduino_build_563639/sketch/bleConfig.h:64,
from /root/Arduino/libraries/Firmata/examples/StandardFirmataBLE/StandardFirmataBLE.ino:42:
/root/.arduino15/packages/Intel/hardware/arc32/1.0.7/libraries/CurieBLE/src/BLECharacteristic.h:465:10: note: void BLECharacteristic::setEventHandler(BLECharacteristicEvent, BLECharacteristicEventHandler)
void setEventHandler(BLECharacteristicEvent event,
^
/root/.arduino15/packages/Intel/hardware/arc32/1.0.7/libraries/CurieBLE/src/BLECharacteristic.h:467:10: note: void BLECharacteristic::setEventHandler(BLECharacteristicEvent, BLECharacteristicEventHandlerOld)
void setEventHandler(BLECharacteristicEvent event,

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