This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

sms and email notification to bluetooth LE via alert notification service

Other Parts Discussed in Thread: CC2540

Hello,

          I am having a cc2540 BLE dongle acting as peripheral/slave and an iPhone4s acting as central/master.The dongle gets connected to iPhone4s and the the iphone is able to read/write data to the dongle(peripheral/slave).Now i want to send a notification to the dongle when a new sms/mail arrives in iPhone.Should i use the alert notification service for this purpose.If so the how do i use it to send the notification regarding new sms/email.Any help would be appreciated.

Best Regards,

Anirban

  • Hi Anirban,

    You can use whatever means you want, but the Alert Notification Service (Spec, Overview) is used by the Alert Notification Profile, which is a SIG adopted profile and is intended for this purpose.

    We do not have an example implementation of this, but you can implement it yourself. The easiest way is to modify the simpleGATTprofile included in SimpleBLEPeripheral, and simpleBLEperipheral itself.

    Best regards,
    Aslak 

  • Hello Aslak,

                         I have done some googling on the web and i found that using message access profile(MAP) it is possible to send notifications for sms and email to the smart BLE watch from the iPhone.Can you please suggest how can i use MAP to detect and send notification to my BLE watch when a new sms or email arrives in my iphone4s

  • Hi Anirban,

    I can't really help you on the iOS side, perhaps a iOS developer forum is more appropriate for that.

    I see now that we do have an implementation of the Alert Notification Service in our example application TimeApp (<stack install>\Projects\ble\TimeApp). The intended use is described in the spec documents I linked earlier, and a short description of the example is included in the Sample Applications Guide included with the stack install.

    On our wiki page, there is a iOS app example you can look at. In a few weeks we will release an updated BLE connectivity framework for iOS.

    Regarding MAP, this is not a GATT based profile, but an old BT profile. http://www.bluetooth.org/Technical/Specifications/adopted.htm.

    Best regards,
    Aslak 

  • Is the TimeApp code open? If yes, where can I find it?