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
simple-mbed-cloud-client/mbed_lib.json@2:990c985a69ae, 2020-03-20 (annotated)
- Committer:
- vithyat
- Date:
- Fri Mar 20 20:15:18 2020 +0000
- Revision:
- 2:990c985a69ae
- Parent:
- 0:977e87915078
Update to work with P2Scan runtime
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vithyat | 0:977e87915078 | 1 | { |
vithyat | 0:977e87915078 | 2 | "name": "device-management", |
vithyat | 0:977e87915078 | 3 | "macros": [ |
vithyat | 0:977e87915078 | 4 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
vithyat | 0:977e87915078 | 5 | "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE" |
vithyat | 0:977e87915078 | 6 | ], |
vithyat | 0:977e87915078 | 7 | "config": { |
vithyat | 0:977e87915078 | 8 | "flash-start-address": { |
vithyat | 0:977e87915078 | 9 | "help": "Start address of internal flash. Only used in this config to help the definition of other macros.", |
vithyat | 0:977e87915078 | 10 | "macro_name": "MBED_CONF_APP_FLASH_START_ADDRESS", |
vithyat | 0:977e87915078 | 11 | "value": null |
vithyat | 0:977e87915078 | 12 | }, |
vithyat | 0:977e87915078 | 13 | "flash-size": { |
vithyat | 0:977e87915078 | 14 | "help": "Total size of internal flash. Only used in this config to help the definition of other macros.", |
vithyat | 0:977e87915078 | 15 | "macro_name": "MBED_CONF_APP_FLASH_SIZE", |
vithyat | 0:977e87915078 | 16 | "value": null |
vithyat | 0:977e87915078 | 17 | }, |
vithyat | 0:977e87915078 | 18 | "sotp-section-1-address": { |
vithyat | 0:977e87915078 | 19 | "help": "Flash sector address for SOTP sector 1", |
vithyat | 0:977e87915078 | 20 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS", |
vithyat | 0:977e87915078 | 21 | "value": null |
vithyat | 0:977e87915078 | 22 | }, |
vithyat | 0:977e87915078 | 23 | "sotp-section-1-size": { |
vithyat | 0:977e87915078 | 24 | "help": "Flash sector size for SOTP sector 1", |
vithyat | 0:977e87915078 | 25 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE", |
vithyat | 0:977e87915078 | 26 | "value": null |
vithyat | 0:977e87915078 | 27 | }, |
vithyat | 0:977e87915078 | 28 | "sotp-section-2-address": { |
vithyat | 0:977e87915078 | 29 | "help": "Flash sector address for SOTP sector 2", |
vithyat | 0:977e87915078 | 30 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS", |
vithyat | 0:977e87915078 | 31 | "value": null |
vithyat | 0:977e87915078 | 32 | }, |
vithyat | 0:977e87915078 | 33 | "sotp-section-2-size": { |
vithyat | 0:977e87915078 | 34 | "help": "Flash sector size for SOTP sector 2", |
vithyat | 0:977e87915078 | 35 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE", |
vithyat | 0:977e87915078 | 36 | "value": null |
vithyat | 0:977e87915078 | 37 | }, |
vithyat | 0:977e87915078 | 38 | "sotp-num-sections": { |
vithyat | 0:977e87915078 | 39 | "help": "Number of SOTP sections", |
vithyat | 0:977e87915078 | 40 | "macro_name": "PAL_INT_FLASH_NUM_SECTIONS", |
vithyat | 0:977e87915078 | 41 | "value": 2 |
vithyat | 0:977e87915078 | 42 | }, |
vithyat | 0:977e87915078 | 43 | "mcc_transport_mode": { |
vithyat | 0:977e87915078 | 44 | "help": "0 = TCP, 1 = TCP_QUEUE_MODE, 2 = UDP, 3 = UDP_QUEUE_MODE", |
vithyat | 0:977e87915078 | 45 | "macro_name": "MBED_CLOUD_CLIENT_TRANSPORT_MODE", |
vithyat | 0:977e87915078 | 46 | "value": null |
vithyat | 0:977e87915078 | 47 | }, |
vithyat | 0:977e87915078 | 48 | "mcc_user_config_file": { |
vithyat | 0:977e87915078 | 49 | "help": "mcc_user_config_file", |
vithyat | 0:977e87915078 | 50 | "macro_name": "MBED_CLOUD_CLIENT_USER_CONFIG_FILE", |
vithyat | 0:977e87915078 | 51 | "value": "\"mbed_cloud_client_user_config.h\"" |
vithyat | 0:977e87915078 | 52 | }, |
vithyat | 0:977e87915078 | 53 | "mbed_client_user_config_file": { |
vithyat | 0:977e87915078 | 54 | "help": "mbed_client_user_config_file", |
vithyat | 0:977e87915078 | 55 | "macro_name": "MBED_CLIENT_USER_CONFIG_FILE", |
vithyat | 0:977e87915078 | 56 | "value": "MBED_CLOUD_CLIENT_USER_CONFIG_FILE" |
vithyat | 0:977e87915078 | 57 | }, |
vithyat | 0:977e87915078 | 58 | "mbedtls-user-config-file": { |
vithyat | 0:977e87915078 | 59 | "help": "Defines which TLS configuration the board should use.", |
vithyat | 0:977e87915078 | 60 | "macro_name": "MBEDTLS_USER_CONFIG_FILE", |
vithyat | 0:977e87915078 | 61 | "value": "\"mbedTLSConfig_mbedOS.h\"" |
vithyat | 0:977e87915078 | 62 | }, |
vithyat | 0:977e87915078 | 63 | "pal-user-defined-configuration": { |
vithyat | 0:977e87915078 | 64 | "help": "Defines which PAL configuration the board should use.", |
vithyat | 0:977e87915078 | 65 | "macro_name": "PAL_USER_DEFINED_CONFIGURATION", |
vithyat | 0:977e87915078 | 66 | "value": "\"sotp_fs_config_MbedOS.h\"" |
vithyat | 0:977e87915078 | 67 | }, |
vithyat | 0:977e87915078 | 68 | "pal_fs_mount_point_primary": { |
vithyat | 0:977e87915078 | 69 | "help": "pal_fs_mount_point_primary", |
vithyat | 0:977e87915078 | 70 | "macro_name": "PAL_FS_MOUNT_POINT_PRIMARY", |
vithyat | 0:977e87915078 | 71 | "value": "\"/fs\"" |
vithyat | 0:977e87915078 | 72 | }, |
vithyat | 0:977e87915078 | 73 | "pal_dtls_peer_min_timeout": { |
vithyat | 0:977e87915078 | 74 | "help": "pal_dtls_peer_min_timeout", |
vithyat | 0:977e87915078 | 75 | "macro_name": "PAL_DTLS_PEER_MIN_TIMEOUT", |
vithyat | 0:977e87915078 | 76 | "value": 5000 |
vithyat | 0:977e87915078 | 77 | }, |
vithyat | 0:977e87915078 | 78 | "pal-udp-mtu-size": { |
vithyat | 0:977e87915078 | 79 | "help": "Enforced usage of MTU limits", |
vithyat | 0:977e87915078 | 80 | "macro_name": "PAL_UDP_MTU_SIZE", |
vithyat | 0:977e87915078 | 81 | "value": null |
vithyat | 0:977e87915078 | 82 | }, |
vithyat | 0:977e87915078 | 83 | "developer-mode": { |
vithyat | 0:977e87915078 | 84 | "help": "Enable Developer mode to skip Factory enrollment", |
vithyat | 0:977e87915078 | 85 | "value": 1 |
vithyat | 0:977e87915078 | 86 | }, |
vithyat | 0:977e87915078 | 87 | "partition_mode": { |
vithyat | 0:977e87915078 | 88 | "help": "Macro for single or dual partition mode. This is supposed to be used with storage storage for data e.g. SD card. This enabled by default.", |
vithyat | 0:977e87915078 | 89 | "macro_name": "MCC_PLATFORM_PARTITION_MODE" |
vithyat | 0:977e87915078 | 90 | }, |
vithyat | 0:977e87915078 | 91 | "auto_partition": { |
vithyat | 0:977e87915078 | 92 | "help": "Optional macro automatic SD card partitioning if required. Partioning will be triggered only if initialization of available partitions fail. This requires partition_mode to be enabled.", |
vithyat | 0:977e87915078 | 93 | "macro_name": "MCC_PLATFORM_AUTO_PARTITION" |
vithyat | 0:977e87915078 | 94 | }, |
vithyat | 0:977e87915078 | 95 | "pal_number_of_partition": { |
vithyat | 0:977e87915078 | 96 | "help": "Optional macro PAL_NUMBER_OF_PARTITIONS", |
vithyat | 0:977e87915078 | 97 | "macro_name": "PAL_NUMBER_OF_PARTITIONS" |
vithyat | 0:977e87915078 | 98 | }, |
vithyat | 0:977e87915078 | 99 | "primary_partition_size": { |
vithyat | 0:977e87915078 | 100 | "help": "Optional macro PRIMARY_PARTITION_SIZE in bytes, default is 1GB. This requires auto_partition to be enabled.", |
vithyat | 0:977e87915078 | 101 | "macro_name": "PRIMARY_PARTITION_SIZE" |
vithyat | 0:977e87915078 | 102 | }, |
vithyat | 0:977e87915078 | 103 | "secondary_partition_size": { |
vithyat | 0:977e87915078 | 104 | "help": "Optional macro SECONDARY_PARTITION_SIZE in bytes, deault is 1GB. This requires auto_partition to be enabled.", |
vithyat | 0:977e87915078 | 105 | "macro_name": "SECONDARY_PARTITION_SIZE" |
vithyat | 0:977e87915078 | 106 | }, |
vithyat | 0:977e87915078 | 107 | "enable-cpp-stl": { |
vithyat | 0:977e87915078 | 108 | "help": "Enable this if you're already using STL strings/vectors in your application. If you don't use STL functionality, keep this disabled, as it will increase flash usage by 15K Flash.", |
vithyat | 0:977e87915078 | 109 | "macro_name": "MBED_CLOUD_CLIENT_STL_API", |
vithyat | 0:977e87915078 | 110 | "value": 0 |
vithyat | 0:977e87915078 | 111 | } |
vithyat | 0:977e87915078 | 112 | } |
vithyat | 0:977e87915078 | 113 | } |