With WiFi AP and BT together and WiFi only when button held at startup

pull/39/head
Pawel Jalocha 2021-05-25 02:04:04 +01:00
rodzic babb76128c
commit eae9e680b6
1 zmienionych plików z 22 dodań i 15 usunięć

Wyświetl plik

@ -17,13 +17,15 @@
// #define WITH_OLED // OLED display on the I2C: some TTGO modules are without OLED display
// #define WITH_OLED2 // 2nd OLED display, I2C address next higher
// #define WITH_U8G2_OLED // I2C OLED through the U8g2 library
// #define WITH_U8G2_SH1106 // the bigger OLED controller
// #define WITH_U8G2_FLIP // flip the OLED screen
#define WITH_RFM95 // RF chip selection: both HELTEC and TTGO use sx1276 which is same as RFM95
#define WITH_RFM95 // RF chip selection: FollowMe, HELTEC and TTGO use sx1276 which is same as RFM95 module
// #define WITH_SLEEP // with software sleep mode controlled by the long-press on the button
#define WITH_AXP // with AXP192 power controller (T-BEAM V1.0)
// #define WITH_BQ // with BQ24295 power controller (FollowMe)
// #define WITH_BQ // with BQ24295 power controller (new FollowMe)
// #define WITH_LED_RX
// #define WITH_LED_TX
@ -38,39 +40,44 @@
// #define WITH_MAVLINK
// #define WITH_GPS_UBX_PASS // to pass directly UBX packets to/from GPS
// #define WITH_GPS_NMEA_PASS // to pass directly NMEA to/from GPS
// #define WITH_GPS_NMEA_PASS // to pass directly NMEA to/from GPS
// #define WITH_BMP180 // BMP180 pressure sensor
// #define WITH_BMP280 // BMP280 pressure sensor
#define WITH_BME280 // BMP280 with humidity (but still works with BMP280)
#define WITH_BME280 // BMP280 with humidity (still works with BMP280)
// #define WITH_MS5607 // MS5607 pressure sensor
#define WITH_PFLAA // PFLAU and PFLAA for compatibility with XCsoar and LK8000
// #define WITH_POGNT
#define WITH_PFLAA // $PFLAU and $PFLAA for compatibility with XCsoar and LK8000
#define WITH_POGNT // $POGNT for traffic info
#define WITH_LOOKOUT
#define WITH_CONFIG // interpret the console input: $POGNS to change parameters
#define WITH_BEEPER // with digital buzzer
// #define WITH_BEEPER // with digital buzzer
// #define WITH_SOUND // with analog sound produced by DAC on pin 25
// #define WITH_KNOB
// #define WITH_VARIO
#define WITH_LORAWAN
#define WITH_LORAWAN // LoRaWAN TTN connectivity
// #define WITH_PAW // beta-code for PilotAware transmission
// #define WITH_FANET // beta-code for FANET transmissions, but breaks LoRaWAN, to be improved
#define WITH_AP // WiFi Access Point: can work together with BT_SPP
#define WITH_AP_BUTTON // only starts when button pressed at sartup
#define WITH_BT_SPP // Bluetooth serial port for smartphone/tablet link: can work together with WiFi Access point
// #define WITH_STRATUX // beta-code: connect to Stratux WiFi and serve as GPS and OGN transmitter/receiver
#define WITH_AP // create WiFi Access Point for data, setup and log files
#define WITH_AP_BUTTON // activate Access Point only when button pressed at startup
#define WITH_HTTP // HTTP server, works with AP and Stratux
#define WITH_BT_SPP // (classic) Bluetooth serial port for smartphone/tablet link
// #define WITH_BLE_SPP // (BLE) Bluetooth serial port for smartphone/tablet link
// #define WITH_STRATUX // beta-code: connect to Stratux WiFi and send GPS and traffic info
// #define WITH_APRS // alpha-code: attempt to connect to the wifi router for uploading the log files to APRS
#define WITH_HTTP // HTTP server, works with AP dna should work with Stratux as well
// #define WITH_SD // use the SD card in SPI mode and FAT file system
#define WITH_SPIFFS_FAT
#define WITH_SPIFFS // use SPIFFS file system in Flash
#define WITH_LOG // log own positions and other received to SPIFFS and possibly to uSD
// #define WITH_SD // use the SD card in SPI mode and FAT file system
// #define WITH_SDLOG //
// #define WITH_ENCRYPT // Encrypt (optionally) the position