Search found 3 matches

by wivku
September 30th, 2018, 4:19 am
Forum: Feature/Function Requests
Topic: ergdata support for iOS Shortcuts
Replies: 0
Views: 1960

ergdata support for iOS Shortcuts

World be great if ergdata could support iOS 12’s Shortcuts. This so I can create a shortcut that e.g. sets the phone to do not disturb, start music playlist, start ergdata. Currently when I use the action “open app” many apps are listed but not ergdata. In addition, would be nice if there is support...
by wivku
August 9th, 2015, 12:13 pm
Forum: SDK Questions
Topic: Weird Values from BT LE
Replies: 4
Views: 4887

Re: Weird Values from BT LE

The Hi * 65536 + Mid * 256 + Lo is fine, but specific for hi-mid-lo. In another situation it could be you have 2 bytes (LSB,MSB). Similar to horseshoe7's answer, in Swift: var testdata = NSData(bytes: [234,123,0, 33,11,0] as [UInt8], length: 6) // example: first 6 bytes from 0x0031 var elapsed: Int ...
by wivku
June 26th, 2015, 1:11 pm
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20337

Re: iOS Development

Thanks Rob, very useful! I am starting to learn Swift (and talking to my PM5 using BLE) and using your hints I have indeed been able to discover and connect to my PM5. Would you / anyone happen to have e.g. a complete class, so that I don't have to manually create all the UUID's and functions to rea...