it is a strange error, a byte is a type defined in file wiring.h, one of the basic files of the API.
That may be but that file never gets included directly or indirectly by WaspSensorSmart.h. And although the depenancy tree for WaspSensorSmart.h includes inttypes.h and stdint.h, but I don't see byte declared any where in those.
A library may have some flaws and can always be improved, but always it is uploaded to our website it is checked that there are no compilation errors.
You get the error as soon as you include WaspSensorSmart.h. May be no tests included it?
Did you modify any of the API files?
Which version are you using?
This happened when I had v21 and now still happens when I have v25.
Could you please post the code that returned this error?
Most of my code is not relevant, but if you want to recreate the error take your example program WaspXBee802_2_sending_receivingB and add at the top ...
...and it will fail. You could also add...
// Initialise Smart Board
...in setup() and it still fails.
I have successfully compiled loaded and executed using WaspSensorSmart_v20.h instead, however I have been 'told' not to use this because I have boards that just say "Smart Metering" and not "Smart Metering v20".
I would be very grateful for a fix / work around because this is affecting my progrees.
Many thanks in deed.