Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

compatibility issue with TinyGSM #31

Open
Labels
topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project
@mcr-ksh

Description

@mcr-ksh

When using TinyGSM, the request is seen on the server side but the client side will receive a timeout when usinghttpclient->responseStatusCode().

After a lot of debugging I found that the issue might be due to the way the library slowly transmits the request:

CONNECT OKOKAT+CIPSEND=1,4>POSTOKAT+CIPSEND=1,1> OKAT+CIPSEND=1,7>/test/OKAT+CIPSEND=1,9> HTTP/1.1OKAT+CIPSEND=1,2>OKAT+CIPSEND=1,10>ConnectionOKAT+CIPSEND=1,2>: OKAT+CIPSEND=1,5>closeOKAT+CIPSEND=1,2>OKAT+CIPSEND=1,4>HostOKAT+CIPSEND=1,2>: OKAT+CIPSEND=1,20

Finally the timeout is occurring when callinghttpclient->endRequest() does not seem to send"\r\n\r\n".

If I add:

httpclient->write((const byte*)"\r\n", 2);

the server reply is received.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp