Giter Site home page Giter Site logo

mtb04313 / connectivity-utilities Goto Github PK

View Code? Open in Web Editor NEW

This project forked from infineon/connectivity-utilities

0.0 0.0 0.0 402 KB

This repository hosts general purpose connectivity middleware utilities such as linked_list, json_parser and other network helper libraries

C 94.11% C++ 5.89%

connectivity-utilities's Introduction

Introduction

The connectivity utilities library is a collection of general purpose middleware utilities. Several connectivity middleware libraries shall depend on this utilities library. Currently, the following utilities are included:

Features

JSON parser

The JSON format is often used for serializing and transmitting structured data over a network connection. It is used primarily to transmit data between a server and web application, serving as an alternative to XML. JSON is JavaScript Object Notation. The JSON parser utility library provides helper functions to parse JSON objects and calls the function registered by the caller

Refer to the cy_json_parser.h for API documentation

Linked list

This is a generic linked list library with helper functions to add, insert, delete and find nodes in a list.

Refer to the cy_linked_list.h for API documentation

String utilities

The string utilities module is a collection of string conversion helpers to convert between integer and strings.

Refer to the cy_string_utils.h for API documentation

Network helpers

This is a collection of network helper functions to fetch IPv4 address of the local device, notify IPv4 address change via callback and conversion utilities.

Refer to the cy_nw_helper.h for API documentation

Logging functions

This module is a logging subsystem that allows run time control for the logging level. Log messages are passed back to the application for output. A time callback can be provided by the application for the timestamp for each output line. Log messages are mutex protected across threads so that log messages do not interrupt each other.

Refer to the cy_log.h for API documenmtation

Middleware Error codes

The utilities library includes a collection of middleware error codes for various middleware libraries such as AWS IoT, HTTP server, Enterprise security etc.

Refer to cy_result_mw.h for details

Supported platforms

This middleware library and its features are supported on following PSoC 6 platforms:

Integration Notes

  • The connectivity utilities library has been designed to work with both the ARM mbed ecosystem and AnyCloud.
  • It is adequate to include this library in the desired ecosystem to use these utilities. Depending on the ecosystem, the respective source files will get picked up and linked. This is accomplished using the COMPONENT_ model.
  • In order to ease integration of Wi-Fi connectivity components to code examples, this connectivity utilities library has been bundled into the Wi-Fi middleware core library v2.0.0 on AnyCloud.
  • For mbed ecosystem, this library has to be included by the respective code examples.
  • NOTE: Refer to the COMPOMENT_ folders for implementation details pertinent to the ecosystem. For instance, certain network helper functions are not implemented on AnyCloud, and are leveraged from Wi-Fi Connection Manager

Additional Information

connectivity-utilities's People

Contributors

cygitlab-user avatar jimtrudeau avatar kask01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.