Skip to content

Instantly share code, notes, and snippets.

@sethgagnon
sethgagnon / latest_logcat.log
Created October 5, 2018 20:02
New project and clean build. Took a while to find RL and Pump.
10-05 15:59:59.764 25892-25903/com.gxwtech.roundtrip2 W/RFTools: [Binder_1] WARN [info.nightscout.androidaps.plugins.PumpCommon.hw.rileylink.ble.RileyLinkBLE$1:234]: onServicesDiscovered SUCCESS
10-05 15:59:59.765 25892-25903/com.gxwtech.roundtrip2 W/RFTools: [Binder_1] WARN [info.nightscout.androidaps.plugins.PumpCommon.hw.rileylink.ble.RileyLinkBLE$1:237]: Gatt device is RileyLink device: true
10-05 15:59:59.765 25892-25903/com.gxwtech.roundtrip2 D/RTServiceIPC: Service sending message to null: com.gxwtech.roundtrip2.IPC.MSG_ServiceNotificationnote: com.gxwtech.roundtrip2.IPC.MSG_BLE_RileyLinkReady
10-05 15:59:59.774 25892-25892/com.gxwtech.roundtrip2 W/RileyLinkService: [main] WARN [info.nightscout.androidaps.plugins.PumpCommon.hw.rileylink.service.RileyLinkService$1:169]: MedtronicConst.Intents.RileyLinkReady
10-05 15:59:59.774 25892-25892/com.gxwtech.roundtrip2 D/RTServiceIPC: Service sending message to null: com.gxwtech.roundtrip2.IPC.MSG_ServiceNotificationnote: com.gxwtech.roundtrip2.IPC.MSG_note_W
@sethgagnon
sethgagnon / UpdatedRLAAPS.log
Created October 5, 2018 14:10
Updated logcat from running RLAAPS pulled this morning. Ran Wake and Tune and Get Model commands
This file has been truncated, but you can view the full file.
10-03 10:26:46.058 1253-2482/? E/AndroidRuntime: FATAL EXCEPTION: pool-13-thread-1
Process: info.nightscout.androidaps, PID: 1253
java.lang.NullPointerException: Attempt to invoke virtual method 'android.bluetooth.BluetoothGatt android.bluetooth.BluetoothDevice.connectGatt(android.content.Context, boolean, android.bluetooth.BluetoothGattCallback)' on a null object reference
at info.nightscout.androidaps.plugins.PumpCommon.hw.rileylink.ble.RileyLinkBLE.connectGatt(RileyLinkBLE.java:366)
at info.nightscout.androidaps.plugins.PumpCommon.hw.rileylink.service.tasks.DiscoverGattServicesTask.run(DiscoverGattServicesTask.java:26)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
10-03 10:55:55.721 9296-20151/? E/AndroidRuntime: FATAL EXCEPTION: Thread-859
Process: info.nightscout.androidaps, PID: 9296
@sethgagnon
sethgagnon / RileyLinkAAPS_Logcat
Created October 3, 2018 18:58
Log from running RLAAPS using changed method from our chat
10-03 14:45:19.608 31528-31528/? I/art: Late-enabling -Xcheck:jni
10-03 14:45:20.285 31528-31528/com.gxwtech.roundtrip2 I/System.out: 14:45:20,047 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [assets/logback.xml] at [assets/logback.xml]
10-03 14:45:20.285 31528-31528/com.gxwtech.roundtrip2 I/System.out: 14:45:20,066 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10-03 14:45:20.285 31528-31528/com.gxwtech.roundtrip2 I/System.out: 14:45:20,129 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
10-03 14:45:20.285 31528-31528/com.gxwtech.roundtrip2 I/System.out: 14:45:20,130 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
10-03 14:45:20.285 31528-31528/com.gxwtech.roundtrip2 I/System.out: 14:45:20,194 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use zip compression
10-03 14:45:20.285 31528-31528
@sethgagnon
sethgagnon / viewlogcat.log
Created October 3, 2018 16:47
RileyAAPS log for app crash
10-03 12:44:55.921 8141 8141 I System.out: 12:44:55,730 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [assets/logback.xml] at [assets/logback.xml]
10-03 12:44:55.921 8141 8141 I System.out: 12:44:55,747 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10-03 12:44:55.921 8141 8141 I System.out: 12:44:55,789 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
10-03 12:44:55.921 8141 8141 I System.out: 12:44:55,790 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
10-03 12:44:55.921 8141 8141 I System.out: 12:44:55,848 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use zip compression
10-03 12:44:55.921 8141 8141 I System.out: 12:44:55,850 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /storage/emulated/0/Android/data/com.gxwtech.roundtrip2/files/Roundtrip2._%d{y
@sethgagnon
sethgagnon / androidaps.log
Created October 2, 2018 17:13
AndroidAPS_MDT_Logs
This file has been truncated, but you can view the full file.
13:08:02.421 [Thread-1558] D/DATABASE: [CareportalEvent.isEvent5minBack():143]: Found event for time: 10/1/18 7:12:00 PM Eastern Daylight Time CareportalEvent{date= 1538435487000, date= 10/1/18 7:11 PM, isValid= true, _id= 5bb2a9c78a26210004c03c22, eventType= Site Change, json= {"_id":"5bb2a9c78a26210004c03c22","created_at":"2018-10-01T23:11:27Z","eventType":"Site Change","glucose":219,"glucoseType":"Sensor","units":"mg\/dl","enteredBy":"Seth","NSCLIENT_ID":1538435489530,"mills":1538435487000,"mgdl":219}}
13:08:02.677 [Thread-1558] D/AUTOSENS: [SensitivityOref1Plugin.detectSensitivity():135]: Using most recent 91 deviations
13:08:02.678 [Thread-1558] D/AUTOSENS: [SensitivityOref1Plugin.detectSensitivity():139]: Adding 18 more zero deviations
13:08:02.679 [Thread-1558] D/AUTOSENS: [SensitivityOref1Plugin.detectSensitivity():156]: Records: 279 ++===+++(9)++++-======-(10)-=-==+======(11)=+======+===(12)==+=-xxxxxxx(13)xxxxxxxxxxxx(14)xxxxxxxxxxxx(15)xxxxxxxxxxxx(16)xxxxxxxxxxxx(17)xxxxxxx---==(18)--xxxxxxxxxx(
@sethgagnon
sethgagnon / autotune_with_uam_as_basal_true.log
Created September 26, 2018 17:46
autotune_with_uam_as_basal_true.log
Compressing old json and log files to save space...
Autotune disk usage:
7.9M .
Overall disk used/avail:
Filesystem Size Used Avail Use% Mounted on
rootfs 114G 94G 20G 83% /
Grabbing NIGHTSCOUT treatments.json and entries/sgv.json for date range...
Query: XXXXXX entries/sgv.json find%5Bdate%5D%5B%24gte%5D=1537430400000&find%5Bdate%5D%5B%24lte%5D=1537516800000&count=1000
-rw-rw-rw- 1 seth seth 172566 Sep 26 13:44 ns-entries.2018-09-20.json
Query: XXXXXX treatments.json find%5Bcreated_at%5D%5B%24gte%5D=2018-09-19T06:00-04:00&find%5Bcreated_at%5D%5B%24lte%5D=2018-09-21T18:00-04:00
@sethgagnon
sethgagnon / ConsoleOutput.log
Created September 12, 2018 14:03
Updated SideLoad Error
[9:59:04 AM]Sideload successful![HOST][9:59:05 AM]Loaded and evaluated: file:///android_asset/bootstrap.js[HOST][9:59:05 AM]Loaded and evaluated: file:///data/user/0/com.fitbit.FitbitMobile/app_companions/9eacf714-5b23-40c8-9621-ded74bd9edf9/0x038940fe6166972b/companion.js[HOST][9:59:05 AM]Companion launched by [launchedOnTracker][HOST][9:59:07 AM]App Startedapp/index.js:125,7[9:59:09 AM]companion - no connectionapp/index.js:125,7[9:59:09 AM]companion - no connectionapp/index.js:125,7[9:59:09 AM]companion - no connectioncompanion/index.js:347,1[9:59:11 AM]manualHighLow falsecompanion/index.js:412,1[9:59:11 AM]{"settings":{"bgDataUnits":"mg/dl","bgHighLevel":160,"bgLowLevel":70,"disableAlert":false,"snoozeLength":15,"weatherUnitF":"celsius","snoozeRemove":false}}companion/index.js:328,1[9:59:12 AM]{"bgdata":{"sgv":[125,116,106,91,80,77,74,74,71,67,66,66],"lastPollTime":1536760458002,"currentTrend":"FortyFiveUp","delta":9.5,"BGerror":false,"iob":"2.52","cob":"1"}}companion/index.js:206,1[9:59:12 AM]{"weather":{
@sethgagnon
sethgagnon / ConsoleOutput.log
Created September 10, 2018 20:35
Fitbit Studio Console
Console
Build Output
[4:18:53 PM]Sideload successful![HOST][4:18:53 PM]App Closed[HOST][4:18:54 PM]App Startedapp/index.js:125,7[4:18:55 PM]companion - no connectionapp/index.js:125,7[4:18:55 PM]companion - no connectionapp/index.js:125,7[4:18:55 PM]companion - no connection[HOST][4:18:55 PM]Loaded and evaluated: file:///android_asset/bootstrap.js[HOST][4:18:55 PM]Loaded and evaluated: file:///data/user/0/com.fitbit.FitbitMobile/app_companions/9eacf714-5b23-40c8-9621-ded74bd9edf9/0x0545f5a3645f9226/companion.js[HOST][4:18:55 PM]Companion launched by [launchedOnTracker]companion/index.js:349,1[4:18:56 PM]manualHighLow falsecompanion/index.js:414,1[4:18:56 PM]{"settings":{"bgDataUnits":"mg/dl","bgHighLevel":160,"bgLowLevel":70,"disableAlert":false,"snoozeLength":15,"weatherUnitF":"fahrenheit","snoozeRemove":true}}companion/index.js:330,1[4:18:57 PM]{"bgdata":{"sgv":[191,188,191,190,188,182,176,169,172,170,165,163],"lastPollTime":1536610461205,"currentTrend":"Flat","delta":1.5,"BGerror":false}}companion/index.
@sethgagnon
sethgagnon / autotune.2018-08-30-094114.log
Created August 30, 2018 14:14
Sample Autotune log file
This file has been truncated, but you can view the full file.
Compressing old json and log files to save space...
Autotune disk usage:
5.4M .
Overall disk used/avail:
Filesystem Size Used Avail Use% Mounted on
rootfs 114G 94G 20G 83% /
Grabbing NIGHTSCOUT treatments.json and entries/sgv.json for date range...
Query: https://seth-cgm.herokuapp.com entries/sgv.json find%5Bdate%5D%5B%24gte%5D=1531382400000&find%5Bdate%5D%5B%24lte%5D=1531468800000&count=1000
-rw-rw-rw- 1 seth seth 63825 Aug 30 09:41 ns-entries.2018-07-12.json
Query: https://seth-cgm.herokuapp.com treatments.json find%5Bcreated_at%5D%5B%24gte%5D=2018-07-11T06:00-04:00&find%5Bcreated_at%5D%5B%24lte%5D=2018-07-13T18:00-04:00