robotastic / ANCS-Library

Library to handle ANCS notifications with an AVR and Nordic's nrf8001
53 stars 8 forks source link

Can't see Device in iPhone Settings #11

Open cr1s3c opened 9 years ago

cr1s3c commented 9 years ago

Hi,

I'm using an iPhone 6 with iOS 9 beta 4 and an Arduino Pro Mini (5V, 16Mhz) with an Bluefruit nRf8001 Bluetooth modul. I uploaded this sketch:

include "lib_aci.h"

include "SPI.h"

include "EEPROM.h"

include "notif.h"

Notif notif(2,10);

void setup() { Serial.begin(9600); notif.setup(); notif.set_notification_callback_handle(ancs_notifications); notif.set_connect_callback_handle(ancs_connected); notif.set_disconnect_callback_handle(ancs_disconnected); }

void loop() { notif.ReadNotifications(); } void ancs_notifications(ancs_notification_t* notif) { Serial.println('1'); } void ancs_connected() { Serial.println('2'); } void ancs_disconnected() { Serial.println('3'); }

but I can't see the Device in my iPhones settings. If I upload the Nordic example sketch I can bound the devices but I can't receive any notification on the Arduino. Hope you can help me

killer30001000