Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    nigelkeirross
    @nigelkeirross
    @keencave I haven't yet built xDrip+ from Android Studio - just from the command line. I think I had problems with Studio & as it worked from the command line, I haven't tried recently. I will look to do that. The "Sentinam27b" is the name I give to this device. I have about 4, in different size containers, so I give each one a different name, as this makes it easier to know which one is connected etc. As I mentioned, I had changed xDrip to allow "Sentinam" prefix as a name for LimiTTer type.
    @keencave The fact that every 5 minutes I get the messages in the log in xDrip+ that I mentioned, makes me think that something is arriving...
    @keencave 1) got null pointer trying to set CCCD descriptor.
    & after 2 minutes:
    2) onServiceDisconnected: xdrip service 0000ffee0-0000-1000-8000-00805f9b34fb not found
    @keencave If it will help, I will try & build xDrip+ with android studio this afternoon.
    nigelkeirross
    @nigelkeirross
    @keencave I have built with Android studio, and captured the logcat for the time around when got the BT scan on the phone, which was at 15:12. The whole logcat is ~ 5k lines, but if I restrict it to only this lines containing eveningoupost, it is 358 lines long. What is the best way to send such a long file?
    nigelkeirross
    @nigelkeirross
    @keencave I believe that I just uploaded the smaller file. Please let me know if you are able to access it. Thanks.
    @keencave full logcat uploaded
    nigelkeirross
    @nigelkeirross
    @keencave Hi, I wanted to check if you were able to access the Androis studio logat traces from xDrip while my problem was happening?
    keencave
    @keencave
    Not yet. Been busy in my job. Hope to check the next days.
    nigelkeirross
    @nigelkeirross
    @keencave Thanks. No hurry, just wanted to check the file upload had worked. Thanks
    keencave
    @keencave
    Hm, I guess I have to setup my LimiTTer test environment again to crosscheck against the current xDrip+ version. The logcat files shows nothing special to understand the error.
    keencave
    @keencave
    Which LBridge INO do you use?
    keencave
    @keencave
    Looking back in this channel this logcat is from 16.8.2017:
    nigelkeirross
    @nigelkeirross
    @keencave It is essentially LBridge_Arduino_170716_1950.ino
    keencave
    @keencave
    ```
    08-16 20:55:32.550 2972-2972/? D/DexCollectionService: setRetryTimer: Restarting in: 22 seconds
    08-16 20:55:39.946 2972-2995/? I/DexCollectionService: onConnectionStateChange: Connected to GATT server.
    08-16 20:55:39.957 2972-2995/? I/DexCollectionService: attemptConnection: Connection state: CONNECTED
    08-16 20:55:39.965 2972-2995/? I/DexCollectionService: attemptConnection: Looks like we are already connected, ready to receive
    08-16 20:55:40.652 2972-2987/? D/DexCollectionService: onServicesDiscovered received status: 0
    08-16 20:55:40.673 2972-2987/? I/DexCollectionService: Bluetooth Notification Descriptor found: 00002902-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.685 2972-2987/? W/DexCollectionService: onServicesDiscovered: service null not found
    08-16 20:55:40.696 2972-2987/? D/DexCollectionService: Listing available services:
    08-16 20:55:40.707 2972-2987/? D/DexCollectionService: Service: 00001800-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.719 2972-2987/? D/DexCollectionService: |-- Characteristic: 00002a00-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.729 2972-2987/? D/DexCollectionService: |-- Characteristic: 00002a01-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.741 2972-2987/? D/DexCollectionService: |-- Characteristic: 00002a04-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.753 2972-2987/? D/DexCollectionService: Service: 00001801-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.775 2972-2987/? D/DexCollectionService: |-- Characteristic: 00002a05-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.791 2972-2987/? D/DexCollectionService: Service: 0000ffe0-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.806 2972-2987/? D/DexCollectionService: |-- Characteristic: 0000ffe1-0000-1000-8000-00805f9b34fb
    08-16 20:55:40.821 2972-2987/? D/DexCollectionService: onDescriptorWrite: Wrote GATT Descriptor successfully.
    08-16 20:55:40.901 2972-2995/? I/DexCollectionService: onCharacteristicChanged entered 
                                                           0x00000000 15 00 8A F3 01 00 8A F3 01 00 D6 2E AE B1 A5 00 ................
                                                           0x00000010 07 6B 0E 00                                     .k..
    08-16 20:55:40.926 2972-2995/? I/DexCollectionService: setSerialDataToTransmitterRawData: Dealing with Dexbridge packet!
    08-16 20:55:40.938 2972-2995/? I/DexCollectionService: setSerialDataToTransmitterRawData: Received Data packet
    08-16 20:55:40.954 2972-2995/? D/DexCollectionService: setSerialDataToTransmitterRawData: Sending Data packet Ack, to put wixel to sleep
    08-16 20:55:40.973 2972-2995/? I/DexCollectionService: sendBtMessage: entered
    08-16 20:55:40.990 2972-2995/? I/DexCollectionService: sendBtMessage: sending message: 
                                                           0x00000000 02 F0                                           ..
    ```
    nigelkeirross
    @nigelkeirross
    @keencave I have looked at both logcat log files I have on my laptop, which I believe that I uploaded, all lines start with "2020-09-26 15:11...."
    keencave
    @keencave
    Looks like in you log the "ondescriptor: wrote GATT descriptor successfully" message is missing. The services are listed correct. Being not that expert I guess that you BT module could be the root cause. After BT connection setup (which works with your LimiTTer) there is some mismatch on the service side. Result is no descriptor which enables the BT data transfer.
    Oh sorry, this is my log posted in this channel on 16.8.2017 which shows a correct data transfer.
    nigelkeirross
    @nigelkeirross
    @keencave I see 2020-09-26 15:11:26.522 12525-12540/com.eveningoutpost.dexdrip I/DexCollectionService: onConnectionStateChange: Connected to GATT server.
    keencave
    @keencave
    Please compare your log with that one posted above. xDrip is not able to receive any data from your LimiTTer. The connection to the GATT server will not be established. I guess that the error in your BT module causes that behaviour. You reported before all things went well.
    I am not a BT expert - I think after connection to the GATT server a correct descriptor has to be negotiated. This is not happening in your log file.
    I will crosscheck with my LimiTTer the next days. But I dont think this will give a better understanding of the error on your side. It seems a protocol error on the BT side which disable xdrip to receive any payload data over BT. Root cause is most probabaly the HM module.
    nigelkeirross
    @nigelkeirross
    @keencave OK. I just uploaded the lines from the locat that only were DexCollectionService. It looks like it is connected, but throws a "reflection exceptio"... 2020-09-26 15:12:13.305 12525-12525/com.eveningoutpost.dexdrip I/DexCollectionService: checkConnection: Connection state: CONNECTED
    2020-09-26 15:12:13.306 12525-12525/com.eveningoutpost.dexdrip I/DexCollectionService: checkConnection: Looks like we are already connected, ready to receive
    2020-09-26 15:12:14.048 12525-18369/com.eveningoutpost.dexdrip D/NanoStatus: reflection exception: java.lang.NoSuchMethodException: nanoStatus [] DexCollectionService
    keencave
    @keencave
    I see no difference. BT connection is enabled. But no data will be received. Your other log from LBridge documented that data packets are sent out. I would suggest to post this log in the xdrip channel to ask @jamorham if he could identify any root cause. Sorry, but I am unable to invest more time at the moment on this problem. Next week I will look into it again if there is no solution.
    nigelkeirross
    @nigelkeirross
    @keencave OK, thanks. I appreciate what you are doing. I will post this logcat log to jamorham. Thanks
    keencave
    @keencave
    :+1:
    rus-lik07
    @rus-lik07
    Всем привет. Где я могу купить все комплектующие?
    keencave
    @keencave
    Could you please write your post in english?
    rus-lik07
    @rus-lik07
    Hi. I want to build such a device. Where can I find the entire list of components?
    keencave
    @keencave
    nigelkeirross
    @nigelkeirross
    @rus-lik07 @keencave Hi, from my experience I have a couple of observations. In the LimiTTer.pdf file in that repository, I believe there is an error/omission. The pin 4 of the Arduino should also be connected to pin 8 & 7 to provide more current. @keencave kindly pointed this out to me. Also, if you wire the charge (power supply) cable GND to the Arduino pin on the same side as the VCC cable , then it leaves the end pins free, so easier to attach the programmer when uploading. Also, do not use the LimiTTer.ino code, but instead the LBridge software from @keencave. And there are many 3d-printable cases to use for the LimiTTer hardware rather than JoernL's original as described.
    rus-lik07
    @rus-lik07
    I have a few questions. 1 What is the difference between limitter and bubble? 2 what is the difference between limitter for android and ios?
    keencave
    @keencave
    LimiTTer is a self build instrction, costs aprox. 60,- EUR. Bubble is a more avanced device which much higher price which is also fully integrated into xDrip+.
    rus-lik07
    @rus-lik07
    Will this work with the Spyke program?
    keencave
    @keencave
    With LimiTTer I guess. Not with Buble. Please ask on FB, there is a Bubble group named "Bubblan". Please use FB search and enter that group. They can answer that question for sure.
    rus-lik07
    @rus-lik07
    I want to build limitter for ios. But how does it differ for android and for ios?
    keencave
    @keencave
    Same hardware for Android and iOS. LimiTTer is simply sending an ASCII string to the App (either Android and iOS) via BT.
    rus-lik07
    @rus-lik07
    What can I use instead of bm019?
    Patrick Sonnerat
    @psonnera
    Anything based on the CR95HF or make yours https://github.com/psonnera/NFCStamp
    rus-lik07
    @rus-lik07
    Помогите найти bm019
    nigelkeirross
    @nigelkeirross
    rus-lik07
    @rus-lik07
    Any experience with HM19?
    keencave
    @keencave
    No, only HM17. But I would guess that the HM19 should be backward compatible. When not it should be easy to modify the INO to adopt. There are only few AT commands used.
    nigelkeirross
    @nigelkeirross
    @rus-lik07 @keencave I have built a couple of LimiTTers with HM19, as well as HM17. Both work, and no change needed to the software (.ino).
    keencave
    @keencave
    :+1: