Loading include/kinetic_types.h +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ typedef enum { KINETIC_STATUS_SESSION_INVALID, ///< Session configuration was invalid or NULL KINETIC_STATUS_HOST_EMPTY, ///< Host was empty in request KINETIC_STATUS_HMAC_REQUIRED, ///< HMAC key is empty or NULL KINETIC_STATUS_NO_PDUS_AVAVILABLE, ///< All PDUs for the session have been allocated KINETIC_STATUS_NO_PDUS_AVAILABLE, ///< All PDUs for the session have been allocated KINETIC_STATUS_DEVICE_BUSY, ///< Device busy (retry later) KINETIC_STATUS_CONNECTION_ERROR, ///< No connection/disconnected KINETIC_STATUS_INVALID_REQUEST, ///< Something about the request is invalid Loading src/lib/kinetic_types.c +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ STATIC const char* KineticStatusDescriptor[] = { "SESSION_INVALID", "HOST_EMPTY", "HMAC_REQUIRED", "NO_PDUS_AVAVILABLE", "NO_PDUS_AVAILABLE", "DEVICE_BUSY", "CONNECTION_ERROR", "INVALID_REQUEST", Loading test/unit/test_kinetic_types.c +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ void test_Kinetic_GetStatusDescription_should_return_appropriate_descriptions(vo TEST_ASSERT_EQUAL_STRING("SESSION_INVALID", Kinetic_GetStatusDescription(KINETIC_STATUS_SESSION_INVALID)); TEST_ASSERT_EQUAL_STRING("HOST_EMPTY", Kinetic_GetStatusDescription(KINETIC_STATUS_HOST_EMPTY)); TEST_ASSERT_EQUAL_STRING("HMAC_REQUIRED", Kinetic_GetStatusDescription(KINETIC_STATUS_HMAC_REQUIRED)); TEST_ASSERT_EQUAL_STRING("NO_PDUS_AVAVILABLE", Kinetic_GetStatusDescription(KINETIC_STATUS_NO_PDUS_AVAVILABLE)); TEST_ASSERT_EQUAL_STRING("NO_PDUS_AVAILABLE", Kinetic_GetStatusDescription(KINETIC_STATUS_NO_PDUS_AVAILABLE)); TEST_ASSERT_EQUAL_STRING("DEVICE_BUSY", Kinetic_GetStatusDescription(KINETIC_STATUS_DEVICE_BUSY)); TEST_ASSERT_EQUAL_STRING("CONNECTION_ERROR", Kinetic_GetStatusDescription(KINETIC_STATUS_CONNECTION_ERROR)); TEST_ASSERT_EQUAL_STRING("INVALID_REQUEST", Kinetic_GetStatusDescription(KINETIC_STATUS_INVALID_REQUEST)); Loading Loading
include/kinetic_types.h +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ typedef enum { KINETIC_STATUS_SESSION_INVALID, ///< Session configuration was invalid or NULL KINETIC_STATUS_HOST_EMPTY, ///< Host was empty in request KINETIC_STATUS_HMAC_REQUIRED, ///< HMAC key is empty or NULL KINETIC_STATUS_NO_PDUS_AVAVILABLE, ///< All PDUs for the session have been allocated KINETIC_STATUS_NO_PDUS_AVAILABLE, ///< All PDUs for the session have been allocated KINETIC_STATUS_DEVICE_BUSY, ///< Device busy (retry later) KINETIC_STATUS_CONNECTION_ERROR, ///< No connection/disconnected KINETIC_STATUS_INVALID_REQUEST, ///< Something about the request is invalid Loading
src/lib/kinetic_types.c +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ STATIC const char* KineticStatusDescriptor[] = { "SESSION_INVALID", "HOST_EMPTY", "HMAC_REQUIRED", "NO_PDUS_AVAVILABLE", "NO_PDUS_AVAILABLE", "DEVICE_BUSY", "CONNECTION_ERROR", "INVALID_REQUEST", Loading
test/unit/test_kinetic_types.c +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ void test_Kinetic_GetStatusDescription_should_return_appropriate_descriptions(vo TEST_ASSERT_EQUAL_STRING("SESSION_INVALID", Kinetic_GetStatusDescription(KINETIC_STATUS_SESSION_INVALID)); TEST_ASSERT_EQUAL_STRING("HOST_EMPTY", Kinetic_GetStatusDescription(KINETIC_STATUS_HOST_EMPTY)); TEST_ASSERT_EQUAL_STRING("HMAC_REQUIRED", Kinetic_GetStatusDescription(KINETIC_STATUS_HMAC_REQUIRED)); TEST_ASSERT_EQUAL_STRING("NO_PDUS_AVAVILABLE", Kinetic_GetStatusDescription(KINETIC_STATUS_NO_PDUS_AVAVILABLE)); TEST_ASSERT_EQUAL_STRING("NO_PDUS_AVAILABLE", Kinetic_GetStatusDescription(KINETIC_STATUS_NO_PDUS_AVAILABLE)); TEST_ASSERT_EQUAL_STRING("DEVICE_BUSY", Kinetic_GetStatusDescription(KINETIC_STATUS_DEVICE_BUSY)); TEST_ASSERT_EQUAL_STRING("CONNECTION_ERROR", Kinetic_GetStatusDescription(KINETIC_STATUS_CONNECTION_ERROR)); TEST_ASSERT_EQUAL_STRING("INVALID_REQUEST", Kinetic_GetStatusDescription(KINETIC_STATUS_INVALID_REQUEST)); Loading