MQTT Subscriber on IBM Watson

Solved
jsayed's picture
jsayed
Junior(0)

Hi Peter/all,

I was able to compile and run the bluemix_iot example (MQTT Publisher) on my BCM4343W.
Now I like to implement MQTT Subscriber on my second device, also a BCM4343W for Watson.

Couple of questions on it:

a. Is there a snippet of a MQTT Subcriber for Watson, I could look at. I could not find one.
   I do see there is one for aws_iot, I could possibly use this as an example.

b. My 2nd questions is little confusion about how a MQTT subscriber running on BCM4343W 
   behind a Wifi router(API) will receive a topic (message) from the MQTT broker? How does
   IBM Watson or AWS achieve this?

   I will appeciate any enloghtment on this.

  thanks

PeterF's picture
PeterF
Moderator(16)

WICED Studio SDK:
Refer to subscription examples under aws_iot

 

Zentri SDK:
Refer to the bluemix and mqtt_demo examples.

 

Detail on operation of MQTT lightweight protocol:  

http://www.hivemq.com/blog/how-to-get-started-with-mqtt

 

jsayed's picture
jsayed
Junior(0)

Thanks Peter,  this part from the "Detail.....MQTT lightweight protocol"  helped -

" Therefore each MQTT client has a permanently open TCP connection to the broker. If this connection is interrupted by any circumstances, the MQTT broker can buffer all messages and send them to the client when it is back online."

geebranz's picture
geebranz
Junior(0)
alesalisa's picture
alesalisa
Junior(0)

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! 토토사이트

alesalisa's picture
alesalisa
Junior(0)

Treat saggy eyelids & hooded eyes with EvenSkyn Venus Eyelid Anti Aging device ​​Every successive use of the EvenSkyn:registered: Venus helps with deeper penetration of anti-aging eye serums & creams, resulting in firmer and tighter eyelid skin.

alesalisa's picture
alesalisa
Junior(0)

Dormi Dream headphones are the most comfortable sleep headband ​headphones. Secured in a soft headband, they are comfortable even for side-sleepers. Shorter charging time, a thinner headband are the most comfortable headphones to sleep in Shop now! & and get 10% OFF your order!

alesalisa's picture
alesalisa
Junior(0)

Betflix adalah salah satu situs yang sudah menjadi partner resmi dari provider - provider kelas dunia yang berkualitas seperti Pragmatic Play, SpadeGaming, PlayTech, JokerGaming, Pretty Gaming, Asia Gaming, SBOBET dan masih banyak lagi pilihan yang tersedia yang bisa membuat anda tidak akan bosan.

alesalisa's picture
alesalisa
Junior(0)

Explore Chicago Permit Expediter | Permit Expediting Chicago & Code Compliances Services, The Best Chicago Permit Expediter & chicago building permits, Permit studio offer chicago permit services, IL, As best chicago permit expediter, our team consists of a variety of talented and passionate professionals with backgrounds in architecture, interior design, planning, construction, and project management. Please visit our website for more info, Thank You here

alesalisa's picture
alesalisa
Junior(0)

Chicago Permit expediters for new construction and building renovations, We have previously worked with city officials and other departmental employees on other permit applications. This gives us an advantage when it comes to getting information, solving problems, understanding fee structures, and negotiating when necessary. Please click here to visit our website and get more info, Thank You Permit studio

alesalisa's picture
alesalisa
Junior(0)

Find Out Skhokho Company Software Cloud Based CRM Software for Small Businesses or Medium Sized Enterprises, Packaged with everything your company needs to manage HR files, employee leave, team tasks, customer information, client invoices, projects milestones and tasks and sales CRM. Please visit our website & Start with a 14-day FREE trial - no credit card needed. Thank You. CRM Software

nomikhan's picture
nomikhan
Junior(0)

If You are looking to Duschen mit Sondermaße kaufen Buy showers with special dimensions in Germany, Dusbad is a best brand to explore, In our exclusive online shop you will find our range of bath tub attachments , barrier-free walk in showers and many other solutions for your dream bathroom. If you will be unsure which shower solution is the right one for your bathroom, let us advise you free of charge in advance: 02639 962799-0. Duschen mit Sondermaße kaufen

