Description
Describe the bug
A user reported an 0x31 fault (decimal -049).
This indicates Loop sent a command to the pod when the pod was not in a state to accept it.
In this specific case, Loop issued a Temp Basal command while a temp basal was already running.
Attach an Issue Report
Loop Report 2023-12-30 22_12_13-05_00.md
To Reproduce
Steps to reproduce the behavior:
- This is a rare occurrence but the code should be evaluated and updated so this can never happen
Expected behavior
There are known states that will cause this fault for pods. Just going to list 2 (not indicating the ones that can happen during pair/prime/insert steps.
- If the pod is in the middle of a Bolus, it will fault if a new request for Bolus is received
- If the pod is already running a Temp Basal, it will fault if a new request for Temp Basal is received
No instances of Item 1 have been reported to date.
This instance is a case of item 2.
Screenshots
If applicable, add screenshots to help explain your problem.
Phone
- systemName: iOS
- systemVersion: 16.6
- model: iPhone
- modelIdentifier: iPhone13,1
Loop Version
- appNameAndVersion: Loop v3.2.2 (57)
- profileExpiration: 2024-08-30 23:47:44 +0000
- gitRevision: befcbcb
- gitBranch: N/A
- workspaceGitRevision: ee50fc4
- workspaceGitBranch: main
- sourceRoot: /Users/paulovieira/Downloads/BuildLoop/Loop-230724-1450/LoopWorkspace/Loop
- buildDateString: Thu Aug 31 21:55:51 -03 2023
- xcodeVersion: 14E300c
CGM
- Dexcom G6
- G6CGMManager
Pump
- Eros
Additional context
The commands for the pod that faulted were parsed and are contained in the attached csv file.