Dear developer,
can i send data to xDrip like AndroidAps ? if i can, How should i do?
Thank you very much for your recovery.
more
If you are interested in learning about us, please contact me at gitter.I tried to contact you, but I didn't get a response, Or please give me an email to contact you.
This is dependent on several things.
Generally you can produce intends to transfer data to a other app. Normally this must be implemented on sender app and receiver app. And booth apps should know that there is an allowed receiver... So without any further information it is not easy to give a suggestion, as also other ways of transferring of data is possible (web pull, Export Import and so.on)...
Sorry, I didn't elaborate completely.
we are CGM company named POCTech Co.,Ltd. ,Similar to Dexcome. We already have our own sensors and app named POCTech Care Mobile in googleplay store. we want send our glucose data to xDrip via Broadcast .
We have successfully passed the data to Androidaps. we also want to do this in xDrip.
Sorry for the slow response due to the time zone problem
This is dependent on several things.
- Wich data you want to send (is it something new, or established known datafileds)?
- from.where this want to be transfered
Generally you can produce intends to transfer data to a other app. Normally this must be implemented on sender app and receiver app. And booth apps should know that there is an allowed receiver... So without any further information it is not easy to give a suggestion, as also other ways of transferring of data is possible (web pull, Export Import and so.on)...
Sorry, I didn't elaborate completely.
we are CGM company named POCTech Co.,Ltd. ,Similar to Dexcome. We already have our own sensors and app named POCTech Care Mobile in googleplay store. we want send our glucose data to xDrip via Broadcast .
We have successfully passed the data to Androidaps. we also want to do this in xDrip.
Sorry for the slow response due to the time zone problem.
We broadcast the data to Androidaps.

Normally this should not be not a big problem. But it will be better to place it as an extra intend to xdrip imo, so it is clear selectable for the receiver.
Normally the best is, if someone who has also one or more of your sensors, and some experiences in coding, to implement it in xdrip, or as Xdrip is open source, so it is open to you to give a pull request for implementing the processing of the data receiving from your app.
Under the line I see not that this will not be possible, but at the end @jamorham has to decide when a pull request comes up...
Normally this should not be not a big problem. But it will be better to place it as an extra intend to xdrip imo, so it is clear selectable for the receiver.
Normally the best is, if someone who has also one or more of your sensors, and some experiences in coding, to implement it in xdrip, or as Xdrip is open source, so it is open to you to give a pull request for implementing the processing of the data receiving from your app.
Under the line I see not that this will not be possible, but at the end @jamorham has to decide when a pull request comes up...
Thank you for your reply , i think implementting it in xdrip is very diffcult , so i want our app as an open souece in Hardware Data Source.

we do the same in AndroidAps.

I'm sorry I didn't leave a contact information last time
my email : simon.[email protected]
I'm sorry that I can't reply immediately due to the time zone problem. If you are interested, please contact me. Our products have been used in Greece,We want to help more diabetics get a better experience. Thank you . @jamorham @MasterPlexus
@WalkingMyRoad That was what I mean. I did not stated to implement the hole connection to be implemented in xDrip.
I see the implementation in AndroidAPS, and it looks like not that complex, but I'm not that deep in handling Intends. But as far as I could see, you should add in your app als that the intends will be send to xdrip in addition (at the moment in your screenshot I see intend.setPackage(packageNameAndroidaps);
and I'm not sure that xDrip could receive it, as it is not placed for it.
If you only want to send BG data as intents, you can do that, but the user will have to select things that are not related to your CGM. Are you sure it is a good thing to do?
If yes, I can point you on how to do it.
If you only want to send BG data as intents, you can do that, but the user will have to select things that are not related to your CGM. Are you sure it is a good thing to do?
If yes, I can point you on how to do it.
Because we don't collect users' data to the cloud, but we need to give users a way to watch their children's blood sugar at home. Xdrip is the best choice. For now, we only want to send BG data as intents, but how to give xdrip compliant coding parameters , please give some Suggestions and examples.
@WalkingMyRoad That was what I mean. I did not stated to implement the hole connection to be implemented in xDrip.
I see the implementation in AndroidAPS, and it looks like not that complex, but I'm not that deep in handling Intends. But as far as I could see, you should add in your app als that the intends will be send to xdrip in addition (at the moment in your screenshot I seeintend.setPackage(packageNameAndroidaps);
and I'm not sure that xDrip could receive it, as it is not placed for it.
We designed a switch option to let users choose which application to transfer data to. every switch sets different package.

Of course, we will add xdrip if the test passes.
Here is the way that the oop sends data back to xDrip:
https://github.com/tzachi-dar/LibreOOPAlgorithm/blob/8ac65ad064f19a1b259ddf18b6382bc74b61e2f0/app/src/main/java/com/hg4/oopalgorithm/oopalgorithm/IntentsReceiver.java#L120
You can send it on the same way.
For this to work, your users will have to configure xDrip according to
the following instructions:
1) Install xDrip
2) Choose libre as the sensor type.
3) Choose miaomiao
4) Go to settings->hw data source and choose libre wifi
5) Go to list of receivers and enter 127.0.0.1:5000
6) Start a new sensor (answer not today).
7) Go to settings->less common settings->other misc options-> and set "use
oop algorithm"
This configuration is far from being intuitive, but users will see the BG
and alerts will work and so on.
On Tue, 22 Oct 2019 at 04:42, minyc notifications@github.com wrote:
@WalkingMyRoad https://github.com/WalkingMyRoad That was what I mean. I
did not stated to implement the hole connection to be implemented in xDrip.
I see the implementation in AndroidAPS, and it looks like not that
complex, but I'm not that deep in handling Intends. But as far as I could
see, you should add in your app als that the intends will be send to xdrip
in addition (at the moment in your screenshot I see
intend.setPackage(packageNameAndroidaps);
and I'm not sure that xDrip could receive it, as it is not placed for it.We designed a switch option to let users choose which application to
transfer data to. every switch sets different package.
[image: Screenshot_20191022-093730]
https://user-images.githubusercontent.com/12733707/67254493-e92ceb00-f4af-11e9-92e3-94d4ef098ebf.png
Of course, we will add xdrip if the test passes.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NightscoutFoundation/xDrip/issues/1058?email_source=notifications&email_token=AB4TBZB3F62JO33WL74XPRLQPZLALA5CNFSM4JBG7LQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4JXKA#issuecomment-544775080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4TBZEJ4QJLWXAYLYRY623QPZLALANCNFSM4JBG7LQA
.
Hey there all!
@WalkingMyRoad are you planning to implement the connection between POCTech and xDrip?
Also do you have any documentation about connecting POCTech with Nightscout and Androidaps
Thank you :)