600SeriesAndroidUploader icon indicating copy to clipboard operation
600SeriesAndroidUploader copied to clipboard

RFC: Documentation of data paths into the uploader

Open th122 opened this issue 6 years ago • 3 comments

Been fiddling with mermaid for documentation of configuration options and data paths.

Any errors are my own - please comment if there's anything I got wrong or should change.

Data Path

Medtronic Enlite sensor ➔ Guardian™ 2 Link transmitter ➔ MiniMed™ 640G insulin pump ➔ (2.4 radio) ➔ Bayer Countour Next Link 2.4 ➔ (USB-OTG) ➔ Android device ➔ 600SeriesAndroidUploader ➔ Nightscout||xDrip||AndroidAPS

Graphics

unfortunately, Github doesn't seem to render Mermaid (Gitlab does). So here's source and a screenshot... ( I did another one dealing with the xDrip/AndroidAPS part, but it seems better to keep them modular, so I just added a hint of the connections outbound)

600series_uploader___33__ issues cgm___documentation___loop _gitlab

source for graphics

graph TD;
S ==> T;
T ==>|2.4GHz\nIEEE 802.15.4|P;
P ==>|2.4 GHZ|CNL;
CNL ==> |USB OTG|UP;

UP ==> NS;
UP ==> |Broadcast|xm;
UP ==> |Broadcast|AAPSnsc;
UP -.-> |BT|PW;


linkStyle 0 stroke-width:2px,fill:none,stroke:blue;
linkStyle 1 stroke-width:2px,fill:none,stroke:blue;
linkStyle 2 stroke-width:2px,fill:none,stroke:blue;
linkStyle 3 stroke-width:2px,fill:none,stroke:blue;

style NS fill:#9C9,stroke:#333,stroke-width:2px;
subgraph PWD;
  S(Enlite sensor);
  T(Guardian 2 Link transmitter);
  P(6x0G);
  end;
subgraph Receiver;
  CNL(Bayer Countour Next Link 2.4);
  end;
NS((Nightscout));
subgraph Android Telephone kept within reach;
  UP(600series Uploader);
  xm(xDrip master);
  AAPSnsc{AndroidAPS nsClient};
  end;
PW(Pebble Watch);

th122 avatar Dec 12 '18 19:12 th122

This looks great, @th122. The only amendment I can think of is that the sensor can be an Enlite 1/2 or Guardian 3 sensor (and the transmitter can be the Guardian Link 3 as well as Guardian Link 2). The comms between 6x0G and CNL is also 802.15.4. I should probably clean up the wiki, and include this diagram in it ;)

pazaan avatar Jan 03 '19 05:01 pazaan

This might be offtopic. As you added hints of outbound links after the uploader, do you know of any existing middleware projects? For example ones by-passing USB otg.

snowstorm0182 avatar Mar 01 '19 08:03 snowstorm0182

@snowstorm0182 - I’m not sure what you’re asking.

pazaan avatar Mar 02 '19 03:03 pazaan