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

BLE TNC improvements #166

Closed
wants to merge 6 commits into from
Closed

BLE TNC improvements #166

wants to merge 6 commits into from

Conversation

SQ2CPA
Copy link

@SQ2CPA SQ2CPA commented Oct 5, 2024

  1. Always send own beacon to TNC, that works like in Thomas DL9SAU software
  2. Send all received packets to TNC without any filtering, TNC RX and TX must be transparent
  3. AX.25 KISS functions refactor, copied from IGate software (we want unification for the same features in both IGate and Tracker repos)
  4. Ignore own beacon from TNC. Important option when we are using APRSDroid and we have the same SSID but we don't want beacon from APRSDroid to be send to RF
  5. TNC KISS incoming buffer and sending in 64 bytes chunks

These changes will allow integration with APRSDroid via BLE :)

@iw9grl
Copy link

iw9grl commented Oct 8, 2024

This means finally we can use Heltec WT with BLE through AprsDroid ??? GREAT !!! :) :)

@SQ2CPA
Copy link
Author

SQ2CPA commented Oct 8, 2024

This means finally we can use Heltec WT with BLE through AprsDroid ??? GREAT !!! :) :)

Yes of course with the latest version of APRSDroid because changes are also in progress there. The changes on the tracker software are more stylistic but also quite important to work properly with APRSDroid

@richonguzman
Copy link
Owner

ok then:

  • Always send own beacon to TNC, that works like in Thomas DL9SAU software

done and tested OK over BLE and iOS.

  • Send all received packets to TNC without any filtering, TNC RX and TX must be transparent

done and tested OK over BLE and iOS.

  • AX.25 KISS functions refactor, copied from IGate software (we want unification for the same features in both IGate and Tracker repos)

NOTE at the bottom!

  • Ignore own beacon from TNC. Important option when we are using APRSDroid and we have the same SSID but we don't want beacon from APRSDroid to be send to RF

.... this I did not get why or what.

  • TNC KISS incoming buffer and sending in 64 bytes chunks

done and tested OK over BLE and iOS.

NOTE: all implemented in Tracker firmware BRANCH "BLE-reformat":

  1. killed ax25_utils and created kiss_utils.h/cpp
  2. ble_utils and bluetooth_utils should call this KISS_Utils::functions and worked fine in BLE over iOS. Please test over regular BT (Classic) and Aprsdroid
  3. used your proposal as it was pretty close to the KISS we used on other firmwares, and was used for BT classic in tracker firmware for a while and clearly was more elegant than my "stone-age" code for just BLE.

@richonguzman
Copy link
Owner

test and report

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