Hi Jay,you're trying to talk to something that expects a specific protocol (it seems to be JSON over some kind of TCP-based connection – wild guess, there might also be a layer of HTTP in between), so you need to implement that protocol. This isn't specific to GNU Radio, this is just general programming. So, I'm afraid you'll have to implement that protocol, whatever it is, yourself. GNU Radio doesn't have any adapters for some special custom JSON protocol.
Cinaed is probably still right, by the way. Best regards, Marcus On 12/03/2021 04.23, Jay Patel wrote:
Hi Cinaed,Thanks. I have double check the firewall settings, it looks ok to me. After some googling i found out that the modem connection needed response back to with 5 sec timeout with same JSON string "{"alive": true}" if modem receive response back then it will keep that connection open.I think it is designed to cater RS232 connection as well. Do you happen to know how can i send JSON string back as response to modem via GNURadio ? I know this is very strange to me as well.Thanks. */With Regards,/* /Jay Patel/On Thu, Mar 11, 2021 at 5:16 AM Cinaed Simson <cinaed.sim...@gmail.com <mailto:cinaed.sim...@gmail.com>> wrote:Hi Jay - the error message 'boost::system::system_error' is simply restating what all the other error messages are stating - you can't connect to any of the listed clients - or they can't connect to your server. It could be a problem with the firewall on your machine. You should consult the unetpy mailing list on how to fix it. -- Cinaed On 3/10/21 8:50 PM, Jay Patel wrote:Hi all, I was testing our modem's python API,trying to establish the TCP connection using Socket PDU in GR 3.8. It looks like it established the connection correctly but somehow automatically closes it. And throw this error. terminate called after throwing an instance of 'boost::system::system_error' Does this mean my GR build is broken or it is pointing me to broken boost libraries ? I had also attached my logs. Any pointers would be appreciated. */Regards,/* /Jay Patel/
smime.p7s
Description: S/MIME Cryptographic Signature