CWInterface ad-hoc network on 5GHz channels
CWInterface ad-hoc network on 5GHz channels
- Subject: CWInterface ad-hoc network on 5GHz channels
- From: Carl Hoefs <email@hidden>
- Date: Wed, 12 Nov 2014 11:54:04 -0800
- Importance: Normal
OS X 10.9, iMac
When I assert an IBSS ad-hoc network programmatically, it works fine when
the channel number is from 1 - 11. However, if I attempt the same code
with any of the channels 36 40 44 48 52 56 60 64 100 104 108 112 116 120
124 128 132 136 140 149 153 157 161 165 it doesn't. There is no indication
of any error or failure, but no ad-hoc network is established. What am I
doing wrong?
-Carl
NSLog(@"Interface: %@",[CWInterface interface ]);
NSError *error = nil;
BOOL success = [[CWInterface interface ] startIBSSModeWithSSID:
@"MyAdhocNet"
security:
kCWIBSSModeSecurityWEP104
channel: channel
password: password
error: &error ];
NSLog(@"Status: %@",error);
if ( success ) {
return [ self waitForIPaddress ];
}
Interface: <CWInterface: 0x1004008a0> [interfaceName=en1]
Status: (null)
Return value: TRUE
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden