Define ANJ_SEND_ERR_REJECTED

Define Documentation

ANJ_SEND_ERR_REJECTED

Delivery failed due to a CoAP-level error.

Returned when the exchange completes with a non-success CoAP status (e.g., server responds 4.xx/5.xx, sends RST), or when the client’s processing produces a CoAP error code (e.g., failure while preparing or handling the payload that maps to a CoAP error). Not used for timeouts or explicit aborts; those are reported as ANJ_SEND_ERR_TIMEOUT and ANJ_SEND_ERR_ABORT respectively.