Skip to content

BG95, SSL, Http Client, Post Request does not forwart server respnose #9

@A-n-d-y-K

Description

@A-n-d-y-K

[x] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[ ] Request to support a new module

[ ] Bug or problem compiling the library
[x] Bug or issue with library functionality (ie, sending data over TCP/IP)
[x] Question or request for help

What are you working with?

Modem: BG95M3LAR02A04_01.003.01.003
Main processor board: ESP32
SimpleNB version: 1.0.0
Code: HttpsClient.ino
#define SIMPLE_NB_MODEM_BG96
SimpleNBClientSecure client(modem);
HttpClient http(client, server, port);

Scenario, steps to reproduce

https POST request to server "gatewayapi.com" (https, SSL)

  • "gatewayapi.com" -> HttpClient::iClient->available() returns zero -> NOT OK
  • "esp32-test-9e8b3-default-rtdb.europe-west1.firebasedatabase.app" -> response from iClient forwared to HttpClient -> OK

To my knowlege

  • "SimpleNBClientSecure" acts as innerClient = iClient.
  • The available() fct is provided by SimpleNB
  • Since iClient->available() returns with zero upper layer HttpClient runs its timeout

Expected result

  • HttpClient::iClient->available() returns Num of bytes received by SIM Module (+QSSLRECV: 366, attachment Line 2028)

Actual result

  • HttpClient::iClient->available() returns zero -> NOT OK

Debug and AT command log

Request for support

I´m Aware that this library does not explicitely support BG95 but for this usecase I´m not aware of any differences BG95 vs. BG96.
Quectel_BG95BG96_Series_Difference_Introduction_V1.0.pdf
I´m not expecting a solution form @techstudio-design but some hint how to debug, the iClient which is derived from class stream.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions