profile
viewpoint
Arvindh itsgk92 Tech enthusiast. IoT, Cloud, Analytics

itsgk92/20532-DevelopingMicrosoftAzureSolutions 0

20532: Developing Microsoft Azure Solutions Lab Content

itsgk92/datasharing 0

The Leek group guide to data sharing

itsgk92/DesignPatterns 0

Learning Repository for design patterns

itsgk92/ExData_Plotting1 0

Plotting Assignment 1 for Exploratory Data Analysis

itsgk92/Industrial-IoT-Workshop 0

Industrial IoT Workshop Setup Development Environment Lab

itsgk92/iot-galileo 0

This repository contains sample(s) for connecting Intel Galileo devices to the IBM Internet of Things Foundation

itsgk92/mraa 0

Low Level Skeleton Library for IO Communication on GNU/Linux platforms

itsgk92/OpenAPI-Specification 0

The OpenAPI Specification Repository

startedFreeOpcUa/python-opcua

started time in a month

issue commentpauldemarco/flutter_blue

PlatformException(set_notification_error, error when writing the descriptor, null) on setNotifyValue

In the example above, await inside a forEach doesn't work. Separate discovery of service/characteristics and setNotifyValue call rather than making it in a single loop.

For example

accelerometerCharacteristic = _getAccelerometerCharacteristic(sensorService);
    gyroscopeCharacteristic = _getGyroscopeCharacteristic(sensorService);

if(accelerometerCharacteristic` == null || gyroscopeCharacteristic == null){

    return false;
  }else {
    bool accelerometerSubscribed;
    bool gyroscopeSubsribed;

    if (!accelerometerCharacteristic.isNotifying) {
      accelerometerSubscribed =
      await accelerometerCharacteristic.setNotifyValue(true);
    }

    await Future.delayed(const Duration(milliseconds: 500));

    if (!gyroscopeCharacteristic.isNotifying) {
      gyroscopeSubsribed = await gyroscopeCharacteristic.setNotifyValue(true);
    }
rma6

comment created time in 2 months

issue commentpauldemarco/flutter_blue

PlatformException(set_notification_error, error when writing the descriptor, null) on setNotifyValue

The issue is solved if we have a delay between consecutive setNotifyValue.

rma6

comment created time in 3 months

issue commentpauldemarco/flutter_blue

FlutterBlue.instance.scanResults shows stale results

yes, this actually becomes an issue when we listen to scanResults asynchronously. Say the start and stop scan methods are invoked only on widget creation and dispose, listening to scanResults stream sends stale data (i.e) sends devices that are just discovered from beginning of scan even though they are not in range anymore.

daniels20000

comment created time in 3 months

more