• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bluetooth LE losing indicated values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bluetooth LE losing indicated values


  • Subject: Bluetooth LE losing indicated values
  • From: Eric Nielsen <email@hidden>
  • Date: Mon, 02 Jul 2012 14:06:46 -0300
  • Importance: Normal

Hello.
 
I’m using iPhone 4S to communicate with Bluegiga’s BLED112 (USB dongle). BLED112 is acting as server, having one indicated characteristic value which the iPhone, as client, receives as is updated. I’ve programed the server side to first send a connection_update command with interval_min and interval_max of 20 ms and 40 ms, wait for new connection_status event, then write to the value once, and then write new values after receiving attclient_indicated events.
 
At the server side, every new value sent is logged, and at the client side, every value received is also logged. What happens is that for each 2 values sent, iPhone receives only the first one. Or, looking at the server side, for each value iPhone receives, it looks like it is sending two value confirmations. Or, iPhone is losing every other packet. When the server sends the connection_update command, it receives the new connection properties only at the second connection_status event, so I’m gessing iPhone sends its responses twice... How do I solve this?
 
Also, my tests showed that iPhone receives a maximum of 20 bytes per value -- larger values got truncated. Is that correct?
 
Kind regards,
Eric Nielsen
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bluetooth LE losing indicated values
      • From: David Murphy <email@hidden>
  • Prev by Date: Shorten the active time when app wakes up in background
  • Next by Date: Re: Shorten the active time when app wakes up in background
  • Previous by thread: Re: Shorten the active time when app wakes up in background
  • Next by thread: Re: Bluetooth LE losing indicated values
  • Index(es):
    • Date
    • Thread