-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wifi_print(TCP...,string) only works with string allocated to wifi_buffer #173
Comments
First step in addressing issue #173.
Partially addressed with documentation and example code updates in v1.4.88 Update wifi_scan(TCP... docs |
Check how common content-length is in headers. If common, then add function to deliver only content. |
Hmmm, this actually looks pretty doable... |
Got it. Thank you!
…On Fri, Jul 6, 2018 at 1:15 PM, Jim Ewald ***@***.***> wrote:
A word of caution regarding character sets as it relates to the
content-length header. If the character set is multi-byte, such as UTF-8,
the value in the content-length will be under reported.
Details can be found here
<https://sankhs.com/2016/03/17/content-length-http-headers/> and here
<https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALCgd1aX0QWfZB54Sd5Vg6qcxNlAR-aOks5uD8VIgaJpZM4VE0bB>
.
|
…#173 Testing int wifi_termShowStrAndNPCs(char *s); int wifi_getNamedValue(char *strSource, char *strName, char *fmt, ...);
This should help: int wifi_getNamedValue(char *strSource, char *strName, char *fmt, ...); Usage example on line 102 in Dev branch's Temperature from OpenWeatherMap.
|
For #173, added putStrWithNpcVals and sscanAfterStr functions. Temperature from OpenWeathermap updated to search for an exact match to the JSON attribute.
For #173, added putStrWithNpcVals and sscanAfterStr functions. Temperature from OpenWeathermap updated to search for an exact match to the JSON attribute.
If you try to pass a different string, it is not populated with the response.
The text was updated successfully, but these errors were encountered: