framework/st_things : Processing the result of st_things_start()
Logic processing based on the result of st_things_start()
@@ -127,11 +127,11 @@ int ess_process(void)
st_things_register_user_confirm_cb(handle_ownership_transfer_request);
st_things_register_things_status_change_cb(handle_things_status_change);
- st_things_start();
-
+ if (st_things_start() == ST_THINGS_ERROR_NONE) {
printf("[%s]=====================================================\n", TAG);
printf("[%s] Stack Started \n", TAG);
printf("[%s]=====================================================\n", TAG);
+ }
return 0;
}
