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

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Can't read sms using Thinker A7 communicate with Arduino