Help with http post application

Hi!

I need to create an application that sends text messages to a private server, such as ptsv3.com.

Could somebody please help me make this application work?

I encountered issues in various libraries, followed by other difficulties that I was unable to resolve. Attached are build logs and source code, with warnings about implicit function declarations, 'AF_INET' undeclared, and "fatal error: net/socket.h: No such file or directory."

With warm regards

Parents Reply
  • I placed my main.c source in https_client, here is the output:

    00:00:01.619,201] .[1;33m<wrn> nrf_modem_lib_netif: The modem has detected a reset loop. LTE network attach is now restricted for the next 30 minutes..[0m
    +CEREG: 2,"3204","040E8001",7*** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***
    *** Using Zephyr OS v3.7.99-0bc3393fb112 ***
    HTTPS client sample started

    Bringing network interface up
    Provisioning certificate
    Certificate match
    Connecting to the network
    +CGEV: EXCE STATUS 0%MDMEV: RESET LOOP[00:00:01.627,349] .[1;33m<wrn> nrf_modem_lib_netif: The modem has detected a reset loop. LTE network attach is now restricted for the next 30 minutes..[0m
    +CEREG: 2,"3204","040E8001",7

    Why it seems it still uses main.c for https_client? I already erased original main.c, and also erase example.com from all files, but I know "Certificate match" is from https_client, why? I deleted build folder and build again after changed main.c

    What does this "The modem has detected a reset loop. LTE network attach is now restricted for the next 30 minutes" mean? I need to press reset once programmed correct?

    Kind regards

Children
No Data
Related