This section presents networking libraries.

The following schema shows the overall architecture and modules:

Network Libraries Overview

Network Libraries Overview

Foundation Libraries

Name Description Module Link API Link Use
Bluetooth Bluetooth Low Energy (BLE) based on the Generic Attribute Profile (GATT). bluetooth ej.bluetooth package
ECOM-Network Network interfaces management and IP configurations. ecom-network NetworkInterfaceManager class  
ECOM-WIFI Wi-Fi connectivity. ecom-wifi WifiManager class
NET Client and Server raw TCP/IP sockets. net package
Security Cryptographic operations. security javax.crypto package  
SSL Client and Server secure sockets layer using Transport Layer Security (TLS) protocols. ssl package

Add-On Libraries

IoT Libraries

Name Description Module Link API Link Use
Android Connectivity Network connection state and notifications. android-connectivity ConnectivityManager class
HTTP Client OpenJDK HTTP client. httpclient, httpsclient HttpURLConnection class
HTTP Server (Hoka) Tiny footprint yet extensible web server. hoka HttpServer class
MQTT Client (MicroPaho) Tiny footprint MQTT 3.1.1 client based on Eclipse Paho Java APIs. micropaho MqttClient class
REST Client REpresentational State Tranfer (REST) client. restclient Resty class
REST Server REpresentational State Tranfer (REST) server using on Hoka HTTP Server. restserver RestServer class
SNTP Client Simple Network Time Protocol (SNTP) client, used to retrieve the current time from an NTP server. sntpclient SntpClient class
WebSocket Client WebSocket client (RFC 6455). websocket, websocket-secure WebSocket class

Data Serialization Libraries

Name Description Module Link API Link Use
CBOR Concise Binary Object Representation (CBOR) encoder and decoder (RFC 7049). cbor
JSON JavaScript Object Notation (JSON) encoder and decoder. json
Protocol Buffers Google Protocol Buffers 3 encoder and decoder, supporting files compiled by protoc with lite plugin. protobuf3
XML eXtensible Markup Language encoder and decoder (kXML 3). kxml2

Cloud Agent Libraries

Name Description Module Link Use
AWS IoT Core AWS IoT Core client, providing publish/subscribe functionalities. aws-iot
Google Cloud Platform Iot Core Google Cloud Platform Iot Core client. gcp-iotcore