Giter Club home page Giter Club logo

aprs-esp's People

Contributors

erstec avatar lyusupov avatar nakhonthai avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

aprs-esp's Issues

Multi-line packets are forwarded by the igate, allowing command injection attacks

memcpy(&Raw[hSize], &Packet.info[0], Packet.len);

APRS packets are only supposed to contain a single line of data. If a packet containing multiple lines of data (with some CR LF sequences in there), this igate now forwards all of those lines to the APRS-IS server. It generates the packet header for the first line it sends, but the additional lines will be forwarded unmodified, without header of any sort, and may contain additional headers, or anything else.

The second line in the received packet could just as well be an APRS-IS server command, such as #filter p/N which would suddenly cause the igate to receive a lot of packets from the APRS-IS server.

From https://github.com/hessu/aprsc/blob/main/doc/IGATE-HINTS.md:

Please do not modify packet data. Do not trim spaces from the end, do not remove non-ASCII bytes such as 0x1C or 0x00. Just send everything on the first line, up to the newline (either first CR or LF character seen in packet).

Stop sending at the first CR or LF character in the packet, and send a CR LF sequence at the end of that line.

Thanks!

Espressif PIO 6.x build is broken in release 1.7

Build error messages

lib/LibAPRS_ESP32/AFSK.cpp: In function 'void AFSK_Poll(bool, bool, uint8_t)':
lib/LibAPRS_ESP32/AFSK.cpp:908:11: error: 'i2s_write_bytes' was not declared in this scope
       if (i2s_write_bytes(I2S_NUM_0, (char *)&pcm_out, (x * sizeof(uint16_t)), portMAX_DELAY) == ESP_OK)
           ^~~~~~~~~~~~~~~
lib/LibAPRS_ESP32/AFSK.cpp:908:11: note: suggested alternative: 'i2s_write_expand'
       if (i2s_write_bytes(I2S_NUM_0, (char *)&pcm_out, (x * sizeof(uint16_t)), portMAX_DELAY) == ESP_OK)
           ^~~~~~~~~~~~~~~
           i2s_write_expand
lib/LibAPRS_ESP32/AFSK.cpp:945:9: error: 'i2s_write_bytes' was not declared in this scope
         i2s_write_bytes(I2S_NUM_0, (char *)&pcm_out, (ADC_SAMPLES_COUNT * sizeof(uint16_t)), portMAX_DELAY);
         ^~~~~~~~~~~~~~~
lib/LibAPRS_ESP32/AFSK.cpp:945:9: note: suggested alternative: 'i2s_write_expand'
         i2s_write_bytes(I2S_NUM_0, (char *)&pcm_out, (ADC_SAMPLES_COUNT * sizeof(uint16_t)), portMAX_DELAY);
         ^~~~~~~~~~~~~~~
         i2s_write_expand
*** [.pio/build/esp32dev-sa818/lib93b/LibAPRS_ESP32/AFSK.cpp.o] Error 1

To reproduce:

  1. edit platformio.ini as follows:
;platform = [email protected]
platform = [email protected]
  1. execute pio run

T-TWR Plus Rev 2.0

Hi all, I've tried using the pre-built binary and compiling but doesnt appear to work.

Using Platformio Terminal I see this:

    Connected!

EEPROM Check FFh=0h(644Byte)
Config EEPROM Error!
Applying Factory Default configuration!
Save EEPROM ChkSUM=25
E (3051) SPIFFS: mount failed, -10025

and then after a reboot I get:

EEPROM Check 25h=25h(644Byte)
SA868 Init
RF Modem powered up
AT+DMOSETGROUP=1,144.8000,144.8000,0000,1,0000
SA Answer Error
SA868 Init

Could anyone confirm if the T-TWR Plus Rev 2.0 is supported?

Thanks

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.