personas:brolin:proyectos:agentes_calidad_aire:infraestructura_iot
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| personas:brolin:proyectos:agentes_calidad_aire:infraestructura_iot [2017/09/28 22:36] – brolin | personas:brolin:proyectos:agentes_calidad_aire:infraestructura_iot [2017/11/19 18:54] (actual) – [MQTT] brolin | ||
|---|---|---|---|
| Línea 32: | Línea 32: | ||
| - | **influx data format** -> https:// | + | ===== influx data format |
| + | |||
| + | https:// | ||
| + | https:// | ||
| - | ===== Convertir CSV en Flash a influx data format | + | timestamp tiene una formato definido por la precisión, |
| + | https:// | ||
| - | **Función strtok:** Del manual de linux para strtok | + | https:// |
| - | < | + | ^ Query String Parameter |
| - | EXAMPLE | + | | precision=[ns, |
| - | | + | |
| - | | + | |
| - | | + | |
| - | An example of the output produced by this program is the following: | + | **Schema Design**\\ |
| + | https:// | ||
| - | $ ./a.out ' | + | ===== ESP8266 Wireless NTP Server ===== |
| - | 1: a/ | + | |
| - | --> a | + | |
| - | --> bbb | + | |
| - | --> cc | + | |
| - | 2: xxx | + | |
| - | --> xxx | + | |
| - | 3: yyy | + | |
| - | --> yyy | + | |
| - | | + | https:// |
| - | # | + | https://www.hackster.io/ |
| - | # | + | http:// |
| - | # | + | https://hackaday.io/project/28013-esp8266-gps-ntp-server\\ |
| - | + | ||
| - | int | + | |
| - | | + | |
| - | { | + | |
| - | char *str1, *str2, *token, *subtoken; | + | |
| - | char *saveptr1, *saveptr2; | + | |
| - | int j; | + | |
| - | + | ||
| - | if (argc != 4) { | + | |
| - | | + | |
| - | argv[0]); | + | |
| - | | + | |
| - | } | + | |
| - | + | ||
| - | for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) { | + | |
| - | token = strtok_r(str1, | + | |
| - | if (token == NULL) | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | for (str2 = token; ; str2 = NULL) { | + | |
| - | | + | |
| - | if (subtoken == NULL) | + | |
| - | | + | |
| - | | + | |
| - | } | + | |
| - | } | + | |
| - | + | ||
| - | | + | |
| - | } | + | |
| - | </ | + | |
| - | + | ||
| - | **Crean servidor NTP de la hora obtenida con el GPS** -> https://www.hackster.io/Absolutelyautomation/esp8266-based-wireless-ntp-server-b77926 | + | |
personas/brolin/proyectos/agentes_calidad_aire/infraestructura_iot.1506638179.txt.gz · Última modificación: por brolin
