Created
February 5, 2019 10:29
-
-
Save brandond/9c88b9ca204ec3152b8078c47db4c484 to your computer and use it in GitHub Desktop.
Neo Coolcam PIR sensor reverse-engineering
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 37 ms | |
# GPIO2 log now at 76923 bps | |
LOG: ets Jan 8 2013, rst cause: 1, boot mode:(3,7) | |
# 108 ms | |
LOG: ... jump to run user1 @ 1000 | |
# 155 ms: | |
LOG: OS SDK ver: 1.4.2 | |
# 722 ms | |
LOG: [notice]user_main.c:267 OS SDK version:1.4.2 | |
# 775 ms | |
LOG: mode : sta (<mac>) add if0 | |
# 896 ms | |
LOG: scandone | |
# 1842 ms | |
LOG: state: 0 -> 2 (b0) | |
# 1844 ms: get product key and version from coprocessor | |
TX: 55 AA 00 01 00 00 00 | |
RX: 55 AA 00 01 00 ${"P":"Okurono2XLVRV0fB","v":"1.1.0"} 19 | |
# 1849 ms | |
LOG: state: 2 -> 3 (0) | |
# 1856 ms | |
LOG: state: 3 -> 5 (10) add 0 aid 20 pm open phy_2,type:2 0 0 cnt | |
# 1833 ms | |
LOG: connected with khaus, channel 1 dhcp client start... | |
# 2086 ms - heartbeat - wifi up, no IP | |
TX: 55 AA 00 02 00 01 02 04 | |
RX: 55 AA 00 02 00 00 01 | |
# 2236 ms - heartbeat - wifi up, no IP | |
TX: 55 AA 00 02 00 01 02 04 | |
RX: 55 AA 00 02 00 00 01 | |
# 3627 ms | |
LOG: ip:10.0.2.216,mask:255.255.255.0,gw:10.0.1.1 | |
# 3687 ms - heartbeat - wifi up, IP up, no MQTT | |
TX: 55 AA 00 02 00 01 03 05 | |
RX: 55 AA 00 02 00 00 01 | |
# 3755 ms | |
LOG: [notice]mqtt_client.c:629 mqtt connect success | |
# 3837 ms - heartbeat - wifi up, IP up, MQTT up | |
TX: 55 AA 00 02 00 01 04 06 | |
RX: 55 AA 00 02 00 00 01 | |
# 4053 ms - Holding down button; reset command? | |
RX: 55 AA 00 03 00 00 02 | |
# 4137 ms - Reset command ack | |
TX: 55 AA 00 03 00 00 02 | |
# 5604 ms | |
LOG: state: 5 -> 0 (0) rm 0 pm close 7 0 0/3747861 del if0 usl [err]mqtt_client.c:668 mq_recv_block ret:0,errno:107 | |
# 5657 ms | |
# GPIO2 log now at 115200 bps | |
LOG: ets Jan 8 2013, rst cause: 1, boot mode:(3,7) | |
# 5709 ms | |
LOG: ... jump to run user1 @ 1000 | |
# 5743 ms | |
# GPIO2 log now at 76923 bps | |
LOG: OS SDK ver: 1.4.3 | |
# 6311 ms | |
LOG: [notice]user_main.c:267 OS SDK version:1.4.2 | |
# 6601 ms | |
LOG: mode: softAP(<mac>) dhcp server start | |
# 6741 ms | |
TX: 55 AA 00 01 00 00 00 | |
RX: 55 AA 00 01 00 ${"P":"Okurono2XLVRV0fB","v":"1.1.0"} 19 | |
# 7102 ms | |
LOG: bcn 0 del if1 usl mode : sta(mac) add if0 | |
# 7241 ms - heartbeat - waiting for config (fast blink: SmartConfig mode) | |
TX: 55 AA 00 02 00 01 00 02 | |
RX: 55 AA 00 02 00 00 01 | |
# 7391 ms - heartbeat - waiting for config (fast blink: SmartConfig mode) | |
TX: 55 AA 00 02 00 01 00 02 | |
RX: 55 AA 00 02 00 00 01 | |
# NOTE - heartbeat - waiting for config (slow blink: SoftAP mode) | |
TX: 55 AA 00 02 00 01 01 03 | |
RX: 55 AA 00 02 00 00 01 | |
# 9322 ms | |
LOG: scandone | |
# 26079 ms | |
LOG: del if0 usl | |
# 26134 ms | |
# GPIO2 log now at 115200 bps | |
LOG: ets Jan 8 2013, rst cause: 1, boot mode:(3,7) | |
# 26186 ms | |
LOG: ... jump to run user1 @ 1000 | |
# 26220 ms | |
# GPIO2 log now at 76923 bps | |
LOG: OS SDK ver: 1.4.3 | |
# 26789 ms | |
LOG: [notice]user_main.c:267 OS SDK version:1.4.2 | |
# 27075 ms | |
LOG: mode : sta(mac) add if0 | |
# 27219 ms | |
TX: 55 AA 00 01 00 00 00 | |
RX: 55 AA 00 01 00 ${"P":"Okurono2XLVRV0fB","v":"1.1.0"} 19 | |
# 27469 ms - heartbeat - wifi up, no IP | |
TX: 55 AA 00 02 00 01 02 04 | |
RX: 55 AA 00 02 00 00 01 | |
# 27619 ms - heartbeat - wifi up, no IP | |
TX: 55 AA 00 02 00 01 02 04 | |
RX: 55 AA 00 02 00 00 01 | |
# 29205 ms | |
LOG: scandone | |
# 30151 ms | |
LOG: state: 0 -> 2 (b0) | |
# 30156 ms | |
LOG: state: 2 -> 3 (0) | |
# 30165 ms | |
LOG: state: 3 -> 5 (10) add 0 aid 20 pm open phy_2,type:2 0 0 cnt | |
# 30178 ms | |
LOG: connected with khaus, channel 1 dhcp client start... | |
# 32955 ms | |
LOG: ip:10.0.1.216,mask:255.255.255.0,gw:10.0.1.1 | |
# 33024 ms - heartbeat - wifi up, IP up, no MQTT | |
TX: 55 AA 00 02 00 01 03 05 | |
RX: 55 AA 00 02 00 00 01 | |
# 34556 ms | |
LOG: [notice]mqtt_client.c:629 mqtt connect success | |
# 34635 ms - heartbeat - wifi up, IP up, MQTT up | |
TX: 55 AA 00 02 00 01 04 06 | |
RX: 55 AA 00 02 00 00 01 | |
# 38000 ms | |
# POWER DOWN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment