The function nmbs_strerror does not handle the error code NMBS_ERROR_INVALID_UNIT_ID inside the switch statement, which triggers the GCC/Clang Wswitch-enum warning. Adding a new case inside the switch statement solves this warning.
There is a cast from a const void pointer to an uint8_t pointer inside the function nmbs_send_raw_pdu, which triggers the GCC/Clang Wcast-qual warning. Adding the missing const qualifier solves this warning.
The function nmbs_strerror does not handle the error code NMBS_ERROR_INVALID_UNIT_ID inside the switch statement, which triggers the GCC/Clang Wswitch-enum warning. Adding a new case inside the switch statement solves this warning.
There is a cast from a const void pointer to an uint8_t pointer inside the function nmbs_send_raw_pdu, which triggers the GCC/Clang Wcast-qual warning. Adding the missing const qualifier solves this warning.