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 7870273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:34:13+00:00 2026-06-03T01:34:13+00:00

before I start I realize this issue has been raised before in this forum

  • 0

before I start I realize this issue has been raised before in this forum because I found the thread. However, the question was not answered.

I am building a system using iPhones as the worker machines. I phrase it like this because I want to place an emphasis on the phone not being some product of apple but as a piece of equipment which is either capable or not of performing a given task.

I have jailbroken both phones I am using and will use them exclusively to achieve a solution to the problem the system sets out to solve. My system will be used by me and me alone and so the issue of how Apple intended these devices to be used, the user experience etc is irrelevant to me.

Ok, having said all that I’ll briefly outline the system. Two iPhones, one with its guts in an electronics project box nailed above my front door, camera facing visitors. Other iPhone, intact and in my pocket. I have hooked pins 1 & 11 to the door bell button and alert the phone to its being pressed by monitoring the audio route change. I need an app on my pocket phone that will be woken by a notification sent by the door phone. The door phone will also send an image once I have accepted the notification on my pocket phone. There is no internet here at all, I do however have a wifi router to which both phones are connected.

So that’s the system, I have searched high and low to find code that can help me to get the door phone to generate a push notification and send it to my pocket phone, all I have found so far is this https://github.com/stefanhafeneger/PushMeBaby which is what I need only it’s written for mac not iPhone and I’m new to Objective C so porting is really hard.

Please could someone give me a hand to accomplish what I am trying to do, I know Apple didn’t intend for me to use its product like I am but then neither do a lot of manufacturers but hobbyists still manage to use them in ever more inventive and innovative ways irrespective. I am currently using a PC and a webcam to see who’s at the door and it uses a lot of electric, the new system is far better if only I can get it to work so please, please if you have the ability/knowledge to help me then post a reply and I will be eternally grateful. Thanks you, Richard.

  • 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-03T01:34:14+00:00Added an answer on June 3, 2026 at 1:34 am

    Pair the phones with Bluetooth using GameKit.

    Here’s an SO question about how to bluetooth pair two iPhones: How to use bluetooth to connect two iPhone?

    The easiest way is using the highly opaque GameKit. Here’s an Apple example app that achieves this: http://developer.apple.com/library/ios/#samplecode/GKTank/Introduction/Intro.html

    And from that example that snippet that sends packets (in TankViewController.m):

    - (void)sendNetworkPacket:(GKSession *)session packetID:(int)packetID withData:(void *)data ofLength:(int)length reliable:(BOOL)howtosend {
        // the packet we'll send is resued
        static unsigned char networkPacket[kMaxTankPacketSize];
        const unsigned int packetHeaderSize = 2 * sizeof(int); // we have two "ints" for our header
    
        if(length < (kMaxTankPacketSize - packetHeaderSize)) { // our networkPacket buffer size minus the size of the header info
            int *pIntData = (int *)&networkPacket[0];
            // header info
            pIntData[0] = gamePacketNumber++;
            pIntData[1] = packetID;
            // copy data in after the header
            memcpy( &networkPacket[packetHeaderSize], data, length ); 
    
            NSData *packet = [NSData dataWithBytes: networkPacket length: (length+8)];
            if(howtosend == YES) { 
                [session sendData:packet toPeers:[NSArray arrayWithObject:gamePeerId] withDataMode:GKSendDataReliable error:nil];
            } else {
                [session sendData:packet toPeers:[NSArray arrayWithObject:gamePeerId] withDataMode:GKSendDataUnreliable error:nil];
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Am using Mediainfo library in my C# project,before start invoking this dll,i just ran
I usually try to do TDD with not much analysis (no diagrams) before start
Before you start laughing at such a simple question let me explain: I am
Before you start marking this as a duplicate , read me out. The other
Before I start this may be hard for some people to understand. Sorry. I
So the teacher has posed this assignment: You have been hired by the United
I realize this question is similar to some others , but I figured my
Before start let me tell my experience: I am experienced with C#.NET, web services,
I want to get one record before start date and end date DtpFrom means
I am working on a Media up-loader which uploads images to Server. Before start

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.