add gateway and bree error codes