Microcontrollers
This table will maintain a list of available microcontrollers with a list of the sensors connected to them as required for the location they are going to be deployed at. In subsequent processing, parameters will be validated and recorded based on this mapping.
Each microcontroller will be assigned one of the following types:
- Loading: This will be located at the Seller location.
- On Vehicle: This will be located on the delivery Vehicle.
- Unloading: This will be located at the Buyer location.
There will be only one of each microcontroller.
Sample Data JSON
⚠️
While the data below is presented as an array of items, each item must be added individually to the table.
[
{
"id": 1,
"sensors": [
{
"id": 11,
"sensor_type": "Camera"
},
{
"id": 12,
"sensor_type": "Motion"
}
],
"type": "Loading"
},
{
"id": 2,
"sensors": [
{
"id": 21,
"type": "Weight"
},
{
"id": 22,
"type": "Temperature and Humidity"
}
],
"type": "On Vehicle"
},
{
"id": 3,
"sensors": [
{
"id": 31,
"sensor_type": "Camera"
},
{
"id": 32,
"sensor_type": "Motion"
},
{
"id": 33,
"sensor_type": "Weight"
}
],
"type": "Unloading"
}
]