This commit is contained in:
Sergio Pernas 2022-03-21 18:20:06 +00:00
parent 555c6bd82a
commit bb96326e1a
2 changed files with 1 additions and 3 deletions

View file

@ -52,8 +52,7 @@ case $i in
esac esac
done 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]}" 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]}"

View file

@ -65,7 +65,6 @@ while :;do
fi fi
done done
exit