Giter VIP home page Giter VIP logo

atomgps_wigler's Introduction

Mastodon FollowX (formerly Twitter) URL Matrix iTunes App Store

atomgps_wigler's People

Contributors

lozaning avatar lukeswitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atomgps_wigler's Issues

gpio_set_level(227): GPIO output gpio_num error in serial output?

Getting a ton of errors in serial output

StartM5Atom initializing...OK
E (63) gpio: gpio_set_level(227): GPIO output gpio_num error

They pause when we wait for the GPS fix, then resume in bursts of dozens per second before and after a new filename is created.

10:46:35.052 -> E (223) gpio: gpio_set_level(227): GPIO output gpio_num error
10:46:35.052 -> E (228) gpio: gpio_set_level(227): GPIO output gpio_num error
10:46:35.084 -> E (234) gpio: gpio_set_level(227): GPIO output gpio_num error

Looks like this is a known thing -- espressif/arduino-esp32#6737 -- but doesn't have a direct solution.

Curious if others are seeing it. Makes debugging via serial output really a pain.

WIFI_AUTH_WPA2_ENTERPRISE enumeration label difference from JHewitt

I noticed there is a difference in AUTH_TYPE list versus JHewitt code. Should we align?

  • Jhewitt uses:
    case WIFI_AUTH_WPA2_ENTERPRISE:
    authtype = "[WPA2]";

  • AtomGPS uses:
    case WIFI_AUTH_WPA2_ENTERPRISE:
    return "[WPA2_ENTERPRISE]";

The ESP32 spec doesn't give a name for this particular value, just showing
enumerator WIFI_AUTH_WPA2_ENTERPRISE
authenticate mode : WiFi EAP security

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html

Not sure if Wigle cares for their statistics - they point from the CSV format file to https://developer.android.com/reference/android/net/wifi/ScanResult#capabilities - which doesn't have any direct match-up information in the getSecurityTypes() routine doc.

Add ability to turn off LED

What:
Power saving, warmail feature or when your eyes can’t take any more LEDs.

  • account for debounce in Atom button
  • needs to be non-blocking logic that calls M5.update periodically as an async call while in the loop.
  • testing for button press could be handled with the SmartButton library

SD Card not recognized on start / SD.begin parameters

Latest version doesn't see my SD Card unless I specify parameters for SD.begin()

while (!SD.begin(-1, SPI, 40000000))

This works but has not solved the gpio_num issue for me yet. I tested my SD Card successfully using the example code for SD.h.

I am simply copying the code into my Arduino IDE so I may have different libraries or something when compiling. I wanted to mention it in case others have the same issue.
Thanks

Some WiFi AuthType entries in ESP32 doc aren't included

General observation - there are a number of WiFi AuthType values in the ESP32 docs that aren't in the code enumeration.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html)

Are all the types from <wifi.h> included in the code? Should they be?
Maybe not relevant if they aren't supported by the chipset?

I do not see this one in JHewitt's code either:

enumerator WIFI_AUTH_ENTERPRISE
authenticate mode : WiFi EAP security

He just has the WPA2 equivalent:
case WIFI_AUTH_WPA2_ENTERPRISE:
authtype = "[WPA2]";

Track the code version in a var, update CSV header based on value

Add a variable or definition to track the code version, and put that value into the Wigle CSV file header 'appRelease'.

// code release Version number
const String VERSION = "1.300000";

The down in the file header code:

if (dataFile) {
dataFile.println("WigleWifi-1.4,appRelease=" + VERSION + ",model=GPS Kit,release=1.100000F+00,device=M5ATOM,display=NONE,board=ESP32,brand=M5");

model value for Wigle file is "GPS Kit" in header, "gps" on stats page on wigle.net

Currently the "model" value in the Wigle CSV header is "model=GPS Kit".

The CSV spec doesn't indicate how spaces in the values are handled, but the Stats output make it look like the value is being truncated to "gps".
Wigle stats - GPS

Should the code be updated to "GPS-Kit" or "AtomGPS"? Do we pick a value or keep it generic to group the AtomGPS, AtomMatrix, etc M5Stack models together?

CSV spec - https://api.wigle.net/csvFormat.html
Stats page - https://wigle.net/stats#octetstats

logData not working

Investigating how squashed and rebased commits are improperly combined into this broken state.

SD card doesn't go into failure mode when removed mid-run

When I start the Atom without an SD card, the LED flashes red as expected.

If I pull the SD card mid-run, the Atom appears to continue scanning - the green light flashes periodically and you wouldn't know the card has been lost.

Enhanced scan logic

What: Weight some channels with a longer dwell time.

Why: Spending equal time per channel could be optimized.

How: Wrap it in a for loop, use longer time params for popular channels. Input on said channels welcome

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.