Welcome to the BCM4343W_Ble2bluemix wiki!
https://dms.zentri.com/signup/
http://resources.zentri.com/zentrios_sdk/ZentriOS_SDK_Installer.exe
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
https://console.ng.bluemix.net/registration/
- Obs. I'm suposing that you have already setup a Bluemix Application and you know your device Credencials to this app. I will do another tutorial explaining how to do that soon.
- Download to BCM4343W
- Import this project to ZentriOS SDK
- Right click on the project > ZentriOS > Build/Download/Run
- Wait for finish
- Start a Serial communication with Tera Term or Putty
- If this board have the factory configurations, go to step 3.1, else go to step 3.2
- You can reset all the configurations using the comand
fac
and your MAC Adress as arg. Example:fac XX:XX:XX:XX:XX:XX
- The command to show your MAC Adress is:
get wlan.mac
- Use the command
nup -s
to scan all networks - Type the number # that matches your Network
- Type the password for your Network
- Use the command
save
to save your configurations - Reset using the reset button or the command
reboot
*Use the command set bluemix.org_id
with your Organization ID provided by IBM in your application
*This ID should be a combination of 6 chars including letters and numbers
*Use the command set bluemix.device_token
with your Autentication Token provided by IBM in your application
*This Token should be a combination of 18 chars including letters, numbers and symbols
- Use the command
save
- Use the command
reboot
- If your setup is correct, your board will connect automatically to IBM Cloud after reset Terminal will shows a message like this:
IBM Bluemix Application Started:
Organization ID: xxxxxx
Device Type: xxxxxxxx
Device ID: xxxxxxxxxxx
Device Token: xxxxxxxxxxxxxxxxxx
Bluemix Dashboard:http://<org.ID>.internetofthings.ibmcloud.com/dashboard
- Verify this info
- After step 3.5 the BCM4343 will automaticaly start to scan for Wiced Sense 2 Kit.
- Turn your Wiced Sense 2 Kit on
- Your device will automaticaly appears in the terminal
- Use the comand
set ble2cloud.sensor_bdaddr
with the MAC Adress of your Wiced Sense 2 Kit. - Tip: This program scans for a BLE device in loop. It's easier you type the command in the notepad, copy and paste in the terminal ("right button" if you are using Tera Term).
- The terminal will shows the message "Send PUBLISH frame" what means that you are receiving data on your Bluemix Application
- If your application has been correctly configured you can acess the Bluemix Dashboard Link (step 3.5) and see your dashboards.
- If you was redirected to another page when acessed the link, probably your application and dashboard isn't activated.
- You can activate them using the link https://console.ng.bluemix.net/dashboard/apps/
- Dont forget to activate the application
<appname>.mybluemix.net
and the IoT Dashboards Services (at the bottom of the page) - Have fun!