TOP Contributors

  1. MIKROE (2751 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139060 times)
  2. FAT32 Library (71592 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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: 815 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

Ambient 15 Click

0

Ambient 15 Click is a compact add-on board used to measure the amount of the present ambient light. This board features the TSL2584TSV, a very-high sensitivity light-to-digital converter with an I2C interface that transforms light intensity into a digital output signal from AMS-AG. The TSL2584TSV’s near-photopic response produces a highly accurate lux measurement up to 33klx even when mounted behind dark glass. Filtering out unwanted IR light enables the sensor to measure the ambient light more accurately, thus producing a near-photopic response.

[Learn More]

Wifi Control Demo

0

We have created Let's Make project with EasyPIC v7, mikromedia for PIC18FJ, mikroBUS shield and two WiFi PLUS Click boards. With powerful Network WiFi Library we have easily developed simple wireless control interface. Code is written in mikroC, mikroBasic and mikroPascal PRO for PIC compilers. GUI on mikromedia is built with Visual TFT.

[Learn More]

MPU 9DOF Click

0

MPU 9DOF Click carries the MPU–9250 System in Package, which is the world’s first 9-axis Motion Tracking device. MPU–9250 comprises two chips. One is the MPU–6050 that contains a 3-axis accelerometer, a 3-axis gyroscope, and a DMP (digital motion processor); the other is AK8975, a 3-axis digital compass.

[Learn More]