Uploaded image for project: 'IoTivity'
  1. IoTivity
  2. IOT-1460

requiring cbor header for application build

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Undecided
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: IoTivity 1.2.0
    • Component/s: SDK
    • Labels:
      None
    • Found in Version/s:
      IoTivity 1.2.0 RC4
    • Fixed in Version/s:
      1.2-rel
    • Operating System:
      Ubuntu
    • Issue Severity:
      Major
    • Reproducibility:
      Always (100%)

      Description

      Application compilation need cbor header file because ocpayload.h has dependency with it.

      API Header File : /iotivity/resource/csdk/stack/include/ocpayload.h
      Macros
      /**

      • Macro to verify the validity of cbor operation.
        */
        #define VERIFY_CBOR_SUCCESS(log_tag, err, log_message) \
        if ((CborNoError != (err)) && (CborErrorOutOfMemory != (err))) \
        Unknown macro: { if ((log_tag) && (log_message)) { \ OIC_LOG_V(ERROR, (log_tag), "%s with cbor error: \'%s\'.", \ (log_message), (cbor_error_string(err))); \ } goto exit; }

        \
        #define VERIFY_PARAM_NON_NULL(log_tag, err, log_message) \
        if (NULL == (err)) \

        { \ OIC_LOG_V(FATAL, (log_tag), "%s", (log_message)); \ goto exit;\ }

        \

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              habib.virji Habib Virji
              Reporter:
              jhvics1 Oh Junghyun
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: