38 #ifndef MESH_APP_UTILS_H__ 39 #define MESH_APP_UTILS_H__ 42 #include "toolchain.h" 43 #if defined(S130) || defined(S132) || defined(S140) 56 extern void app_error_handler(uint32_t error_code, uint32_t line_number,
const uint8_t * filename);
58 #define ERROR_CHECK(__error_code) \ 61 const uint32_t __local_code = (__error_code); \ 62 if (__local_code != NRF_SUCCESS) \ 64 app_error_handler(__local_code, __LINE__, (const uint8_t *) __FILE__); \ 68 #define RETURN_ON_ERROR(status) \ 70 uint32_t result = status; \ 71 if (result != NRF_SUCCESS) \ 77 #if defined(S130) || defined(S132) || defined(S140) || defined(S112) || defined(S113) 79 extern nrf_nvic_state_t nrf_nvic_state;
void mesh_app_uuid_print(const uint8_t *p_uuid)
Prints the given UUID in a readable format.