-
Notifications
You must be signed in to change notification settings - Fork 16
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
Failing to connect to g6 #1
Comments
Hello, You can try these:
When you are using the Arduino Serial Monitor can you enable timestamps and tell me if the "onDisconnect" message happens a view ms or like ~5s after the "- Created client" message. |
thanks for your response, i'm grateful. i'll try this today and get back to
you.
…On Sun, Apr 12, 2020 at 9:29 AM Max Kaiser ***@***.***> wrote:
Hello,
first off thank you for these nice words.
I see that you are using one of the newest firmware versions and I heard
that Dexcom changed something in the protocol. But nevertheless the esp
should at least connect.
You can try these:
1. Dissable all other cgm receivers and smartphones (xDrip+ or Dexcom
App) so that the Esp is the only one trying to connect.
2. It could also be a timing problem so that the esp detects the woken
up transmitter to late and starts connecting when the transmitter is going
to shut down again.
You could try to disable other BLE devices and/or set this command to
true:
https://github.com/TheEpicBigBoss/Dexcom-ESP32-Reader/blob/405de09dbdf0a198b97674c3fb745997cf96b583/ESP32_Reader/ESP32_Reader.ino#L273
When you are using the Arduino Serial Monitor can you enable timestamps
and tell me if the "onDisconnect" message happens a view ms or like ~5s
after the "- Created client" message.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAR3QVUYD7GDTDKH6PD2NDRMG62BANCNFSM4MGG57RQ>
.
|
Max - I tried I set the
Does anything in there suggest to you another direction I can pursue? (I didn't try unpairing other clients, which is complicated for our daily lives. I could turn them off easily of course.) |
I will compare your output with mine to see what exactly is different but I think the transmitter is closing the connection so I wouldn't find anything unusual. I think turning off the other clients is enough. The transmitter only allows two connections and if you have already two devices that connect to the transmitter then the esp gets kicked out. |
Oh really? only two devices? that is unfortunate. do you know where i can find documentation about that? |
Hi |
It is not, that's handled in the transmitter. The battery is pretty much dead after 90-120 days anyway. |
I'm using a g6 with firmware 2.18.2.98 and software version SW11818.
I repeatedly get
I set
transmitterID
appropriately and toggled bothforce_rebonding
anduseAlternativeChannel
in the hope that would help me, but alas, no. I'd greatly appreciate your advice.(And I want to say thank you emphatically for working on such a noble thesis project! This will make a big difference in our family life.)
The text was updated successfully, but these errors were encountered: