Skip to content

Instantly share code, notes, and snippets.

@carldunham
carldunham / main.c
Created April 5, 2017 11:58
Issue with json_scanf
#include <stdio.h>
#include "common/cs_dbg.h"
#include "common/json_utils.h"
#include "common/platform.h"
#include "fw/src/mgos_app.h"
#include "fw/src/mgos_rpc.h"
static void mangle_params(struct mg_rpc_request_info *ri, void *cb_arg,
struct mg_rpc_frame_info *fi,
@carldunham
carldunham / log1.txt
Last active May 17, 2017 11:36
i2c.debug=false i2c.freq=400000
I (45) boot: ESP-IDF v1.0-1290-gc66b4fb 2nd stage bootloader
I (45) boot: compile time 10:54:26
I (46) boot: Enabling RNG early entropy source...
I (62) boot: SPI Speed : 40MHz
I (75) boot: SPI Mode : DIO
I (87) boot: SPI Flash Size : 4MB
I (100) boot: Partition Table:
I (111) boot: ## Label Usage Type ST Offset Length Flags
I (136) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000
I (162) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000
@carldunham
carldunham / log2.txt
Created May 17, 2017 11:39
i2c.debug=true i2c.freq=400000
I (45) boot: ESP-IDF v1.0-1290-gc66b4fb 2nd stage bootloader
I (45) boot: compile time 10:54:26
I (46) boot: Enabling RNG early entropy source...
I (63) boot: SPI Speed : 40MHz
I (76) boot: SPI Mode : DIO
I (88) boot: SPI Flash Size : 4MB
I (100) boot: Partition Table:
I (112) boot: ## Label Usage Type ST Offset Length Flags
I (137) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000
I (162) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000
@carldunham
carldunham / log3.txt
Created May 17, 2017 11:41
i2c.debug=true i2c.freq=100000
I (45) boot: ESP-IDF v1.0-1290-gc66b4fb 2nd stage bootloader
I (45) boot: compile time 10:54:26
I (46) boot: Enabling RNG early entropy source...
I (62) boot: SPI Speed : 40MHz
I (75) boot: SPI Mode : DIO
I (87) boot: SPI Flash Size : 4MB
I (100) boot: Partition Table:
I (111) boot: ## Label Usage Type ST Offset Length Flags
I (136) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000
I (162) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000
@carldunham
carldunham / log4.txt
Created May 17, 2017 11:44
i2c.debug=false i2c.freq=100000
I (45) boot: ESP-IDF v1.0-1290-gc66b4fb 2nd stage bootloader
I (45) boot: compile time 10:54:26
I (46) boot: Enabling RNG early entropy source...
I (62) boot: SPI Speed : 40MHz
I (75) boot: SPI Mode : DIO
I (87) boot: SPI Flash Size : 4MB
I (100) boot: Partition Table:
I (111) boot: ## Label Usage Type ST Offset Length Flags
I (136) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000
I (162) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000
┌─────────────┐     ╭─────────╮     ┏━━━━━━┓
│ I'm a box!  ├─────┤ Rounded ┝━━━━━┫ Bold ┃
└──────┬──────┘     ╰─────────╯     ┗━━━━━━┛
       │
 ┌─────┴────┐      ┌──────────┐
 │ Me too!  ├──────┤ Me Three │
 └──────────┘      └──────────┘