Giter VIP home page Giter VIP logo

winrtble's People

Contributors

derekgn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

winrtble's Issues

trying to compile with VS2017 on Win10 and get error that NuGet package cppwinrt is missing

trying to compile with VS2017 on Win10 and get error that NuGet package cppwinrt version 2017.8.25.1 is missing. I cannot uninstall or reinstall a newer version.

Apparently version 2017.8.25.1 does not exist because nuget.org cannot find it. Also apparently without it I cannot uninstall in order to reinstall a more current version. Do you have a copy of the cppwinrt nuget package that you are referencing or do you know how to get rid of the reference in the ,sin? I have deleted the packages.config file but then it complains that the reference is missing.

I edited out all mentions of cppwinrt in the vcxproj file. There were no mentions of cppwinrt in the .sin file. I then tried to install the latest version of cppwinrt but got an error that it couldn't find the 2017.8.25.1 version in the source.

I was finally able to fix this by renaming the packages.config file so it would not be found and editing the .vcproj file commenting out any line that contained any mention of cppwinrt. I was then finally able to install the latest version of cppwinrt.

Notify Characteristic

if GattClientCharacteristicConfigurationDescriptorValue is Notify,how can i get the Value of Characteristic?

Throws Exception?

Console:

BluetoothLEAdvertisementWatcher:
MaxOutOfRangeTimeout: [0x23c34600]
MaxSamplingInterval: [0xf32fdc0]
MinOutOfRangeTimeout: [0x989680]
MinSamplingInterval: [0xf4240]

Waiting for device: AdvertisementReceived:
LocalName: [] AdvertisementType: [ConnectableUndirected] BluetoothAddress: [0x4525dafb5786] RawSignalStrengthInDBm: [-70]
.
Finished waiting for device.
Device found.
Device Information:
BluetoothAddress: [4525dafb5786]
BluetoothAddressType: [Random]
ConnectionStatus: [Disconnected]
DeviceId: [BluetoothLE#BluetoothLEf0:18:98:6e:7a:e4-45:25:da:fb:57:86]

            Service - Guid: [00001800-0000-1000-8000-00805f9b34fb]
                    Characteristic - Guid: [00002a00-0000-1000-8000-00805f9b34fb]
                    Characteristic Data - Size: [16]
                    Characteristic Data - [HuntCode

in OpenDevice
std::wcout << "\t\t\tCharacteristic Data - [" << reader.ReadString(readResult.Value().Length()).c_str() << "]" << std::endl;

DataReader() ?

I have the WinRtBle running with my BLE device and it can write to the txService without problems. I have verified this by writing the command to turn off the device and it does.

So another command is to send a Query to the txService and get a reply back from the rxService. I've been trying to figure out how to create and run the DataReader but I'm going around in circles. Have you, by any chance, ever done that but just haven't put it into this code yet?

Ed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.