Search found 12 matches

by Piboo
April 13th, 2016, 5:02 am
Forum: SDK Questions
Topic: Get distance remaining by BLE
Replies: 1
Views: 3820

Re: Get distance remaining by BLE

Nobody can't help me?
by Piboo
April 7th, 2016, 5:14 am
Forum: SDK Questions
Topic: Get distance remaining by BLE
Replies: 1
Views: 3820

Get distance remaining by BLE

Hi,

I want to get the distance remaining on my app by bluetooth but I don't which address to listen.
When I set up 2000m on my PM5 I can't display it.


Thanks for your help,

Regards
by Piboo
April 7th, 2016, 5:12 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

Re: iOS Development

Hi jessecurry,

Thanks for your work.
One question, what is the service's address to listen to get data when you set up a distance (example 2000m) on my PM ?
I can get data when I start rowing (so from 0m to XXm) but I can get the inverse (the decount of meters).

Thank you for your help,

Regards
by Piboo
September 5th, 2015, 4:53 am
Forum: SDK Questions
Topic: Rest Distance & Elapsed Time
Replies: 0
Views: 3708

Rest Distance & Elapsed Time

Hi, I have a problem with getting the value of Rest Distance & Elapsed Time in SWIFT (iOS). I get the values from CBUUID(string: "CE060032-43E5-11E4-916C-0800200C9A66") but the values assigned to Rest Distance & Time are empties. Where am I doing wrong please ? This is how I get my values: class fun...
by Piboo
July 31st, 2015, 12:50 pm
Forum: SDK Questions
Topic: Weird Values from BT LE
Replies: 4
Views: 4887

Re: Weird Values from BT LE

Hi,

You receive a byte array from PM5 so Lo, Mid and Hi corresponds to a byte hence 8 bits.

So you must rebuild your elapsed Time value like this:
elapseTime = Hi * 65536 + Mid * 256 + Lo

The results is in 0.01s

You can find some good explanation about byte / bits conversion.

Regards
by Piboo
July 21st, 2015, 4:30 pm
Forum: SDK Questions
Topic: Bluetooth Implementation
Replies: 4
Views: 4236

Re: Bluetooth Implementation

Thank too for the details !! Very useful. One other question: I'm trying to define the distance on my iPhone and to display it on the PM5 like doing 2000m. I want to set it up on the PM5 and start the decreasing of the distance. On which adress must I have to write ? How to write data from iPhone to...
by Piboo
July 11th, 2015, 10:15 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

Re: iOS Development

don't consider my last post... :p
by Piboo
July 11th, 2015, 3:04 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

Re: iOS Development

Why did divide by 10 the distance ?
It's said that is 0.1m so it's already in meter no ?
by Piboo
July 11th, 2015, 3:02 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

Re: iOS Development

Sorry for the delay. Lot of work these last days. I will test it today and tell you. As u said I don't know why with CBAdvertisementDataLocalNameKey it's not working. I will use your method. Concerning get back the data I already write it in another class RowerTag like this (not tested): class func ...
by Piboo
July 7th, 2015, 7:43 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

Re: iOS Development

Thank you for your rapid answer. I already implemented the CBCentral variable in my viewDidLoad. I did too for the centralManagerDidUpdateState. Maybe my problem come from: let nameOfDeviceFound:NSString = (advertisementData as NSDictionary).objectForKey(CBAdvertisementDataLocalNameKey) as! NSString...
by Piboo
July 7th, 2015, 6:22 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

Re: iOS Development

Hi, Thnak your very murch for these answers. I didn't see the notifications. We had the same approach since my first mail but I can't discover yet the rower. var rowingTagPeripheral:CBPeripheral! func centralManager(central: CBCentralManager!, didDiscoverPeripheral peripheral: CBPeripheral!, adverti...
by Piboo
April 8th, 2015, 6:13 am
Forum: SDK Questions
Topic: iOS Development
Replies: 24
Views: 20354

iOS Development

Hi, I'm new on this forum and also new as a computer software. I'm trying to develop an application like ergdata for iPhone but the documentation is quite horrible and the firm doesn't answer to my questions about it. So I would like to know if someone are developing on this platform and would be gr...