-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return values #20
Comments
also, there's a harmless typo in
|
change to waitForFlag to trigger on multiple flags
I have changed the minor typo and also altered the function to give a better error string when the pozyx device is not connected. |
this indeed is a tough one. are there any major changes ahead in the fw that will break support? |
Generally, return values are:
define POZYX_FAILURE 0x0
define POZYX_SUCCESS 0x1
define POZYX_TIMEOUT 0x8
which is different than the defines for
String PozyxClass::getSystemError(uint16_t remote_id)
:define POZYX_ERROR_NONE 0x00
define POZYX_ERROR_I2C_WRITE 0x01
...
define POZYX_ERROR_STARTUP_BUSFAULT 0x08
This should be unified, or solved differently than with defines.
The text was updated successfully, but these errors were encountered: