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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:58:25+00:00 2026-05-17T15:58:25+00:00

Yesterday, I had programmed a simple Bluetooth network for my iPhone application. This morning,

  • 0

Yesterday, I had programmed a simple Bluetooth network for my iPhone application. This morning, when I tried to continue development, it suddenly wasn’t working on my iPod Touch 2G at all. It works just fine on the iPAD however. The problem arises when I try and set the availability of my GKSession object to YES on the iPod, having created a Server session. The console receives the following:

2010-10-05 14:28:55.762 Clusters[67:307] BTM: attaching to BTServer
2010-10-05 14:28:55.786 Clusters[67:307] <<< Session >>> +[GKBluetoothSupport _determineBluetoothStatus]: BT not available - try again later.
2010-10-05 14:28:55.862 Clusters[67:307] BTM: posting notification BluetoothAvailabilityChangedNotification

Now, I know that Bluetooth is turned on, and I know that it’s working because I downloaded a free Bluetooth transfer app to test that out. I’ve reset my iPod, cleaned my targets, poked and prodded at various parts of the code, but I just can’t find out why the app can’t create a Bluetooth server. It can create a Bluetooth client just fine, since the app can receive data sent by my iPad perfectly well.

Can anyone make any suggestions as to what might be happening here? I’m at my wit’s end.

  • 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-05-17T15:58:25+00:00Added an answer on May 17, 2026 at 3:58 pm

    Right, after working away at this all damn day with a million and one dead ends, I finally discovered the culprit. My ‘ping’ routine. As I guess most people will know, a network session needs to receive regular data or it will timeout and close itself. To prevent this from happening, I set up a simple routine to send a small packet of data (4 bytes) once every ten seconds to all peers. The problem? Using the [GKSession SendDataToAllPeers: withDataMode: error:] method will cause your server to bugger up right royally if there are no peers connected. For some reason, the vital check to see if anyone was connected at all was omitted. I solved the problem by placing a simple predicate in my ping routine like so:

    if ([[network peersWithConnectionState:GKPeerStateConnected] count] > 0) {ping code here}
    

    And once again it’s working. I can’t for the life of me remember this problem happening before, or why it shouldn’t happen on the iPad running on an earlier OS. I can only guess that some later update caused the issue. Anyway, all fixed now, and while my program is far from watertight I can at least now concentrate on getting the rest of it working.

    -Ash

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

yesterday you had taught me to query record history within a time range here
Yesterday I had a team leader of another team say that they took a
We had a bad day yesterday. One of our Domain Admins deleted an OU
I had telephone interview question yesterday. The interviewer asked me if I had faced
So I just started my first rails project yesterday. I had two many-to-many (has_and_belongs_to_many)
Yesterday, I asked this question and never really got an answer I was really
Yesterday, I discovered the Subversion (SVN) blame feature, and I was wondering, is this
Yesterday, I found myself writing code like this: SomeStruct getSomeStruct() { SomeStruct input; cin
Yesterday I wanted to add a boolean field to an Oracle table. However, there
Yesterday I was having a heated debate with a coworker on what would be

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.