Skip to content

wifi countrycode + enterprise authentication support #63

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

Merged
merged 5 commits into from
Aug 11, 2016

Conversation

eqvinox
Copy link

@eqvinox eqvinox commented Aug 6, 2016

No description provided.

@drrk
Copy link

drrk commented Aug 9, 2016

This looks really good, I will test it all and get it merged soon. Are you happy for it to pushed upstream too?

@eqvinox
Copy link
Author

eqvinox commented Aug 9, 2016

@drrk - sure, though the country code default should probably be made configurable for the target board.

@eqvinox
Copy link
Author

eqvinox commented Aug 9, 2016

@drrk btw, usage example is in emfcamp/Mk3-Firmware#72 - the chip is really finicky about the CA certificate.

@drrk
Copy link

drrk commented Aug 9, 2016

Yeah, I spent a lot of time working on WPA_ENT with the TI rep at the camp, and got it working, but it was too late for the event. What you need is the final root, and it has to be in either DER or PEM format, and has to be /cert/ca.pem on the flash. If it is in PEM format the chip converts it to DER.

It's also worth updating the service pack on the chip - I will post example code to the wiki.

@eqvinox
Copy link
Author

eqvinox commented Aug 9, 2016

@drrk ah, nice to get some info on the cert foobar... DER is smaller if nothing else. I shuffled the certificate around multiple times but wasn't quite sure what made it finally work. The python repo actually has the root + intermediate certs both in one file, which did work. I thought I tried root only and that didn't, but... not sure anymore. Changed it too often... :S

Funnily enough I installed the service pack before any other hacking, mostly because I wanted to see how that works :D (seems to be uncompressed ARM code divided into 3 sections with lots of crossreferences to ROM code)

@castaway
Copy link

get_mac doesnt match the API of the other available NICs, Im about to submit one that adds the whole ifconfig matching the micropython docs..

@drrk
Copy link

drrk commented Aug 11, 2016

👍

@drrk drrk merged commit 5b4d178 into emfcamp:tilda-master Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants