function process(advertiserData) {
  var data = advertiserData.manufacturerSpecificData.data;
  var packetType = data.substr(0,2);

  switch(packetType) {
    case '00':
      processSensors(advertiserData);
      return;
    default:
      return;
  }
}
/**
 * Parse BLE advertiser manufacturer specific data for Motsai.
 * @param {Object} advertiserData The object containing all parsed data.
 */
Parse BLE advertiser manufacturer specific data for Motsai.
@param {Object} advertiserData The object containing all parsed data.
Parse BLE advertiser manufacturer specific data for Motsai . @param { Object } advertiserData The object containing all parsed data .
function process(advertiserData) {
  var data = advertiserData.manufacturerSpecificData.data;
  var packetType = data.substr(0,2);
  switch(packetType) {
    case '00':
      processSensors(advertiserData);
      return;
    default:
      return;
  }
}
function process ( advertiserData ) { var data = advertiserData . manufacturerSpecificData . data ; var packetType = data . substr ( 0 , 2 ) ; switch ( packetType ) { case '00' : processSensors ( advertiserData ) ; return ; default : return ; } }
Parse BLE advertiser manufacturer specific data for Motsai.
Parse BLE advertiser manufacturer specific data for Motsai .