TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136660 times)
  2. FAT32 Library (69898 times)
  3. Network Ethernet Library (55918 times)
  4. USB Device Library (46248 times)
  5. Network WiFi Library (41881 times)
  6. FT800 Library (41126 times)
  7. GSM click (28971 times)
  8. PID Library (26406 times)
  9. mikroSDK (26343 times)
  10. microSD click (25350 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

AnyNet 2G click

Rating:

0

Author: MIKROE

Last Updated: 2017-11-23

Package Version: 1.0.0.0

Category: GSM/LTE

Downloaded: 771 times

Not followed.

License: MIT license  

AnyNet 2G click is a cellular to AWS gateway device, which provides developers with the complete solution for various IoT applications, by using the AWS IoT and Cloud Storage services for the data storage, analyzing and processing.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "AnyNet 2G click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "AnyNet 2G click" changes.

Do you want to report abuse regarding "AnyNet 2G click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)

Library Blog

AnyNet 2G click

AnyNet 2G click

Front and back view of the AnyNet 2G click.

View full image

Library Description 

The library is composed of driver and API layers both available from user space. Lower driver layer carries generic AT command parser, API layer carries simplified user-friendly function calls.

Key functions

api_anynet2g_queryICCID- Provides ICC ID necessary for registration

api_anynet2g_checkStateAWS- Returns current state of the module

api_anynet2g_openTopicAWS- Opens Topic

Examples descriptions

The example shows how to properly initialize module and use API function calls. All information from the module is logged using UART so two UART modules are necessary for the example. In case that your system has only one UART module, Software UART is also usable for data logging. 

 // MODULE INIT
    anynet2g_cmdSingle( "AT" );
    api_anynet2g_firmwareID();
    api_anynet2g_queryICCID();

    api_anynet2g_checkStateAWS( _ANYNET2G_GET );

// OPEN TOPIC 0 AND PUBLISH
    api_anynet2g_openTopicAWS( _ANYNET2G_SET, "0", "MY_TOPIC" );
    api_anynet2g_publishTopicAWS( _ANYNET2G_SET, "0", "MIKROE", "" );

In addition to API calls, example carries additional functions for GPIO pin control provided during the driver initialization.

Keep in mind that AnyNet 2G click currently doesn't support Hardware Flow control so implementation of UART interrupt is a must, also timer interrupt is needed.

Other mikroE Libraries used in the example:

  • UART
  • Conversions
  • C_String

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 clickor RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

RMS to DC click

7

RMS to DC click is a Click board that is used to convert the RMS of the input signal into a DC voltage, with a value directly readable over the I2C interface. The Click board is equipped with the LTC1968, an RMS-to-DC converter IC, which outputs an analog voltage depending on the RMS value of the input signal.

[Learn More]

Temp-Hum 4 click

5

Temp-Hum 4 click is a smart environmental temperature and humidity sensor Click board, packed with features, that allow easy and simple integration into any design that requires accurate and reliable humidity and temperature measurements.

[Learn More]

BT click

0

BT Click is a compact add-on board targeted for applications that require both Bluetooth Smart and Classic connectivity. This board features the BT121, a dual-mode Bluetooth Smart Ready module solution that gives unparalleled flexibility to integrate both Bluetooth Smart and Bluetooth Basic Rate/Enhanced Data Rate (BR/EDR) wireless technologies from Silicon Labs.

[Learn More]