RPi0 / D72 Project


Fred Hillhouse
 

Greetings,

 

Goal:

Pass the D72 TNC data to/from a device over Bluetooth.

 

Question:

Is socat the best way to pass data?

 

Thank you!

 

Best regards,

Fred N7FMH




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



David Ranch
 


Hello Fred,

Pass the D72 TNC data to/from a device over Bluetooth.

 

Question:

Is socat the best way to pass data?


No need as you can do this all natively with Linux's AX.25 stack.  I wrote this up some time ago and it works well:

   https://www.trinityos.com/HAM/CentosDigitalModes/RPi/rpi4-setup.html#32e.tricks-bluetooth-d74

--David
KI6ZHD


Fred Hillhouse
 

Hello Fred,


Pass the D72 TNC data to/from a device over Bluetooth.

 

Question:

Is socat the best way to pass data?


No need as you can do this all natively with Linux's AX.25 stack.  I wrote this up some time ago and it works well:

   https://www.trinityos.com/HAM/CentosDigitalModes/RPi/rpi4-setup.html#32e.tricks-bluetooth-d74

--David
KI6ZHD

 

Hi David

 

If only I had a D74. ;)

 

I will read the write-up anyway. There is always awesome information. Connecting the phone/tablet to the RPi using Bluetooth will still be important.

 

The RPi and D2 will be connected via USB. USB on the D72 is the Silicon Labs USB/RS232 IC.

lrwxrwxrwx 1 root root 13 May  4 18:56 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_866540a091afeb11a2ce142518997a59-if00-port0 -> ../../ttyUSB0

 

 

Thank you!

 

Best regards,

Fred N7FMH




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



David Ranch
 


Hey Fred,

If only I had a D74. ;)

Yes.. but the D72 and the D74 should be similar enough in setting up the Serial over BT connection


I will read the write-up anyway. There is always awesome information. Connecting the phone/tablet to the RPi using Bluetooth will still be important.


I'm not sure what your goal is there.  Are you looking to control applications and what not?  If so, don't do that via Bluetooth but instead, use Wifi.


The RPi and D2 will be connected via USB. USB on the D72 is the Silicon Labs USB/RS232 IC.

lrwxrwxrwx 1 root root 13 May  4 18:56 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_866540a091afeb11a2ce142518997a59-if00-port0 -> ../../ttyUSB0


Hmmm.. from your original email, you said:  "Goal: Pass the D72 TNC data to/from a device over Bluetooth." which I assumed you wanted to use Bluetooth between the D72 and the Rpi".  Regardless, both approaches work fine for getting the TNC data stream off a D74 and thus, I assume will work with the D72 as well.


--David
KI6ZHD


Fred Hillhouse
 

Hi David,

If only I had a D74. ;)


Yes.. but the D72 and the D74 should be similar enough in setting up the Serial over BT connection

Similar but with mixed connections. Explanation below.

I will read the write-up anyway. There is always awesome information. Connecting the phone/tablet to the RPi using Bluetooth will still be important.

 

I'm not sure what your goal is there.  Are you looking to control applications and what not?  If so, don't do that via Bluetooth but instead, use Wifi.

The two main applications I hope to use are: APRS client, Winlink tool (WoAD).

I was originally thinking Bluetooth but I am not picky. However, it is possible either of the applications may only support connectivity through Bluetooth Both APRSDroid and APRSISMO support Bluetooth. They may support a TCP connection but I don’t know. I assume WoAD does BT as well. I don’t know that for fact. I am researching WoAD. Note: I originally was thinking of using Pat on the RPi.


The RPi and D2 will be connected via USB. USB on the D72 is the Silicon Labs USB/RS232 IC.

lrwxrwxrwx 1 root root 13 May  4 18:56 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_866540a091afeb11a2ce142518997a59-if00-port0 -> ../../ttyUSB0


Hmmm.. from your original email, you said:  "Goal: Pass the D72 TNC data to/from a device over Bluetooth." which I assumed you wanted to use Bluetooth between the D72 and the Rpi".  Regardless, both approaches work fine for getting the TNC data stream off a D74 and thus, I assume will work with the D72 as well.

 

Sorry for not being clear.

Data between smartphone/tablet and Rpi would probably be BT because of application constraints. Data between RPi and D72 is over USB. The D72 does not have Bluetooth or Wifi.  Since the port on the D72 is only USB, it needs an USB host.

 

Thank you!

 

Fred N7FMH




--David
KI6ZHD




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com