Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7976567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:56:30+00:00 2026-06-04T08:56:30+00:00

I am currently working on a project involving interaction with Bluetooth Low Energy tag

  • 0

I am currently working on a project involving interaction with Bluetooth Low Energy tag and iPhone. I want to know how I could register a key pressed on the bluetooth tag on the iPhone.
i.e When a user presses a key on the tag, the app on the iPhone should be able to recognize and perform a certain function (say emit a sound).

I am using a Texas Instruments 2540 tag and was referrring to their sample code. In their code,

A key press notification has to be enabled.
When a key is pressed on the tag, the corresponding service and characteristics UUID value gets updated.
In the app, the ‘didUpdateValueForCharacteristic” delegate method gets called and appropriate functions can be called.

However, the company designing the bluetooth tag insists that a service be created on the iPhone app (iPhone acting as a Bluetooth server) and the bluetooth tag will alert the iPhone acting as a client.

My code excerpt is

define Key_Press_Notification_Service 0xFFE0
define Key_Press_Notification_Characterisitc 0xFFEA

-(void) enableButtons:(CBPeripheral *)p
{
[self notification: Key_Press_Notification_Service characteristicUUID:Key_Press_Notification_CharacterisitcUUID p:p
on:YES];
}

//
-(void) notification… Method

// – (void)peripheral:(CBPeripheral *)peripheral didUpdateValueForCharacteristic.. Method

Can you help me on whether this is possible ?
And how I could register a key pressed from the BlueTooth tag to be identified on the iPhone ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:56:32+00:00Added an answer on June 4, 2026 at 8:56 am

    Manjua,

    Once you have your peripheral and forCharacteristic:characteristic you just need to enable the notifications:

    // begin notification for the characteristic.
    [peripheral setNotifyValue:YES forCharacteristic:characteristic];
    

    You then use your CBPeripheralDelegate to receive the updates:

    - (void)peripheral:(CBPeripheral *)peripheral didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a project for the iPhone that requires accessing a
I'm currently working on a project involving a form generator. The user can switch
I'm currently editing a working project with some experience on PHP. I know a
I am currently working on a project involving the Lucene library within C# however
I'm currently working on a project involving saving/loading quite big MAT files (around 150
I am currently working on a project involving manipulation of binary images on pixel
all! I'm currently working for a project involving deploying netbooks to the villages for
I am currently working on a small ASP.NET project involving authentication of users against
I am currently working on a small ASP.NET project involving authentication of users against
I am currently working on Project Euler for fun, and use Haskell for practicing.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.