Announcement

Collapse
No announcement yet.

Possible to feed using SBS-3 via USB?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oblivian
    replied
    May see some signal loss. Up to 3dB per connector (call it free air/connection loss)

    Thinking about it, I may have been picturing this way wrong and some of those errors in the FR window may be the MPX option. Re-reading it seems that is designed to be a downstream relay when FR is managing the hardware so you can still run BS as a graphical view. And will then lead to 2 sources providing data on 10001 - one with some, one with none. But both conflicting if using it in Ethernet mode (DOH)

    sbs1usb - SBS1, SBS1er, SBS3 connected directly via USB. Windows users may omit this parameter when only one
    receiver is connected as it will be detected automatically. When using a Kinetic
    Avionics receiver an additional option “--mpx” is available so you can connect
    Basestation as well.
    A little confusing, but manual seems to indicate that the HARDWARE when in either mode, has 10001 (encrypted Basestation software format) accessible to be usable as normal. And the SOFTWARE aka Basestation can also output 30006 when loaded - binary output for Planeplotter (not the same as AVR/30003 output)

    Normally I would expect:
    [Decoder] --> BS / 10001

    I see MPX useful when throwing in the uploader as:

    [decoder]--> FR24 (type=SBS-USB) --> BS (via MPX aka port 10001)

    However I may be wrong with prior example using AVR-TCP and its probably not the right format.

    In which case [Decoder] --> BS (relay enabled) --> FR24 (type=AVRTCP port 30006) may not go. But SBS-TCP may!

    I would be interested to see the results of

    [Decoder] --> BS (USB) AND FRfeed -->(SBS-tcp) localhost:30006 instead of AVR-TCP (or localhost:10001 with MPX off!)

    The instructions in the guide seem a little off

    sbs1tcp - SBS1, SBS1er, SBS3 connected via Ethernet/TCP, please specify its IP
    and port by using “--host”, see below
    . When using a Kinetic Avionics receiver an
    additional option “--mpx” is available so you can connect Basestation as well. The
    default IP and port is 192.168.1.170:10001
    A quick test here defaults the port to 10000 when using the --host command as additional args! but using the 172.0.0.1:30006 in the host field works. Go figure.
    Last edited by Oblivian; 2015-08-01, 13:15.

    Leave a comment:


  • slammer99uk
    replied
    Gradually reaching my goal at last.

    My bits arrived this morning and all fitted. I am now feeding FR24 from my dongle and have got my BS displaying everything from the SBS-3 all fed by the active antenna in the loft. The dongle feed has doubled the number of AC sent to FR24. Just by using a simple 3 way splitter and SMA to MCX patch cable. So the next step is to add the Airnav Radabox to the setup, using another 3 way splitter and SMA to SMA patch cable which should arrive early next week.

    If anyone is interested this is how it is going to look:-

    proposed.jpg |

    Anyone see any pitfalls to this approach?

    Jerry
    Last edited by slammer99uk; 2015-08-01, 10:41. Reason: spelling

    Leave a comment:


  • slammer99uk
    replied
    Hoorah, some measure of success I am now feeding direct from SBS-3 and have BS connected to 20072 of the feeder, this gives me flight display, BUT no SDR's, even though the status bar shows BS connected to SBS-1 (not SBS-3 as it would normally)

    I have ordered a few connectors and cables to try sharing the active antenna in the loft between the SBS-3 and my dongle which I will use to feed. Hopefully the signal to the dongle will be a lot better than the one that came with it

    Thanks for all the help Oblivian, it's been fun

    Jerry

    Leave a comment:


  • slammer99uk
    replied
    This is with

    (from FR24feed.ini file)
    receiver="sbs1tcp"

    fr24key="blahblah"

    host="127.0.0.1:20072"

    bs="no"

    raw="no"

    logmode="0"

    windowmode="0"

    mpx="yes"


    (BS HW settings)
    Network 127.0.0.1 port 20072

    2015-07-31 15:55:07 | [basestation][i]Creating server socket
    2015-07-31 15:55:07 | [master][i]Starting processing thread
    2015-07-31 15:55:07 | [reader][i][0]Initializing reader
    2015-07-31 15:55:07 | [reader][i][0]Connecting to SBS1 receiver on 127.0.0.1:200
    72
    2015-07-31 15:55:07 | [basestation][i]Starting server on port 20072
    2015-07-31 15:55:07 | [basestation][i]Waiting for a connection
    2015-07-31 15:55:07 | [httpd][i]Server started, listening on 0.0.0.0:8754
    2015-07-31 15:55:07 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-31 15:55:07 | [basestation][i]Basestation connected, authenticating: 420

    2015-07-31 15:55:07 | [basestation][i]Basestation authenticated, working: 420
    2015-07-31 15:55:07 | [reader][i][0]Authenticated, processing messages

    2015-07-31 15:55:10 | [time][i]Time synchronized correctly, offset +2.0274 secon

    But this ends up with

    2015-07-31 15:55:10 | [feed][n]connecting
    2015-07-31 15:55:10 | [stats][i]Stats thread started
    2015-07-31 15:55:11 | [feed][n]connected
    2015-07-31 15:55:11 | [feed][n]switching to UDP
    2015-07-31 15:55:11 | [feed][n]working
    2015-07-31 15:55:41 | [feed][n]ping 1
    2015-07-31 15:56:11 | [feed][n]ping 2
    2015-07-31 15:56:41 | [feed][n]ping 3


    If I switch feeder to use SBS-USB then this
    2015-07-31 16:04:59 | [feed][n]working
    2015-07-31 16:05:10 | [reader][e][0]Authentication failed, please make sure the
    specified device is a SBSX-USB receiver
    2015-07-31 16:05:10 | MSGS-OK: 0
    2015-07-31 16:05:10 | MSGS-ER: 0
    2015-07-31 16:05:15 | [reader][i][0]Connecting to SBS1 receiver via USB (DEFAULT
    )
    2015-07-31 16:05:15 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-31 16:05:29 | [feed][n]ping 1
    2015-07-31 16:05:32 | [reader][e][0]Authentication failed, please make sure the
    specified device is a SBSX-USB receiver
    2015-07-31 16:05:32 | MSGS-OK: 0
    2015-07-31 16:05:32 | MSGS-ER: 0

    ARRGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHH

    Jerry
    Last edited by slammer99uk; 2015-07-31, 15:07.

    Leave a comment:


  • slammer99uk
    replied
    Ok this is weird
    2015-07-31 15:19:22 | [reader][i][0]Connecting to Generic receiver via (avr-tcp:
    //192.168.0.170:30006)
    2015-07-31 15:19:23 | [reader][e][0]Could not connect to avr-tcp://192.168.0.170
    :30006
    2015-07-31 15:19:26 | [feed][n]ping 2
    2015-07-31 15:19:28 | [reader][i][0]Connecting to Generic receiver via (avr-tcp:
    //192.168.0.170:30006)
    2015-07-31 15:19:28 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-31 15:19:28 | [reader][i][0]Authenticated, processing messages
    2015-07-31 15:19:56 | [feed][n]ping 3
    2015-07-31 15:20:26 | [feed][n]ping 4
    2015-07-31 15:20:56 | [feed][n]ping 5
    2015-07-31 15:21:27 | [feed][n]ping 6
    2015-07-31 15:21:56 | [feed][i]sent 1 AC in 1 packet
    2015-07-31 15:21:56 | [feed][n]syncing stream
    2015-07-31 15:22:26 | [feed][n]ping 1
    2015-07-31 15:22:56 | [feed][n]ping 2
    2015-07-31 15:23:26 | [feed][n]ping 3
    2015-07-31 15:23:56 | [feed][n]ping 4
    2015-07-31 15:24:05 | [feed][i]removed 1 of 2 AC
    2015-07-31 15:24:05 | [feed][i]sent 1 AC in 1 packet
    2015-07-31 15:24:05 | [feed][n]syncing stream
    2015-07-31 15:24:35 | [feed][n]ping 1
    2015-07-31 15:25:06 | [feed][n]ping 2
    2015-07-31 15:25:36 | [feed][n]ping 3

    But no connection to SBS3-3 and BS - Not only that but it should be seeing upward of 60 AC. If I stop the feeder then it SBS connects to BS as normal

    Still playing with settings here

    Jerry

    Leave a comment:


  • slammer99uk
    replied
    Yes it was already ticked.

    Jerry

    Leave a comment:


  • Oblivian
    replied
    You did enable the a/c relay as requested first... Doesn't look like it else the Fr would connect if it were open

    Sent from my XT1092 using Tapatalk

    Leave a comment:


  • slammer99uk
    replied
    Ah well, no luck with that scenario

    2015-07-31 08:01:35 | [reader][e][0]Could not connect to avr-tcp://192.168.0.170
    :30006
    2015-07-31 08:01:40 | [reader][i][0]Connecting to Generic receiver via (avr-tcp:
    //192.168.0.170:30006)
    2015-07-31 08:01:50 | [feed][n]ping 1

    Tried connecting via USB and TCP/IP

    Jerry

    Leave a comment:


  • slammer99uk
    replied
    Thanks for the suggestions - Getting late here so will try in the morning

    Jerry

    Leave a comment:


  • Oblivian
    replied
    I can see about 4 different combinations in my head.

    Try this..

    Configure and then Close the FR24 feed software so it's not running - Configure as AVR-TCP, your PCs IP running BS, and port 30006

    SBS connected to Basestation (method however you please)

    In basestation, enable Mode A/C relay
    According to this manual, this outputs received data on 30006

    Ensure its working as you want with the radios etc.
    Launch FR24 feed and see if it can tap onto that local port and geed the output.

    Leave a comment:


  • slammer99uk
    replied
    OK so still no luck, I have tried everything I can think of. I was definately right about the SDR's. They are only available when BS is connected to the SBS-3 either by USB or TCP/IP. The feeder software can not hook into the SBS-3 at the same time. Even if we were able to insert the feeder software between the SBS-3 and BS the BS would not recognise it it as being connected to the SBS-3 (just shows "not connected" in the status bar in BS.

    Unless there is anything else you might suggest, I feel like I am flogging a dead horse

    Jerry

    Leave a comment:


  • slammer99uk
    replied
    Thank you for your continued help Oblivian, I will have another go at it tonight.

    One thing I *think* I have figured out, the disappearing SDR's do not appear to be Ethernet/USB related. I believe I have narrowed it down when BS is not connected directly to the SBS-3, then the toobar buttons and menu either dissappears or greys out. I fear the only way round this is for two different port connections to be made to the SBS-3, one for feeding and one for BS. I do not know if this is even possible, I suspect not?

    Jerry

    Leave a comment:


  • Oblivian
    replied
    Right yes, this is similar to DVBT sticks and people trying to run independant apps at same time. They can't get exclusive access so one or the other stops working.

    Ignore the comport/port potenial - if BS reads it fine and FR can away from each other they both know how to talk to USB direct so should be OK

    If its fine with USB-FR24 (uploading data fine?) but cant run BS, that is because the fr app has hooked it
    If its fine with USB-BS and above when running FR its because BS has hooked it.

    Need to set --MPX in fr24feed - will hook the USB, and re-output the data for BS to capture on 10001
    The big key will be to Configure BS for network mode still, and get it to ignore USB - however I dont think this will allow your radios to be tapped into (unless its able to be sent via Network data too)

    http://www.kinetic.co.uk/DownloadFil...Supplement.pdf

    Last few pages here show you the network config, set it to 127.0.0.1 and leave the 10001 there, or your PCs IP address. This should then attach to the data from FR24feed as if it was the SBS on a the network as before.

    If this doesnt work you may need to check for Basestation OUTPUT settings (30003 output) and then configure fr24feed for AVR (TCP)

    Leave a comment:


  • slammer99uk
    replied
    OK so now I am getting somewhere. The big problem to overcome is I can either feed via USB with BS not running or I can have BS running but not feed and have full control of the SDR's

    Somewhere in all this I am convinced the problem lies with the config settings of the ports. If the feed is connected to the SBS-3 then the feeder works but then BS shows "not connected" because the feeder software is hogging a port that BS needs. If I start BS off first it connects to the SBS-3 but the feeder errors out with:-

    2015-07-29 21:07:49 | [basestation][i]Thread started
    2015-07-29 21:07:49 | [basestation][i]Creating server socket
    2015-07-29 21:07:49 | [basestation][i]Starting server on port 20072
    2015-07-29 21:07:49 | [basestation][i]Waiting for a connection
    2015-07-29 21:07:49 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-29 21:07:52 | [time][i]Time synchronized correctly, offset +2.0619 secon
    ds
    2015-07-29 21:07:52 | [main][i]Feed Network client started
    2015-07-29 21:07:52 | [main][i]RAW data server started
    2015-07-29 21:07:52 | [feed][i]Downloading configuration
    2015-07-29 21:07:52 | [raw][i]Initializing server
    2015-07-29 21:07:52 | [raw][i]Starting server on 0.0.0.0:30334
    2015-07-29 21:07:52 | [feed][c]Interval: 5s
    2015-07-29 21:07:52 | [feed][c]Latitude: 51.4900
    2015-07-29 21:07:52 | [feed][c]Longitude: 0.0800
    2015-07-29 21:07:52 | [feed][c]GND: YES
    2015-07-29 21:07:52 | [feed][c]NonADSB: YES
    2015-07-29 21:07:52 | [feed][c]Timestamps: optional
    2015-07-29 21:07:52 | [feed][c]Max range AIR: 350.0nm
    2015-07-29 21:07:52 | [feed][c]Max range GND: 100.0nm
    2015-07-29 21:07:52 | [feed][i]defined 1 server
    2015-07-29 21:07:52 | [feed][n]EGLC74@83.140.21.66:8099/UDP
    2015-07-29 21:07:52 | [feed][n]connecting
    2015-07-29 21:07:52 | [stats][i]Stats thread started
    2015-07-29 21:07:53 | [feed][n]connected
    2015-07-29 21:07:53 | [feed][n]switching to UDP
    2015-07-29 21:07:53 | [feed][n]working
    2015-07-29 21:08:04 | [reader][e][0]Authentication failed, please make sure the
    specified device is a SBSX-USB receiver
    2015-07-29 21:08:04 | MSGS-OK: 0
    2015-07-29 21:08:04 | MSGS-ER: 0
    2015-07-29 21:08:09 | [reader][i][0]Connecting to SBS1 receiver via USB (DEFAULT
    )
    2015-07-29 21:08:09 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-29 21:08:23 | [feed][n]ping 1
    2015-07-29 21:09:23 | [reader][e][0]Authentication failed, please make sure the
    specified device is a SBSX-USB receiver
    2015-07-29 21:09:23 | MSGS-OK: 0
    2015-07-29 21:09:23 | MSGS-ER: 0
    2015-07-29 21:09:23 | [reader][i][0]Connecting to SBS1 receiver via USB (DEFAULT
    )
    2015-07-29 21:09:23 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-29 21:09:23 | [reader][e][0]Authentication failed, please make sure the
    specified device is a SBSX-USB receiver
    2015-07-29 21:09:23 | MSGS-OK: 0
    2015-07-29 21:09:23 | MSGS-ER: 0
    2015-07-29 21:09:23 | [feed][n]ping 2
    2015-07-29 21:09:23 | [reader][i][0]Connecting to SBS1 receiver via USB (DEFAULT
    )
    2015-07-29 21:09:23 | [reader][i][0]Connected to the receiver, authenticating
    2015-07-29 21:09:23 | [reader][e][0]Authentication failed, please make sure the
    specified device is a SBSX-USB receiver
    2015-07-29 21:09:23 | MSGS-OK: 0
    2015-07-29 21:09:23 | MSGS-ER: 0

    Let me expalin what I want do - I want to feed my SBS-3 detected aircraft to FR24 and I want BS running and showing those aircraft. It seems to me that FR24feed needs a port to take the data from the SBS-3 to send to FR24, that's understood, but BS needs another port to also take the data to display it. That's the bit I appear to be having trouble with. To make things a bit muddier it appears that the SDR's will only work when BS is connected to the SBS-3 directly i.e. with no intermediary program in between

    Or am I wrong?

    Jerry

    Leave a comment:


  • slammer99uk
    replied
    Power is definately not the problem, when running on USB the extra red USB is plugged into the powered USB hub. Using BaseStation and the SBS-3 via USB works absolutely fine including both tuners and all channels. The USB OK light is also on in this configuration. My guess is that in order to get it to light up with the feeder software, a working connection is required between the SBS-3 and Fr24feed, and for this I need to get the correct USB driver to create the com port you highlighted in your previous post.

    Would this be the Zadig (sp) driver by any chance?

    Jerry

    Leave a comment:

Working...
X