varios
This commit is contained in:
parent
555c6bd82a
commit
bb96326e1a
2 changed files with 1 additions and 3 deletions
|
@ -52,8 +52,7 @@ case $i in
|
|||
esac
|
||||
done
|
||||
|
||||
|
||||
|
||||
sensores=$(echo $sensores | tr -d '[:blank:]')
|
||||
|
||||
json="{\"transaction_uuid\":\"$uuid\",\"serial_number\":\"$numero_serie\",\"public_key\":\"$(cat $public_key)\",\"controller_id\":\"$nombre\",\"timestamp\":\"$marca_de_tiempo\",\"error_code\":\"10\",\"coordinates\":{\"lat\":1,\"lng\":1},\"battery_status\":\"98\",\"sample\":\"0\",\"storage\":\"uso del almacenamiento\",\"arduinos\":[$sensores]}"
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ while :;do
|
|||
fi
|
||||
|
||||
done
|
||||
exit
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue