Api\MeasurementController
api/sensors/flashlog POST data from BEEP base fw 1.5.0+ FLASH log (with timestamp), interpret data and store in InlfuxDB (overwriting existing data). BEEP base BLE cmd: when the response is 200 OK and erase_mx_flash > -1, provide the ERASE_MX_FLASH BLE command (0x21) to the BEEP base with the last byte being the HEX value of the erase_mx_flash value (0 = 0x00, 1 = 0x01, i.e.0x2100, or 0x2101, i.e. erase_type:"fatfs", or erase_type:"full")
Changed onpost/api/sensors/flashlog
Request
- Base URLhttps://api.beep.nl
- URLhttps://api.beep.nl/api/sensors/flashlog
- AuthHTTP bearer
Query parameters
showinteger
1 for displaying info in result JSON, 0 for not displaying (default).
Example:3
saveinteger
1 for saving the data to a file (default), 0 for not save log file.
Example:1
fillinteger
1 for filling data gaps in the database, 0 for not filling gaps (default).
Example:17
log_size_bytesinteger
0x22 decimal result of log size requested from BEEP base.
Example:19
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"id": 6,
"hardware_id": "exercitationem",
"key": "et",
"data": "fugit",
"file": "qui",
"save": true,
"log_size_bytes": 8
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
- info
added the new optional
headerrequest parameterAccept-language
- info