no-OS
Functions
main.c File Reference

Main file for EVAL-ADE9430 project. More...

#include "no_os_error.h"
#include <stdlib.h>
#include <stdio.h>
#include "no_os_uart.h"
#include "no_os_gpio.h"
#include "no_os_delay.h"
#include "no_os_timer.h"
#include "no_os_i2c.h"
#include "mqtt_client.h"
#include "ade9430.h"
#include "pcf85263.h"
#include "nhd_c12832a1z.h"
#include "maxim_gpio.h"
#include "maxim_uart.h"
#include "maxim_irq.h"
#include "maxim_i2c.h"
#include "maxim_spi.h"
#include "maxim_timer.h"
#include "maxim_trng.h"
#include "no_os_irq.h"
#include "no_os_print_log.h"
#include "wifi.h"
#include "tcp_socket.h"
#include "az_iot_hub_client.h"
#include "az_iot_provisioning_client.h"
#include "parameters.h"
Include dependency graph for main.c:

Functions

int create_and_configure_mqtt_client_for_provisioning (void)
 
int create_and_configure_mqtt_client_for_iot_hub (void)
 
int read_and_send (struct mqtt_desc *mqtt, struct ade9430_dev *ade9430_dev, struct nhd_c12832a1z_dev *nhd_c12832a1z_dev, struct pcf85263_dev *pcf85263_dev)
 
void mqtt_message_handler (struct mqtt_message_data *msg)
 
int main ()
 Main function execution for maxim platform. More...
 

Detailed Description

Main file for EVAL-ADE9430 project.

Author
Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)

Copyright 2023(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ create_and_configure_mqtt_client_for_iot_hub()

int create_and_configure_mqtt_client_for_iot_hub ( void  )

◆ create_and_configure_mqtt_client_for_provisioning()

int create_and_configure_mqtt_client_for_provisioning ( void  )
Here is the caller graph for this function:

◆ main()

int main ( )

Main function execution for maxim platform.

Returns
ret - Result of the enabled examples execution.

◆ mqtt_message_handler()

void mqtt_message_handler ( struct mqtt_message_data *  msg)
Here is the caller graph for this function:

◆ read_and_send()

int read_and_send ( struct mqtt_desc *  mqtt,
struct ade9430_dev ade9430_dev,
struct nhd_c12832a1z_dev nhd_c12832a1z_dev,
struct pcf85263_dev pcf85263_dev 
)