-
Notifications
You must be signed in to change notification settings - Fork 514
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
WPA/WPA2 Enterprise support [ch1317] #1289
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
technobly
changed the title
WPA/WPA2 Enterprise support
WPA/WPA2 Enterprise support [ch1317]
Apr 5, 2017
…tack A check has been added to the linker file to catch this error. system-part2 now uses 4k RAM from the 16k of reserved heap space. This should not break compatibility with user apps built with earlier versions of firmware.
Relevant tests: THREAD_02_thread_doesnt_leak_memory, APPLICATION_WATCHDOG_03_doesnt_leak_memory
- Removes duplicate USART- and USBSerial static buffers. Allocate them on heap if needed. - Stubs for __cxa_atexit and __cxa_finalize. Frees around 1.5k
… list of configured access points
…dated for mbedTLS
…e in case of a monolithic build
…EBUG_BUILD=y on Photon/P1
Fix endless IWDG reset loop
…inc file which gets compiled as part of communication library. Helps to avoid linking issues when recompiling without 'clean'
…7b0654f75c17f67846ed0bb1d9d. _gettimeofday in system-part1 should use millis() from system-part2
- wpa supplicant should not be canceled from an ISR. - implemented tls_host_malloc/tls_host_calloc/tls_host_free to easier debug WICED crypto allocations
- Wake tls_agent, peap and supplicant threads to cancel the connection attempt faster - Declare tls_host_malloc/tls_host_callc/tls_host_free as weak functions
…k overflow during cloud handshake
…to reduce stack usage during cloud handshake
technobly
force-pushed
the
feature/photon/wiced-3.7.0-7
branch
from
June 14, 2017 04:55
688fbde
to
afd6d6f
Compare
technobly
approved these changes
Jun 14, 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 super feature!!!
I have tried the wiced branch because of the new FreeRTOS features. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Do not merge
Problem
WPA Enterprise support was required :)
Solution
Apart from implementing WPA Enterprise support (with EAP-TLS and PEAP/MSCHAPv2 authentication), this PR includes a newer WICED: 3.7.0-7. See the relevant
photon-wiced
branch for a list of WICED fixes/enhancements.Steps to Test
https://github.com/avtolstoy/particle-wpa-enterprise-docker
Example App
TODO
References
Completeness
Feature
[PR #1289]
[Implements #914]
[Photon/P1]
WPA/WPA2 Enterprise support added (PEAP/MSCHAPv2 and EAP-TLS)! [Photon/P1] Automatic cipher/security detection when configuring WiFi settings over Serial.Enhancements
[PR #1269]
[Closes #1165]
Cloud connection can be closed gracefully allowing confirmable messages to reach the cloud before the connection is terminatedBugfixes
[PR #1289]
Fixes a stack overlap with system-part2 static RAM on Photon/P1[PR #1289]
Fixes a memory leak when Thread is terminated[PR #1289]
Fixes a deadlock in SoftAP, when connection is terminated prematurely