Keyboard Shortcuts
Likes
- Direwolf
- Messages
Search
CBEACON DTI error
I've been experimenting using CBEACON to send the output from a python file (at present this is simply text saying "test").? The beacon triggers ok and seems to contain the required text content but I see an error in Direwolf - "Unknown APRS Data Type Indicator "A",..."? ?
I see from the APRS101 that types of A-S are marked as "do not use".? ?I'm wondering if this is an issue with my script, or is it the way CBEACON is set up?? ?For info, my CBEACON reads as follows - CBEACON sendto=0 delay=1 every=0:30 via=WIDE1-1 infocmd="/usr/local/bin/test.py" Thanks Craig |
Re: Does direwolf support KISS over BLE or is it in the works?
Regarding the OP¡¯s question. I¡¯ll attempt it. I¡¯ve seen python apps on rPi that use BLE. And apps using dongles like BleuIO.? ? |
Re: Does direwolf support KISS over BLE or is it in the works?
On Thu, Mar 23, 2023 at 09:49 AM, bobolink wrote:
I wasn¡¯t precise so maybe I did deserve all that Bold font abuse.Sorry if you find bold font "abusive".? I am not sure of any other way of emphasis (which in itself is not meant to be offensive). In many screen settings, italic does not show well (at least on my screen), so I almost always use bold with italic (so it can be seen). If I were to use all caps and bold - that would be different. ? ------- Rob KB8RCO |
Re: Does direwolf support KISS over BLE or is it in the works?
More BLE info
HC-02 Proprietary Service UUID: 49535343-FE7D-4AE5-8FA9-9FAFD205E455 TX UUID: 49535343-1 E4D-4BD9-BA61-23C647249616 RX UUID: 49535343-8841-43F4-A8D4-ECBE34729BB3 ? Cable Replacement? ? |
Re: Does direwolf support KISS over BLE or is it in the works?
Well the HG-UV98 has an app that runs on the iPhone.? The iPhone only allows apps in User-Space (BLE) not System Space (Bluetooth Classic) unless they are type accepted in their expensive qual program. The HG-UV98?has an HC-NN variant. I know this to be true because i opened my HG-UV98 up and looked inside. It looks much like the HC-05 module. I doubt the they went through qual. |
Re: Does direwolf support KISS over BLE or is it in the works?
EXCEPT that there isn't one standard. Classic Bluetooth (2.0 HC-05 or 3.0 HC-06) is completely different than BLE.? They ARE different standards! If you are working with a module that is Bluetooth 2.0 (such as the HC-05) or Bluetooth 3.0 (HC-06), then you must use the associated standard.? Most important, I believe Apple is not compatible with the "classic Bluetooth". Robert Giuliano
On Thursday, March 23, 2023 at 07:07:55 AM EDT, bobolink <rwhinric@...> wrote:
That link didn¡¯t work for me. Maybe because it was across two lines. And my iPad didn¡¯t like that.?This did:? I filed an issues against the spec to include an optional?BLE characteristic for wireless PTT. |
Re: Does direwolf support KISS over BLE or is it in the works?
That link didn¡¯t work for me. Maybe because it was across two lines. And my iPad didn¡¯t like that.?This did:? I filed an issues against the spec to include an optional?BLE characteristic for wireless PTT. |
Re: Does direwolf support KISS over BLE or is it in the works?
thanks for the clarification for everyone and the great explanation.
This is the related work done to make the Mobilinkd work over BLE that i could find nice to know that i'm not the only one looking forward to this. I'll keep a lookout for your app |
Re: Does direwolf support KISS over BLE or is it in the works?
If I may, let me inject some clarifying info to this discussion. Bluetooth services are organized into "profiles" which?define how devices connect and what data is passed between them. The two profiles that we are concerned with here are: - Bluetooth Serial Port Profile (SPP) - Bluetooth?Attribute Profile (ATT/GATT), commonly known as Bluetooth Low Energy (BLE) These are very different connection protocols. The serial profile (SPP) is designed to handle a bidirectional stream of bytes between two devices, in much the same way that a RS232 or UART port works. On the other hand, BLE was designed to advertise a set of attributes (or characteristics) that you can read from or write to. So, for?example, my electronic scale has an attribute where my mobile app can read the weight as a number and (likely) another attribute that provides the battery level. An application such as Direwolf is generally designed to connect to serial ports and/or network sockets and exchange data serially. Several operating systems, such as Windows, macOS, Linux, and Android, have the ability to establish a serial port connection to another device that supports SPP and present an interface to applications that appears to be a serial port. From Direwolf's perspective, it really has no idea that it is connected to Bluetooth; it just sends and receives bytes to and from what appears to be a serial device in the system. This is not "KISS over BLE", this is "KISS over SPP". You may have noticed one popular operating system that is missing from my list above: Apple's iOS that runs on phones and tablets. Apple, for whatever?reason, chose NOT to enable the Bluetooth Serial Profile (SPP) in iOS.? This means that you cannot connect an iPhone to a SPP Bluetooth device. A popular example of this is Mobilinkd's TNC2. By extension, It also means that the iOS app cannot connect to SPP devices because the OS does not support it. Android does support SPP. This is why APRSDroid can connect to devices that ?cannot. However, there was a lot of demand to use Mobilinkd TNCs with iOS mobile?devices, so Rob got creative and developed a way of using a pair of custom BLE GATT attributes to send a stream of bytes. To send data, you write to one attribute. To receive data, you listen to another attribute. Voil¨¢, a pseudo-serial interface for the Mobilinkd TNC3 and beyond. Hessu added support to the app for this custom protocol and together?make a great pair. The downside to this approach is twofold,?though: First, it's not a "standard" defined by the Bluetooth group; AFAIK there is no official "serial-over-BLE" specification. Second, because it's not official, no operating system comes with built-in serial port support like they can for SPP. This doesn't mean it's impossible, but it does mean that the application can no longer be blissfully unaware that it's communicating over a Bluetooth channel because the OS is doing all the heavy lifting; it has to be aware that?Bluetooth exists and?establish and manage a BLE connection itself. ? The tricky part about adding BLE support to Direwolf is that it's cross platform and the Bluetooth APIs are very different between each supported OS. So, someone would need to write a separate Linux, Windows, and macOS implementation. This difficulty is likely why it doesn't exist yet. For myself, I have plans to port my macOS APRS app, QTH.app, over to iOS devices in the next 2 years, so KISS over (Mobilinkd)BLE will be very desirable as a connection option. If no one has hacked in BLE support for at least macOS by then, I will probably try my hand at it. - Wes W8WJB On Tue, Mar 21, 2023 at 4:42?PM Rob Giuliano via <kb8rco=[email protected]> wrote:
|
wildcards
#windows
will direwolf support ? as a wildcard for one letter(s) or does it only do *?
if i filtered EAX??? would it work? |
Re: Does direwolf support KISS over BLE or is it in the works?
Sorry. I am not familiar with the aprs.fi app. Have you made any kind of BLE connection between your Raspberry Pi 4 and an iOS device? I found this on a quick search: It appears you need to determine what services are available on each device. Good luck! Robert Giuliano KB8RCO
On Tuesday, March 21, 2023 at 04:26:59 PM EDT, Frank Serafin <fserafin_@...> wrote:
Hi Rob, thanks for the reply apris.fi app on iOS trying to make a ble kiss connection using a rasp pi 4 and latest dev of direwolf Thanks, |
Re: Does direwolf support KISS over BLE or is it in the works?
The connection to aprs.fi doesn't exist.? You connect to the APRS-IS system, and aprs-fi is just a web based client that shows data that was sent to APRS-IS. If you are trying to run an APRS client on iOS and connect to a Bluetooth-KISS-TNC, it should be no different that with an Android device - other than the device running direwolf must use a device that is BLE complient to work. What application are you trying to run on iOS? What are you running Direwolf on? Robert Giuliano
On Tuesday, March 21, 2023 at 03:11:33 PM EDT, Frank Serafin <fserafin_@...> wrote:
Hi Robert, I have configured Direwolf in the past to use Bluetooth-Kiss-TNC using APRSDroid, what i would like to do is connect using APRS.FI on a iOS device. I have gotten the TNC to work over TCP but I would like it to work over BLE for mobile applications when no network is around Thanks, |
Re: Does direwolf support KISS over BLE or is it in the works?
Hi Robert,
I have configured Direwolf in the past to use Bluetooth-Kiss-TNC using APRSDroid, what i would like to do is connect using APRS.FI on a iOS device. I have gotten the TNC to work over TCP but I would like it to work over BLE for mobile applications when no network is around Thanks, |
Re: Does direwolf support KISS over BLE or is it in the works?
I know that Direwolf can be configured to send data to a serial KISS TNC. The manual (V1.6 page 12) says:?? "KISS Interface (TCP/IP, serial port, Bluetooth)." It references another manual called "Bluetooth-KISS-TNC.pdf" I have not tried it though. Robert Giuliano
On Tuesday, March 21, 2023 at 02:43:24 PM EDT, Frank Serafin <fserafin_@...> wrote:
Does anyone know if Direwolf supports kiss over BLE or if it's in development? Thanks, |
ADEVICE0 Setup for iMic and Mac
Anyone that's been around for a while remembers the iMic, basically a USB audio interface or if you wish USB sound card. I have direwolf running on my M1 MacBook Air with a SignaLink USB but would like to try using the iMic instead.
I've connected the iMic input to the speaker output of my radio, and in my direwolf config file I set ADEVICE0 \u201ciMic USB audio system:1,0?\u201d, which worked when I connected it to a Raspberry Pi.? So the question is how do I define ADEVICE in the config file to us the Apple iMic on my laptop? |
Re: Direwolf web dashboard
Very nice!
You could use the internal Direwolf script capability to alter/add a comment and send the "opening announcement" over the air. Even better would be to use the script to determine if the opening is somewhat directional (example NE, N, and NW are open to > 100 miles). I believe the Direwolf-APRS-Toolkit.? I believe the format would be something like: CBEACON delay=0:15 every=0:10 via=WIDE2-1 commendcmd=" `PYTHONPATH=~/{pathtoscript}/{script}.py`" NOTE:? Since Direwolf is already handling the timing (delay and every), you won't need the CRON job anymore.? The same script would create and send the email (if you choose) and post a comment on the air to inform others of the opening. I know of one station locally that did this for some time.? I don't know if they did it through Direwolf, some other client, or manually. I also don't know if they are still doing it.? I haven't seen a "band opening" message in quite some time. ------- Rob KB8RCO |