logo
down
shadow

iOS app that collects data from "Accu-Chek Aviva Connect" BG meter. (Bluetooth Low Energy)


iOS app that collects data from "Accu-Chek Aviva Connect" BG meter. (Bluetooth Low Energy)

By : Khalid
Date : November 21 2020, 11:01 PM
wish of those help The way to work with Accu-Chek Aviva Connect is to pair it the first time by going to Settings → Wireless → Pairing → Pair Device. Then you get a screen with number code and a message: "Enter code on device".
On iPhone you discover Accu-Chek device and write a value to Read Record Access Control Point characteristic. For example request a Number of records:
code :
- (void)peripheral:(CBPeripheral *)aPeripheral didDiscoverCharacteristicsForService:(CBService *)service error:(NSError *)error {

    if ([service.UUID isEqual:[CBUUID UUIDWithString:@"1808"]]) {
        for (CBCharacteristic *aChar in service.characteristics) {

            // Read Record Access Control Point
            if ([aChar.UUID isEqual:[CBUUID UUIDWithString:@"2A52"]]) {
                [aPeripheral readValueForCharacteristic:aChar];
                [aPeripheral setNotifyValue:YES forCharacteristic:aChar];

                self.readAccessControlPointCharacteristic = aChar;

                NSMutableData *mutableData = [NSMutableData data];
                uint8_t opCode = 0x04; // Report number of stored records
                uint8_t operator = 0x01; // All records

                [mutableData appendData:[NSData dataWithBytes:(void*)&opCode length:sizeof(opCode)]];
                [mutableData appendData:[NSData dataWithBytes:(void*)&operator length:sizeof(operator)]];

                [aPeripheral writeValue:mutableData forCharacteristic:self.readAccessControlPointCharacteristic type:CBCharacteristicWriteWithResponse];
            }

        }
    }


Share : facebook icon twitter icon
Motorola and Bluetooth Low Energy with custom Bluetooth Low Energy client device

Motorola and Bluetooth Low Energy with custom Bluetooth Low Energy client device


By : naghme pirmoradian
Date : March 29 2020, 07:55 AM
this one helps. Android options for BLE are limited, and this answer may be different at any given point in the future.
Motorola API will only work for Motorola phones. The GATT API will allow you to push data to the GATT and transmit it via ble. HOWEVER Motorola has ONLY extended the HRM profile. Additionally the API stopped working on devices that were updated to ICS (as of 10 days ago this is still the case). They are working to update the API as well as possibly extend the profiles beyond HRM. There have been people that have simply leveraged the HRM profile to shuttle data, but there is currently a 2 octet limit.
how to connect with bluetooth low energy in ios swift?

how to connect with bluetooth low energy in ios swift?


By : Azhar Desai
Date : March 29 2020, 07:55 AM
Does that help I want to connect with ble peripheral. But my code doesn't call didConect function , I've solved this.
just need to change :
code :
func centralManager(central: CBCentralManager, didConnect peripheral: CBPeripheral)
func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral)
Connect Accu-Chek Performa Nano device Via Bluetooth

Connect Accu-Chek Performa Nano device Via Bluetooth


By : Dug6464
Date : March 29 2020, 07:55 AM
I wish this help you There is no Bluetooth in Accu-chek Perfoma nano,Your have to Place device in communication mode by connecting the device to the computer using a USB cable or an Accu-Chek IR-to-USB cable. (The IR-to-USB cable enables compatible devices to send and receive data via a wireless connection.)
Can't connect the Hololens to a Bluetooth Low Energy device

Can't connect the Hololens to a Bluetooth Low Energy device


By : Jurabek Toshmatov
Date : March 29 2020, 07:55 AM
Hope that helps I have finally found how I can get all services and the characteristics per service. By creating a GattDevice I can get the services with GattDevice.GattServices. When I found the correct GattDeviceService, I can get the Characteristics with:
code :
GattService s = new GattService(GattDeviceService)
GattCharacteristic.GetCharacteristics(s)
How to connect to a Bluetooth low energy device from iOS with Qt?

How to connect to a Bluetooth low energy device from iOS with Qt?


By : kilian carpentier
Date : March 29 2020, 07:55 AM
this one helps. You should use QLowEnergyController If you use your device as peripheral look this method. I create class that contains instance of QLowEnergyController and works with it. Here is part of code that i use in my application:
code :
void BLEAdvertisementCommunicator::startAdvertisingService() {
    mController = QLowEnergyController::createPeripheral(this);
    mAdvertisingData.setDiscoverability(QLowEnergyAdvertisingData::DiscoverabilityGeneral);
    mAdvertisingData.setIncludePowerLevel(false);
    mAdvertisingData.setLocalName("MyApplication");
    QLowEnergyServiceData serviceData;
    serviceData.setType(QLowEnergyServiceData::ServiceTypePrimary);
    serviceData.setUuid(QBluetoothUuid(serviceUuid));

    auto service = mController->addService(serviceData, mController);

    connect(mController, SIGNAL(connected()), this, SLOT(onDeviceConnected()));
    connect(mController, SIGNAL(disconnected()), this, SLOT(onDeviceDisconnected()));
    connect(mController, SIGNAL(error(QLowEnergyController::Error)), this, SLOT(onError(QLowEnergyController::Error)));
    mResponseData.setServices({QBluetoothUuid(serviceUuid)});
    mController->startAdvertising(QLowEnergyAdvertisingParameters(), mAdvertisingData,
                                  mResponseData);
}
Related Posts Related Posts :
  • TKChartDataPoint does not conform to expected type Sequence
  • IOS/Swift - Instance member 'app' cannot be used on type ERROR
  • Create show Case view In Tabbar xcode
  • Create IOS App with Cordova on Windows10
  • Get parent process information at runtime on iOS application
  • Destination attribute mapping not showing newly added attribute in xcmodelmappingmodel while Coredata migration
  • How to convert string to NSArray in iOS
  • Converting all Realm Objects to Dictionary at once
  • How to use DACircularProgressView in swift3?
  • Stop Core Data calculation?
  • issue and crash after deletion of last row
  • Multiple UNUserNotifications not firing
  • Drawing a rectangle under text on image Then save
  • auto adjust custom UITableViewCell and Label in it to the text
  • Only use pictures taken through the camera, iOS/Swift
  • UITableView objective-c not populating correctly
  • UNNotification: Custom Sound for LocalNotification is not playing in iOS10
  • Alamofire: How to download zip files sequentially within UITableView
  • iOS Google Tag Manager Integration: How to add multiple containers per App environment?
  • I am getting Exe_Bad_Access(code=1 address=0X38) when I am integrating the CCAvenue Payment Gate way in IOS
  • iOS How to set background image for text in UILabel/UITextView?
  • Notification localization is not working in iOS 10
  • how to show multiple lines in MKAnnotation with autolayout?
  • iOS Provisioning Profile Renewal Process with MDM
  • UITextView check whether text field is empty or not in Objective-C
  • How to open Add Contact form through app
  • Is there a way to recognize, that the app was installed thru firebase dynamic link in didFinishLaunchingWithOptions?
  • iOS - Support ipv4 only API
  • Get IndexPath Value in UICollectionViewCell Class
  • 2d NSArray with enumerated types in objective-c
  • Return the bool statement directly VS using if to return bool
  • Touch ID: Biometry is locked out. Code=-8
  • Values are not updating in my text label from api calling
  • how to manage Height of UITableHeaderView in based on webview content using auto layout
  • viewDidLoad vs ViewWillAppear in IOS
  • Presenting a detail view controller from a map annotation in swift 3?
  • What is industry standard for when to push/pull between core data and remote database
  • Error when moving objects between NSMutableArray
  • Assigning values to class instance from json output
  • Does Facebook SDK support Swift 2.3/3.0?
  • google maps iOS SDK: custom icons to be used as markers
  • Difficulty reading UserDefaults with Fastlane Snapshot
  • Find individual load time of Dynamic Libraries to identify which library consumes more time to load in IOS
  • Can I add local and remote notifications in my iMessage extension?
  • UIImage goes where i tap (But i need it so you can ONLY drag it)
  • How to handle launch options in Swift 3 when a notification is tapped? Getting syntax problems
  • Mismatched colors on UINavigationBar and UISearchBar
  • How to make a Sprite node spin when a user taps the screen? Swift 3
  • React Native (iOS) app loads nicely on wifi; crashes on LTE/cell
  • How to use GADRewardBasedVideoAd
  • Get game request ID / Access Facebook game request notification content
  • Error opening shared document via CloudKit
  • SKPhysicsJointLimit has a elastic behaviour, but i need a strong rope simulation
  • Handing a response in a controller after segueing to another controller
  • Alamofire request gets stuck when entering background?
  • iOS swift: App Transport Security has blocked a cleartext HTTP (http://) resource
  • Full Screen layout for in Xcode 8
  • Provisioning Profile issue after switching to new iPhone in XCode 8
  • how can I center my map on the annotation view only when it is close to the edge of the screen?
  • How can I choose phone number in INSendPaymentIntent
  • shadow
    Privacy Policy - Terms - Contact Us © soohba.com