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

[PR] - Investigation Day - Yann - Wifi #38

Closed
wants to merge 4 commits into from

Conversation

YannLocatelli
Copy link
Member

@YannLocatelli YannLocatelli commented Sep 16, 2020

About using wifi during investigation day.

PR related: #37

Goal

Enable WIFI and continuously scan (no timeout).

Bonus

Pair with a phone in hotspot

@YannLocatelli YannLocatelli self-assigned this Sep 16, 2020
@ladislas ladislas changed the title Investigation day - wifi [PR] - Investigation Day - Yann - Wifi Sep 16, 2020
@ladislas
Copy link
Member

Cette PR pointe vers develop. Il faudra changer quand tu auras fait une modification pour pointer vers 36-🤖-investigation-day

@YannLocatelli
Copy link
Member Author

Ah oui bien vu, il ne voulait pas bien le faire lors de la création de la PR.

Je ne sais pas si ça vient de github lors de la création ou de la merge (pour ton commit 7d7e2dc) de la branch 36-🤖-investigation-day qui a fait la bascule, mais je vais essayer corriger ça.

@YannLocatelli YannLocatelli changed the base branch from develop to 36-🤖-investigation-day September 17, 2020 08:30
lib/LekaWifi/LekaWifi.cpp Outdated Show resolved Hide resolved
lib/LekaWifi/LekaWifi.h Outdated Show resolved Hide resolved
#include "LekaWifiPins.h"
#include "mbed.h"

class LekaWifi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si mbed n'expose pas de Wifi on peut juste garder Wifi.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ou alors WifiModule puisqu'on parle du hardware.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix in 1f05b1c

Il n'y a pas de Wifi au sein de mbed.
Après je trouvais que c'était plus clair pour faire la différence entre ce qui est de leka et ce qui est de mbed.

lib/LekaWifi/LekaWifiPins.h Outdated Show resolved Hide resolved
lib/LekaWifi/LekaWifi.cpp Outdated Show resolved Hide resolved
@YannLocatelli
Copy link
Member Author

Issue similaire à ARMmbed/mbed-os#13170 si l'interface wifi ESP8266Interface est définie avec les pins de l'USART (rts, cts, reset et enable/power).
Ici, l'interface est définie seulement avec RX et TX, et les commandes reset et enable/power sont contrôlées à part.

La solution suggérée dans l'issue comme lors de l'exécution de code, c'est de mettre à jour le firmware du module wifi.

YannLocatelli and others added 4 commits September 29, 2020 17:17
* Scan all wifi hotspot available
* Connect to a specific hotspot
* Wifi call in a separate thread
* Wifi start on scanning and/or connecting to a wifi network
* Variables, member function, defines name modify to be clear
* Change class name (LekaWifi -> Wifi)
* Remove return carriage \r
* Rollback of issue with unreadable network name (count)
@ladislas ladislas deleted the 36-🤖-yann-wifi branch September 30, 2020 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - type: task Something to do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants