SmartSDR with an "M" model radio

  • 1
  • Question
  • Updated 3 weeks ago
Can anyone tell me the sequence of commands sent by SmartSDR (via the API) when it is started using an "M" model radio.

Apparently, the Maestro-like front panel in an "M" model is connected to the API as a "GUI" client. When I try to connect to an "M" model with my own app (SmartSDR-like) I receive a response code of "F3000001, Maximum number of clients exceeded".

Does SmartSDR somehow disconnect the Maestro-like front panel prior to connecting?
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes

Posted 3 weeks ago

  • 1
Photo of Mark - W3II

Mark - W3II

  • 133 Posts
  • 33 Reply Likes
Today there is only 1 GUI client allowed which is controlled by the isGUI property on the API object. Set this property to false. If you are using TCP commands then don't send "client gui" command.
(Edited)
Photo of Ted  VE3TRQ

Ted VE3TRQ

  • 123 Posts
  • 40 Reply Likes
I have not snooped the connection, but I would suggest that when SmartSDR does a "Connect", it will send a disconnect first. It does not spontaneously send a disconnect when started up. I can start SmartSDR on a Windows laptop, which will then start Cat and Dax apps. The SmartSDR window just sits there while I use Dax and Cat to control the M-radio with a digital app of my choice. The front panel stays nicely connected and provides the slices I need for the digital applications.
Photo of NA0B

NA0B

  • 28 Posts
  • 0 Reply Likes
Doug,

I often have my 6600M radio in FT8-WSPR mode. When I connect remotely, I get the question: Do you want to disconnect the other user? (or something similar). I click YES, wait about 45 seconds, and try to connect again. It always works so far.
When I tried xSDR6000, I did not get the question about other users, and I could not connect.

Thanks for xSDR6000!

73 de Juan.
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes
Thanks Juan,

I'm working on it now. I'm in the process of adding the ability to close the front panel GUI connection before making my GUI connection. Up until last night, I had not tried to connect to an M model (and xSDR6000 crashed badly when trying). 

I've added a more graceful shutdown and error message when I fail to connect as a GUI. Now I have to make the M model connection work correctly.

Adding a question for the user had not occurred to me, I'll add that to my code.
Photo of James Whiteway

James Whiteway

  • 903 Posts
  • 220 Reply Likes
Doug, have you looked thru the API doc's for this?
I never had an issue disconnecting the Maestro I had with the 6500. But, I haven't tried it with my 6600M.
I think I read somewhere that the front panel connects differently to the radio. Not sure if it is networked or what. I haven't updated any of my code since I got the 6600M. Just never seems to be enough time. (long haul trucker)
Maybe Eric or Steve will see this and fill in the missing pieces for you.
I doubt you could see commands from the front panel with Wireshark. (my first thought)
James
WD5GWY
Photo of Ted  VE3TRQ

Ted VE3TRQ

  • 123 Posts
  • 40 Reply Likes
The front panel on an M radio has its own IP address provided via DHCP. The front panel interface OUID (the high order 24 bits of the MAC adddress) is the same as the radio, just the last 24 bits are different, in a different numeric space. I believe it has an internal network connection to the radio, exactly as would either a Maestro, or a copy of SmartSDR running on a PC, or dogparkSDR running on a Mac, or SmartSDR for iOS running on an iPad.
(Edited)
Photo of Eric - KE5DTO

Eric - KE5DTO, Official Rep

  • 712 Posts
  • 208 Reply Likes
Similar to SmartSDR for Windows, if a GUI client is already connected to the radio, we show this in the connect dialog in the radio status (In Use) and give the user the option to disconnect the existing client.  I think the commands to do this have already been mentioned in this thread.  Let me know if you have specific questions about how this works.
(Edited)
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes
Eric,

Thanks for the clarification. I think I understand what needs to be done.
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes
One more piece of the puzzle, Georg (DJ6GI), was able to start my GUI app connected to his 6600M. He wrote to me that if you “stay at the screen where it hasn’t started the internal smartSDR yet” you can then connect as a GUI from an external app..


I don’t have an M model so I can’t directly test this approach. I’m working on a change to my app that will disconnect the front panel when connecting.
(Edited)