[Ovmsdev] ota questions
Greg D.
gregd2350 at gmail.com
Sun Mar 18 12:14:28 HKT 2018
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180317/00944162/attachment.htm>
-------------- next part --------------
greg at linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3> make simple_monitor
--- forcing DTR inactive
--- forcing RTS inactive
--- Miniterm on /dev/ttyUSB0 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
I (2334) housekeeping: Auto init vehicle (free: 82548 bytes)
I (2334) v-teslaroadster: Tesla Roadster v1.x, v2.x and v3.0 vehicle module
I (2334) housekeeping: Auto init obd2ecu (free: 76816 bytes)
I (2534) housekeeping: Auto init server v2 (free: 68160 bytes)
I (2534) ovms-server-v2: OVMS Server V2 registered metric modifier is #1
I (2544) ovms-server-v2: Status: Starting
I (2544) ovms-server-v2: OVMS Server v2 running
I (2554) housekeeping: Auto init server v3 (free: 63840 bytes)
I (2554) housekeeping: Auto init done (free: 63840 bytes)
I (2564) housekeeping: Starting USB console...
I (2564) uart: queue free spaces: 30
I (2574) version: Set version
Welcome to the Open Vehicle Monitoring System (OVMS) - Async Console
I (4874) simcom: State: Enter PoweredOn state
I (12584) housekeeping: System considered stable (free: 48732 bytes)
I (24444) simcom: State: Enter MuxStart state
I (24444) gsm-mux: Start MUX
I (24454) gsm-mux: Channel #0 is open
I (24454) gsm-mux: Channel #1 is open
I (24464) gsm-mux: Channel #2 is open
I (24464) gsm-mux: Channel #3 is open
I (24474) gsm-mux: Channel #4 is open
I (25444) simcom: State: Enter NetWait state
I (35494) simcom: CREG Network Registration: RegisteredRoaming
I (36444) simcom: State: Enter NetStart state
I (37474) simcom: PPP Connection is ready to start
I (38444) simcom: State: Enter NetMode state
I (38444) gsm-ppp: Initialising...
I (41664) gsm-ppp: StatusCallBack: None
I (41664) gsm-ppp: status_cb: Connected
I (41664) gsm-ppp: our_ipaddr = 10.170.146.142
I (41664) gsm-ppp: his_ipaddr = 10.64.64.64
I (41664) gsm-ppp: netmask = 255.255.255.255
I (41664) gsm-ppp: our6_ipaddr = ::
I (41664) netmanager: Set DNS#0 9.9.9.9
I (41664) netmanager: Set DNS#1 8.8.8.8
I (41664) netmanager: Interface priority is pp3 (10.170.146.142/255.255.255.255 gateway 10.64.64.64)
I (41674) time: Starting SNTP client
----- Note: It sat here for a while (minutes?) Is SNTP stuck?
OVMS > metric set v.b.soc 55
Metric set
OVMS > network
Interface#3: pp3 (ifup=1 linkup=1)
IPv4: 10.170.146.142/255.255.255.255 gateway 10.64.64.64
Interface#2: ap2 (ifup=1 linkup=1)
IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1
Interface#1: st1 (ifup=0 linkup=1)
IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0
Interface#0: lo0 (ifup=1 linkup=1)
IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1
DNS: 9.9.9.9 8.8.8.8
Default Interface: ap2 (192.168.4.1/255.255.255.0 gateway 192.168.4.1)
OVMS > config list auto
auto (readable writeable)
ext12v: yes
init: yes
modem: yes
obd2ecu: can3
server.v2: yes
server.v3: no
vehicle.type: TR
wifi.mode: apclient
wifi.ssid.ap: ovms
wifi.ssid.client: gregnet3
------- Note: At this point I connected my phone to ovms wifi. Web browser did not connect (refused),
I (245944) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1
I (245944) wifi: station: 40:4e:36:8a:44:c0 join, AID=1, n, 20
I (245954) esp32wifi: AP station connected: id: 1, MAC: 40:4e:36:8a:44:c0
I (277754) wifi: station: 40:4e:36:8a:44:c0 leave, AID = 1
I (277754) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1
I (277764) esp32wifi: AP station disconnected: id: 1, MAC: 40:4e:36:8a:44:c0
------- JUST after I disconnected the phone, this pops up... Coincidence?
W (279444) simcom: 3 minutes since last MUX rx frame - assume MUX has failed
I (279444) gsm-ppp: Shutting down (soft)...
I (279444) time: Stopping SNTP client
I (279444) gsm-nmea: Shutdown (direct)
I (279454) gsm-mux: Stop MUX
I (279454) simcom: Power Cycle
I (280454) simcom: State: Enter PoweringOn state
I (280454) simcom: Power Cycle
I (281474) simcom: State: Enter PoweredOn state
I (291444) gsm-ppp: StatusCallBack: User Interrupt
I (291444) gsm-ppp: PPP connection has been closed
I (311444) simcom: State timeout, transition to 2
I (311444) simcom: State: Enter PoweringOn state
I (311444) simcom: Power Cycle
I (317374) simcom: State: Enter PoweredOn state
I (336464) simcom: State: Enter MuxStart state
I (336464) gsm-mux: Start MUX
I (336474) gsm-mux: Channel #0 is open
I (336484) gsm-mux: Channel #1 is open
I (336494) gsm-mux: Channel #2 is open
I (336494) gsm-mux: Channel #3 is open
I (336504) gsm-mux: Channel #4 is open
I (337444) simcom: State: Enter NetWait state
I (341444) simcom: State: Enter NetStart state
I (342574) simcom: PPP Connection is ready to start
I (343444) simcom: State: Enter NetMode state
I (343444) gsm-ppp: Initialising...
I (346574) gsm-ppp: StatusCallBack: None
I (346574) gsm-ppp: status_cb: Connected
I (346574) gsm-ppp: our_ipaddr = 10.170.146.142
I (346574) gsm-ppp: his_ipaddr = 10.64.64.64
I (346574) gsm-ppp: netmask = 255.255.255.255
I (346574) gsm-ppp: our6_ipaddr = ::
I (346574) netmanager: Set DNS#0 9.9.9.9
I (346574) netmanager: Set DNS#1 8.8.8.8
I (346584) netmanager: Interface priority is pp3 (10.170.146.142/255.255.255.255 gateway 10.64.64.64)
I (346584) time: Starting SNTP client
I (346594) ovms-mdns: Launching MDNS service
I (346594) ovms-server-v2: Network is up, so attempt network connection
I (346594) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
I (346594) ovms-server-v2: Status: Connecting...
I (347854) ovms-server-v2: Connection successful
I (347854) ovms-server-v2: Status: Logging in...
I (347854) ovms-server-v2: Sending server login: MP-C 0 U0qS71b1bXnI9UdUHOaFSZ A2XoAGUgzwtKCQZS26uYRw== ROADSTER_834
I (348554) ovms-server-v2: Got server response: MP-S 0 lpQL122hJIwVM+JgwSyyMr +8PKRnUyMAfFyI5vSXG+vA==
I (348554) ovms-server-v2: Server token is lpQL122hJIwVM+JgwSyyMr and digest is +8PKRnUyMAfFyI5vSXG+vA==
I (348554) ovms-server-v2: Status: Server auth ok. Now priming crypto.
I (348554) ovms-server-v2: Shared secret key is lpQL122hJIwVM+JgwSyyMrU0qS71b1bXnI9UdUHOaFSZ (44 bytes)
I (348554) ovms-server-v2: Status: OVMS V2 login successful, and crypto channel established
--------- Note: Phone app connects here, metric is displayed correctly.
I (348564) ovms-server-v2: Incoming Msg: MP-0 Z1
I (348574) ovms-server-v2: One or more peers have connected
I (349164) ovms-server-v2: Incoming Msg: MP-0 Z0
I (349444) ovms-server-v2: Send MP-0 S55,K,0,0,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0
I (349444) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,349,0,0,0,0,0.142857,0,0,0,0,0
I (349444) ovms-server-v2: Send MP-0 L0,0,0,0,0,0,0,0,0,0,0
I (349444) ovms-server-v2: Send MP-0 W0,0,0,0,0,0,0,0,0
I (349444) ovms-server-v2: Send MP-0 F3.0.991-43-g0d28cb9/factory/main build (idf v3.1-dev-429-g7f6161cd) Mar 17 2018 14:20:07,,9,1,TR,
I (366944) ovms-server-v2: Incoming Msg: MP-0 Z1
I (366944) ovms-server-v2: One or more peers have connected
I (366944) ovms-server-v2: Incoming Msg: MP-0 Z2
I (366944) ovms-server-v2: One or more peers have connected
I (367444) ovms-server-v2: Send MP-0 S55,K,0,0,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0
I (367444) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,367,0,0,0,0,0.164835,0,0,0,0,0
I (367444) ovms-server-v2: Send MP-0 L0,0,0,0,0,0,0,0,0,0,0
I (367444) ovms-server-v2: Send MP-0 W0,0,0,0,0,0,0,0,0
I (367444) ovms-server-v2: Send MP-0 F3.0.991-43-g0d28cb9/factory/main build (idf v3.1-dev-429-g7f6161cd) Mar 17 2018 14:20:07,,9,1,TR,
----------- Note: Connected phone to ovms AP. Still no joy from web browser
I (385494) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1
I (385494) wifi: station: 40:4e:36:8a:44:c0 join, AID=1, g, 20
I (385494) esp32wifi: AP station connected: id: 1, MAC: 40:4e:36:8a:44:c0
I (428444) ovms-server-v2: Send MP-0 S55,K,0,0,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0
I (428444) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,428,0,0,0,0,0.159341,0,0,0,0,0
I (428444) ovms-server-v2: Send MP-0 F3.0.991-43-g0d28cb9/factory/main build (idf v3.1-dev-429-g7f6161cd) Mar 17 2018 14:20:07,,9,1,TR,T-Mobile Hologram
OVMS >
OVMS > simcom status
SIMCOM
Network Registration: RegisteredRoaming
State: NetMode
Ticker: 141
User Data: 0
Mux
Status: up
Open Channels: 4
Framing Errors: 582
Last RX frame: 105 sec(s) ago
RX frames: 32
TX frames: 41
PPP
Connected on channel: #2
Last Error: None
GPS
Status: disabled
Time: disabled
NMEA: GPS/GLONASS Not Connected
I (489444) ovms-server-v2: Send MP-0 S55,K,0,0,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0
I (489444) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,489,0,0,0,0,0.186813,0,0,0,0,0
OVMS > network
Interface#3: pp3 (ifup=1 linkup=1)
IPv4: 10.170.146.142/255.255.255.255 gateway 10.64.64.64
Interface#2: ap2 (ifup=1 linkup=1)
IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1
Interface#1: st1 (ifup=0 linkup=1)
IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0
Interface#0: lo0 (ifup=1 linkup=1)
IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1
DNS: 9.9.9.9 8.8.8.8
Default Interface: ap2 (192.168.4.1/255.255.255.0 gateway 192.168.4.1)
OVMS > wifi status
WiFi
Power: on
Mode: Access-Point + Client mode
STA SSID: gregnet3
MAC: 30:ae:a4:37:1b:65
IP: 192.168.4.1/255.255.255.0
GW: 192.168.4.1
AP SSID: ovms
MAC: 30:ae:a4:37:1b:65
IP: 192.168.4.1
AP Stations: 1
1: MAC: 40:4e:36:8a:44:c0, IP: 192.168.4.2
OVMS >
More information about the OvmsDev
mailing list