CurieBLE Library inconsistencies


the reference documentation below states blecharcharacteristic supports maxlength parameter.


(https://www.arduino.cc/en/reference/blecharacteristicconstructor)


when try use it, compiler fails

code: [select]
blecharcharacteristic ledcharacteristic("19b10011-e8f2-537e-4f6c-d104768a1215", bleread | blewrite, 4);

quote
no matching function call 'blecharcharacteristic::blecharcharacteristic(const char [37], int, int)
i trying follow example send piece of text "hola" device.

it looks documentation lied maxlen parameter. leave off , should compile fine.


Arduino Forum > Development > Other Software Development > CurieBLE Library inconsistencies


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts