Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: NS SMB transmission #110

Open
mountrcg opened this issue Nov 4, 2021 · 0 comments
Open

Feature Request: NS SMB transmission #110

mountrcg opened this issue Nov 4, 2021 · 0 comments

Comments

@mountrcg
Copy link
Contributor

mountrcg commented Nov 4, 2021

Would it be possible to to feed NS the SMB's instead of:

{
    "_id" : ObjectId("6178dda5cb510d6a1d76e776"),
    "duration" : 0,
    "bolus" : {
        "_type" : "Bolus",
        "id" : "a4fa258b4911bf47439ef17078d447ef",
        "timestamp" : "2021-10-27T05:03:31.360Z",
        "amount" : 0.25,
        "duration" : 0
    },
    "insulin" : 0.25,
    "eventType" : "Bolus",
    "enteredBy" : "freeaps-x",
    "created_at" : "2021-10-27T05:03:31.360Z",
    "utcOffset" : 0
}

so that they are identified as SMB in this format:

{
    "_id" : ObjectId("61754bd4f706c00004b3be1c"),
    "eventType" : "Correction Bolus",
    "insulin" : 0.75,
    "created_at" : "2021-10-23T21:38:24Z",
    "date" : 1635025104068.0,
    "isSMB" : true,
    "pumpId" : 2021102323382440.0,
    "NSCLIENT_ID" : "1635025135592"
}
mountrcg pushed a commit to mountrcg/freeaps that referenced this issue Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant