Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Undocumented assumptions in BLE Spec #3

Open
vk3jbl opened this issue Mar 15, 2021 · 1 comment
Open

Undocumented assumptions in BLE Spec #3

vk3jbl opened this issue Mar 15, 2021 · 1 comment

Comments

@vk3jbl
Copy link

vk3jbl commented Mar 15, 2021

In implementing the spec in an ESP32 using Nimble, I uncovered a couple of assumptions not yet documented. These impact both the iPhone APRS.FI app and the mobilinkd Config app from connecting and sending frames to the TNC.

  1. Service UUID needs to be present in the Gap advertisement. Interestingly, very few BLE devices do this, presumably to keep gap packets short, Nimble itself limits the length to 31 which is challenging. (Only affects APRS.FI from memory)
  2. Preferred MTU on the TNC I believe needs to be set to 527.
  3. Flags on the KTS TX characteristic needs to be WRITE WITHOUT RESPONSE. Using plain WRITE does not work with either app.

Might be useful to document this. 1 &3 are critical, 2 I’m not sure anymore, it was a long journey to get to this point!

@richonguzman
Copy link

hi, I need some help when writing from TNC to iPhone over BLE:

I believe I have a working AX25 packet, build with the aprs packet I received and all encapsulated in kiss

is there something special missing for the app to acknowledge the packet?

PS: I got good reception on the TNC from the phone over BLE so this Rx on the phone is missing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants