Hey All,
Before I get too far down this rabbit hole I figured I'd ask the community. I have a B4J project and have been able, with great help from everyone, to get outgoing SMS texting set up and working. I wasn't planning on having two way communication, but since I've got extra time now due to Covid, I decided to look into it. I'll have to figure out what a webhook is (yeah, I'm old, but haven't done a lot of webbie stuff. give me some Fortran, Cobol or even C and I'm hell on wheels) and how to use it, but eventually it boils down to communication. My app, along with the database, will be at various Hotels over the weekends so I won't have any set IP address. What I'm thinking of doing is setting up a webhook at a known web hosting point, then connect it to an MQTT server (myqtthub.com is free for small applications). Then I would have my B4J program subscribe to the messages and be able to get the return traffic from SMS.
Does that sound feasible or is there a better way than using MQTT? I think MQTT gives me the flexibilty with not knowing where I am, but who knows.... Do we have any examples of building a webhook or B4J connecting to MQTT? I know there are many examples for MQTT with B4A, do I use those and adapt them?
Thanks,
Jim