Rick, Just to confirm the steps in the ios code: 1. Init the cbcentralmanager 2. Confirm that you get a poweredon message in the disupdatestate delegate 3. Start scanning for peripherals 4. Retain the peripheral that you want to connect to by assigning it to a property for example. 5. Initiate connection to the peripheral. If this is the same for you, try to use a sniffer (ti packet sniffer for ble costs 50 $) to reveal what's being sent over the air. Etan On 04.11.2012, at 09:34, "Rick Mann" <rmann@latencyzero.com> wrote:
I seem to be unable to connect to my peripheral. A free app in the AppStore, BLE Scanner, connects, but I don't. After a long time (perhaps when I kill my peripheral app?), I get that 1309 in my Central app.
-- Rick
On Nov 4, 2012, at 1:32 , Kelvin Kakugawa <kakugawa@gmail.com> wrote:
It's being generated by the underlying BLE process (that we don't own). Those error codes aren't exposed and they *seem* to have changed between 6.0 and 6.1.
On Sun, Nov 4, 2012 at 1:02 AM, Rick Mann <rmann@latencyzero.com> wrote: I'm getting Error connecting to peripheral: Error Domain=CBErrorDomain Code=0 "Unknown error."
Any ideas?
-- Rick
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/kakugawa%40gmail.com
This email sent to kakugawa@gmail.com
-- Rick
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/kissling%40oberon.ch
This email sent to kissling@oberon.ch
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Etan Kissling