Skip to content
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

[WIP]fix(http): arduino get/post #160

Closed
wants to merge 14 commits into from
Closed

[WIP]fix(http): arduino get/post #160

wants to merge 14 commits into from

Conversation

sleepdefic1t
Copy link
Contributor

Summary

This PR fixes invalid URL construction and simplifies how the HTTP Get/Post calls are handled in Arduino environments.

This PR also does the following:

  • fixes a typo in the ESP32 Demo Sketch.
  • uses strings for Path bases vs raw pointers to improve stability.

Checklist

  • Ready to be merged

This PR fixes invalid URL construction and simplifies how the HTTP Get/Post calls are handled in Arduino environments.

It also fixes a typo in the ESP32 Demo Sketch.
Current implementation seems to work fine on everything except for ESP8266.

This commit drops raw pointer usage in favor of strings, allowing ESP8266 to make stable API calls.
@ghost ghost added Complexity: Medium Less than 256 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour. labels Oct 28, 2019
sleepdefic1t and others added 5 commits October 28, 2019 13:49
* test: Fix EPS32 test builds

ESP32 test builds were not passing and the tests themselves were not
being compiled into the firmware binary.  Added missing ignore filters
to ignore desktop libraries for building PIO and desktop targets in the
same source tree.

* test: Fix ESP8266 tests

Split up and re-enabled ESP8266 tests.  API tests required further
splitting due to large amounts of strings.
@sleepdefic1t sleepdefic1t changed the title fix(http): arduino get/post [WIP]fix(http): arduino get/post Oct 28, 2019
@sleepdefic1t
Copy link
Contributor Author

[Do Not Merge]

This will need additional updates after #159 is merged.

dated and others added 7 commits October 29, 2019 06:51
* feat: wallets locks endpoint

* refactor: add missing test

* feat: add businesses endpoints

* feat: add bridgechains endpoints

* feat: add locks endpoints

* fix: header files

* fix: typo

* fix: typo

* Enable esp8266 tests (#158)

* test: Fix EPS32 test builds

ESP32 test builds were not passing and the tests themselves were not
being compiled into the firmware binary.  Added missing ignore filters
to ignore desktop libraries for building PIO and desktop targets in the
same source tree.

* test: Fix ESP8266 tests

Split up and re-enabled ESP8266 tests.  API tests required further
splitting due to large amounts of strings.

* fix: various typos and missing declarations

* fix: add new files to arduino

* fix: typo

* refactor: adjust unlocked post params

* refactor: adjust mock signature
This PR fixes invalid URL construction and simplifies how the HTTP Get/Post calls are handled in Arduino environments.

It also fixes a typo in the ESP32 Demo Sketch.
Current implementation seems to work fine on everything except for ESP8266.

This commit drops raw pointer usage in favor of strings, allowing ESP8266 to make stable API calls.
@sleepdefic1t sleepdefic1t deleted the fix(http)/arduino-get-post branch October 30, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium Less than 256 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants