wb2osz / direwolf

Dire Wolf is a software "soundcard" AX.25 packet modem/TNC and APRS encoder/decoder. It can be used stand-alone to observe APRS traffic, as a tracker, digipeater, APRStt gateway, or Internet Gateway (IGate). For more information, look at the bottom 1/4 of this page and in https://github.com/wb2osz/direwolf/blob/dev/doc/README.md
GNU General Public License v2.0
1.51k stars 299 forks source link

BLE KISS Support #513

Open 8cH9azbsFifZ opened 5 months ago

8cH9azbsFifZ commented 5 months ago

It would be great to have BLE KISS support in this software modem: https://github.com/hessu/aprs-specs/blob/master/BLE-KISS-API.md.

dranch commented 5 months ago

As an interesting side point, check out this ESP32 project: https://github.com/islandmagic/bb-link/

Some devices, like the Kenwood TH-D74 radio only support Bluetooth Classic serial profile. iOS devices only support Bluetooth Low Energy (BLE). They are not compatible and as such, you can't pair those devices together. This code provides a way to create an adapter that can interface a device that exposes a serial profile over Bluetooth Classic, to an iOS device via BLE. Its main purpose is to enable iOS app that supports AX.25 packet like RadioMail or APRS.fi to use the TNC built in the radio as a modem.

wb2osz commented 5 months ago

See https://github.com/wb2osz/direwolf/blob/master/doc/Bluetooth-KISS-TNC.pdf
direwolf does not implement bluetooth.
There is operating system configuration which maps bluetooth to a virtual serial port. direwolf then uses this virtual serial port.

Maybe BLE would be the same where an OS configuration would allow it to appear as a serial port to applications. Good suggestion, but I don't understand bluetooth and don't have an iOS device for experimenting. Perhaps someone, in the community, who knows more about Bluetooth, can tweak the configuration to use BLE rather than classic and tell me what to put in the documentation.