[IOT-2714][ES] Adding Error Codes as per OCF 1.3.
i) Added error codes to represent invalid auth type and enc type.
ii) Added logic to send OC_EH_BAD_REQUEST(400) without payload
if POST request comes to "/WiFiConfResURI" or "/EasySetupResURI"
with invalid auth type or enc type.
Also updated the comments for existing error codes.
Change-Id: I246af9a777f1aba1f18474ded74e38c4a5ed9b2c
Signed-off-by:
Senthil Kumar G S <senthil.gs@samsung.com>
Showing
Please register or sign in to comment