Other Parts Discussed in Thread: CC3100, , MSP432WARE, CC3120
I did run the example "CC31BOOST_MQTT-TwitterLED-MSP432P401R" On running I get the following on the terminal...
QUOTE
MQTT Twitter Controlled RGB LED - Version 1.0.0
*******************************************************************************
Device is configured in default state
Device started as STATION
Connection established w/ AP and IP is acquired
Connected to MQTT broker
Started MQTT client successfully
Subscribed to /msp/cc3100/demo topic
Subscribed to uniqueID topic
Published unique ID successfully
UNQUOTE
Now according to the readme.txt......
QUOTE
After the CC3100 is connected to the internet, any public Twitter message in the following format
will change the RGB LED color on all MSP-EXP432P401R LaunchPad running this demo:
RGB(red_value, green_value, blue_value) #MSP432LaunchPad
The color parameters can be integers ranging from 0-255.
Pressing the left push button S1 on the LaunchPad publishes a 32-bit unique ID from the LaunchPad
to the MQTT broker, which then gets tweeted by the twitter account: @MSPLaunchPad
You may then use this 32-bit Unique ID in your tweet message to control the RGB LED of only the specific
LaunchPad+CC3100BOOST combination tied to that unique ID:
<32-bit unique ID> RGB(red_value, green_value, blue_value) #MSP432LaunchPad
UNQUOTE
My question is:
1.Why does it subscribe to " /msp/cc3100/demo" topic. Should it be changed to " #MSP432LaunchPad"? What is the format?
2. When I push S1 , I do get a reply on terminal - "Published unique ID successfully", but I don't see any twitter message with the unique id on Twitter. Is it because of question 1 ?
What do I need to change? or how can I see what is happening on the MQTT Broker website?
Zac