hasn234's picture
hasn234
Junior(0)

Thanks for sharing us. Resolvly LLC

alesalisa's picture
alesalisa
Junior(0)

Jharkhand Board 10th Model Paper 2022 with Subject Wise JAC 10th Important Questions, Download JAC 10th Model Paper 2022 for Hindi & English Medium Students JAC 10th Question Paper

alesalisa's picture
alesalisa
Junior(0)

Explore health care products reviews, Our reviews are not just written without checking their details. We use verified sources and references for that. This’s because we are required to deliver honest transparent reviews.You can always check all the verified references and sources used in this review at the bottom of this page.

nomikhan's picture
nomikhan
Junior(0)

At Allegra & Co., we offer a beautiful selection of high quality Affordable Engagement Rings at prices that won't break the bank. All our rings are backed with a Warranty and a 100% satisfaction guarantee. Browse our selection of products to find exactly what you need.Please visit our by clicking here get discounts & special deals. Thank You. Tungsten Carbide Wedding Rings

alesalisa's picture
alesalisa
Junior(0)

If You are looking to buy supplements for your health care, Clinic Review is a website Offers Reviews Of Supplements ​like: CircadiYin Weight Loss supplement Reviews – Scam Weight Loss or Effective, SynoGut Reviews – SynoGut For Healthy Digestion, Harmonium Sleep Support Review – Safe Sleep Fixing Formula? & more, Please visit this site for getting valuable information, Thank Yo

alesalisa's picture
alesalisa
Junior(0)

Kama Delivery Catering 到會 ​Service 香港餐飲服務 based in Hong Kong, provide global dishes & Takeway services 外賣速遞 & promotions with high-quality ingredients and providing a variety of cuisines such as salads, snacks, vegan food and main dishes. Apart from à la carte food, they also provide party food delivery for christmas meal 圣诞大餐 wedding event, kids birthday party catering 生日派對餐飲 etc. They also accept large-scale catering services for large and small birthday parties, banquets, company events, friend gatherings or children's birthday parties, Kama is one of the leading catering service in Hong Kong.

hasn234's picture
hasn234
Junior(0)

Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet! เว็บตรง

hasn234's picture
hasn234
Junior(0)

All your hard work is much appreciated. Nobody can stop to admire you. Lots of appreciation. คาสิโนออนไลน์

alesalisa's picture
alesalisa
Junior(0)

Explore Skhokho Project Management Software, A complete company business management software. Skhokho is a one-stop software for business managers to run their operation easily and effectively. It provides the most comprehensive set of tools to manage every aspect of business management from HR, CRM, project management and more. Please visit this site to get more info, Thank You. Project Management Software

hasn234's picture
hasn234
Junior(0)

All your hard work is much appreciated. Nobody can stop to admire you. Lots of appreciation. Keywords;

hasn234's picture
hasn234
Junior(0)

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. บาคาร่า sa

hasn234's picture
hasn234
Junior(0)

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. บาคาร่า sa

hasn234's picture
hasn234
Junior(0)

All your hard work is much appreciated. Nobody can stop to admire you. Lots of appreciation. บาคาร่า sa

alesalisa's picture
alesalisa
Junior(0)

Cervi-Care™ - Innovative products to relieve your lumbar and cervical pain naturally and quickly, relieve your stress and relax Free shipping release pain

hasn234's picture
hasn234
Junior(0)

When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. สมัคร gclub

nomikhan's picture
nomikhan
Junior(0)

As the pneumonia epidemic continues, more and more people will have to order to eat, but many people are relatively new to ordering takeaways, and most people think that traditional takeaways are the first for many people to eat. Visit this website & get 外賣服務 (Takeaway Services),The service that will be used is actually a lot of small gatherings , mini parties as small as two or three people will be called. Free shipping and free exchange and return polices as well as Free snacks at FPs Checkout. Don't miss this chance. Attendance Discount|Latest Books Promotion|Kama Delivery Catering. 外賣服務