This program collects raw time series data from the ADC using the NXP board that will later be post processed by PFP Cyber-security cloud base machine learning engine to determine the state of the device.

Dependencies:   FXAS21002 FXOS8700Q

Committer:
vithyat
Date:
Wed Aug 28 19:24:56 2019 +0000
Revision:
0:977e87915078
Child:
1:0c589850480e
init

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vithyat 0:977e87915078 1 // ----------------------------------------------------------------------------
vithyat 0:977e87915078 2 // Copyright 2016-2017 ARM Ltd.
vithyat 0:977e87915078 3 //
vithyat 0:977e87915078 4 // SPDX-License-Identifier: Apache-2.0
vithyat 0:977e87915078 5 //
vithyat 0:977e87915078 6 // Licensed under the Apache License, Version 2.0 (the "License");
vithyat 0:977e87915078 7 // you may not use this file except in compliance with the License.
vithyat 0:977e87915078 8 // You may obtain a copy of the License at
vithyat 0:977e87915078 9 //
vithyat 0:977e87915078 10 // http://www.apache.org/licenses/LICENSE-2.0
vithyat 0:977e87915078 11 //
vithyat 0:977e87915078 12 // Unless required by applicable law or agreed to in writing, software
vithyat 0:977e87915078 13 // distributed under the License is distributed on an "AS IS" BASIS,
vithyat 0:977e87915078 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
vithyat 0:977e87915078 15 // See the License for the specific language governing permissions and
vithyat 0:977e87915078 16 // limitations under the License.
vithyat 0:977e87915078 17 // ----------------------------------------------------------------------------
vithyat 0:977e87915078 18
vithyat 0:977e87915078 19 #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
vithyat 0:977e87915078 20 #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
vithyat 0:977e87915078 21 #endif
vithyat 0:977e87915078 22
vithyat 0:977e87915078 23 #include <stdint.h>
vithyat 0:977e87915078 24
vithyat 0:977e87915078 25 #ifdef MBED_CLOUD_DEV_UPDATE_ID
vithyat 0:977e87915078 26 const uint8_t arm_uc_vendor_id[16] = { "dev_manufacturer" };
vithyat 0:977e87915078 27 const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id);
vithyat 0:977e87915078 28
vithyat 0:977e87915078 29 const uint8_t arm_uc_class_id[16] = { "dev_model_number" };
vithyat 0:977e87915078 30 const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id);
vithyat 0:977e87915078 31 #endif
vithyat 0:977e87915078 32
vithyat 0:977e87915078 33 #ifdef MBED_CLOUD_DEV_UPDATE_CERT
vithyat 0:977e87915078 34 const uint8_t arm_uc_default_fingerprint[32] = { 0 };
vithyat 0:977e87915078 35 const uint16_t arm_uc_default_fingerprint_size =
vithyat 0:977e87915078 36 sizeof(arm_uc_default_fingerprint);
vithyat 0:977e87915078 37
vithyat 0:977e87915078 38 const uint8_t arm_uc_default_certificate[1] = { 0 };
vithyat 0:977e87915078 39 const uint16_t arm_uc_default_certificate_size =
vithyat 0:977e87915078 40 sizeof(arm_uc_default_certificate);
vithyat 0:977e87915078 41 #endif