Difference between revisions of "WaspmoteBLECentral"

From AMTech WikiDocs
Jump to: navigation, search
(Created page with "WaspmoteBLECentral is a thing type that implements a [https://docs.mbed.com/docs/ble-intros/en/latest/Introduction/BLEInDepth/ BLE Central] to communicate with Libelium waspmo...")
 
Line 1: Line 1:
 
WaspmoteBLECentral is a thing type that implements a [https://docs.mbed.com/docs/ble-intros/en/latest/Introduction/BLEInDepth/ BLE Central] to communicate with Libelium waspmote model using the BLE protocol.
 
WaspmoteBLECentral is a thing type that implements a [https://docs.mbed.com/docs/ble-intros/en/latest/Introduction/BLEInDepth/ BLE Central] to communicate with Libelium waspmote model using the BLE protocol.
 
The [https://www.arduino.cc/en/tutorial/sketch Arduino sketch] running on the Libelium waspmote model should construct the BLE advertisement package following the next guideline:
 
The [https://www.arduino.cc/en/tutorial/sketch Arduino sketch] running on the Libelium waspmote model should construct the BLE advertisement package following the next guideline:
 +
#Build a [https://docs.mbed.com/docs/ble-intros/en/latest/Advanced/CustomGAP/ custom BLE advertisement packet]
 +
 +
 +
/*
 +
* AD_TYPE_MANUFACTURER_SPECIFIC_DATA (1) LIBELIUM_BLEID (1) Gases_PRO (1) TOTAL_SENSORS (1) SENSORS_MSG (1)
 +
* SENSOR_ACC (1 + 6)  SENSOR_BAT (1 + 1), SENSOR_IN_TEMP (1 + 4) , SENSOR_GP_TC (1 + 4 ) SENSOR_GP_HUM ( 1+ 4) [29]
 +
*/
 +
 +
 +
/*
 +
* LIBELIUM_BLEID (1) Gases_PRO (1) TOTAL_SENSORS (1) SENSORS_MSG (1) SENSOR_GP_PRES ( 1+ 4) SENSOR_GP_CH4 ( 1+ 4) SENSOR_GP_NO2 ( 1+ 4) SENSOR_GP_O2 ( 1+ 4) SENSOR_GP_CO ( 1+ 4) [30]
 +
*/

Revision as of 14:12, 18 July 2017

WaspmoteBLECentral is a thing type that implements a BLE Central to communicate with Libelium waspmote model using the BLE protocol. The Arduino sketch running on the Libelium waspmote model should construct the BLE advertisement package following the next guideline:

  1. Build a custom BLE advertisement packet


/*

* AD_TYPE_MANUFACTURER_SPECIFIC_DATA (1) LIBELIUM_BLEID (1) Gases_PRO (1) TOTAL_SENSORS (1) SENSORS_MSG (1) 
* SENSOR_ACC (1 + 6)  SENSOR_BAT (1 + 1), SENSOR_IN_TEMP (1 + 4) , SENSOR_GP_TC (1 + 4 ) SENSOR_GP_HUM ( 1+ 4) [29]
*/


/*

* LIBELIUM_BLEID (1) Gases_PRO (1) TOTAL_SENSORS (1) SENSORS_MSG (1) SENSOR_GP_PRES ( 1+ 4) SENSOR_GP_CH4 ( 1+ 4) SENSOR_GP_NO2 ( 1+ 4) SENSOR_GP_O2 ( 1+ 4) SENSOR_GP_CO ( 1+ 4) [30]
*/