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

ble_HID_template ERROR

Im getting the following error ,when I try to compile the example ble_HID_template from the latest Arduino Nordic Release:

ble_HID_template.ino: In function 'void aci_loop()':
ble_HID_template:579: error: 'SETUP_SUCCESS' was not declared in this scope
C:\Users\nishant\Downloads\arduino-1.0.3\libraries\Nordic_BLE/lib_aci.h: In function 'void setup()':
C:\Users\nishant\Downloads\arduino-1.0.3\libraries\Nordic_BLE/lib_aci.h:123: error: too many arguments to function 'void lib_aci_init(aci_state_t*)'
ble_HID_template:658: error: at this point in file

How to cope up with that?

Parents
  • It looks like that you have a mismatch in the release versions of the BLE library and the example sketches. Make sure that you have deleted the older BLE library before you add the new release to your Arduino library folders.

    Android 4.4.2 or later supports the HID over GATT for BLE natively , just like iOS 7.x supports it natively.

Reply
  • It looks like that you have a mismatch in the release versions of the BLE library and the example sketches. Make sure that you have deleted the older BLE library before you add the new release to your Arduino library folders.

    Android 4.4.2 or later supports the HID over GATT for BLE natively , just like iOS 7.x supports it natively.

Children
  • I checked that ,I'm using the same library and the same sketches from the very same package that is the latest support from you guys for ATmega.

  • Make sure that you check all locations of Arduino libraries for the BLE libraries. Documents\Arduino\libraries <install path for Arduino.exe>\libraries

    I verified that github release build is fine and does not have issues.