Issues with SSL/TLS Connection Using A7670 Module and ESP32C6

I am encountering an issue when trying to establish an SSL/TLS connection using the A7670 module. Despite following the available documentation, the problem persists. Below, I have detailed the scenario and the troubleshooting steps that have been taken so far:

Objective:
My goal is to have the ESP32C6/A7670 setup communicate iBeacon signals via HTTP POST/GET to a server that requires HTTPS. This communication is essential for the functionality of our project, and the SSL/TLS connection is a critical part of ensuring secure data transmission.

Problem Description:
I am attempting to open an SSL/TLS connection to an HTTPS server (e.g., www.google.com on port 443) using the A7670 module. While I am able to start the SSL service and open a connection to the server, I am experiencing issues when attempting to send and receive data. The main errors I am encountering are related to sending data via AT+CCHSEND and receiving data via AT+CCHRECV.

Steps Taken to Resolve the Issue:

  1. Initial Configuration:
    I correctly configured the PDP context and obtained an IP address using the following commands:

AT+CGDCONT=1,”IP”,”iot4u.br” AT+CGAUTH=1,1,”arqia”,”arqia”
AT+CGPADDR=1

  1. SSL/TLS Configuration:
    I configured the module to use TLS 1.2 with the following command:
    AT+CSSLCFG=”sslversion”,0,3

    I disabled certificate verification to simplify the handshake:

AT+CSSLCFG=”authmode”,0,0

  1. Starting SSL Service:
    I successfully started the SSL service using:

AT+CCHSTART

  1. Attempt to Open a Connection to the Server:
    The connection to the server was successfully opened:

AT+CCHOPEN=0,”www.google.com”,443,2

  1. Issues Sending and Receiving Data:
    When attempting to send an HTTP request, I encountered an error with the AT+CCHSEND command:

AT+CCHSEND=0,”GET / HTTP/1.1rnHost: www.google.comrnConnection:
closernrn” ERROR

I also received an error when trying to receive data with AT+CCHRECV:

AT+CCHRECV=0,1024 ERROR

Troubleshooting Attempts:

  1. Format and Size of Sent Data:
    I tried sending the HTTP request in different formats, including interactive modes and adjustments to the payload size, but the errors persist.

  2. Tests with Different Servers:
    I tested the connection with different servers (e.g., www.google.com, www.example.com), but the issue remains.

  3. Module Restart and Reset:
    I restarted the module and reset it to factory settings to ensure there were no conflicts, but this did not resolve the issue.

  4. Network Parameters Verification:
    I verified the network stability and the activation of the PDP context. Everything seems to be configured correctly, and the IP address is obtained without issues.

Given the scenario and all the troubleshooting steps taken, I believe the problem may be related to a specific configuration.

Need some help! Please!!!

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật