wireless

Wifi socket communication with android phone

荒凉一梦 提交于 2019-12-09 13:52:55
问题 I would like to ask, how this wireless socket communicates with android phone? I am trying to buy a wireless socket, that I could control through my own code. These all wireless socket already has app developed for them. It is possible to get source code or know how to communicate with this wireless socket and control? 回答1: As mentioned, use Wireshark (or Shark for Root if you have an Android device that is rooted). That socket looks very similar to one Aldi Australia are selling (under the

Can iOS application use cellular internet connection while doing “Wireless Accessory Configuration” through WiFi?

余生颓废 提交于 2019-12-08 07:00:24
问题 Is it possible to access internet (using cellular) during WiFi device configuration using Apple's "Wireless Accessory Configuration" feature? This device would create the WiFi network and we would need to get data from the server while configurating the device. Specifications: Would iOS automatically use cellular to connect to the internet if there is no internet connection through WiFi? (But still keeps WiFi connection with device) Or is it possible to programmatically switch between

Processing incorrect mac addresses from 802.11 frames with pcap

浪子不回头ぞ 提交于 2019-12-08 02:06:09
问题 I'm working throurgh a project with pcap and wireless. Following an example posted in response to oe of my earlier questions I am trying to extract the mac addresses from wireless frames. I have created structures for the radiotap header and a basic management frame. For some reason when it comes to trying to output the mac addresses I am printing out the wrong data. When I compare to wireshark I don't see why the radio tap data is printing out correctly but the mac addresses are not. I don't

xserver didn't show result from Xsensor

这一生的挚爱 提交于 2019-12-07 23:14:11
问题 i have build the example Xsensor for 420cc then i plug it and put the sensor board on it, on other side for the serial board i build Xsniffer (TOSBase) to the mote that i need to put it on the 520MiP serial USB. To see the message send form mote 1 to the mote 2, i try to open cygwin terminal and type xserve -device=com4 then it open serial device but there is nothing display !! i have try to change the (TOSBase) by (XMeshBase) to see if this will be useful, but this mote with (XMeshBase) use

Closing WiFi connections using the Managed API

旧街凉风 提交于 2019-12-07 20:15:40
问题 I'm writing a program using the Managed WiFi API. Here's how I get all the networks in range: void UpdateNetworks() { networks = new List<Wlan.WlanAvailableNetwork>(); WlanClient client = new WlanClient(); foreach(WlanClient.WlanInterface iface in client.Interfaces) { Wlan.WlanAvailableNetwork[] nets = iface.GetAvailableNetworkList(0); foreach(Wlan.WlanAvailableNetwork net in nets) networks.Add(net); } } The problem is that after 18 calls to this method I can no longer connect: (0x80004005):

Getting essid via ioctl in ruby

China☆狼群 提交于 2019-12-07 15:22:30
问题 To avoid relying on the wireless tools I want to get the essid directly from the device with ioctl, in C this wouldn't be a problem, but in Ruby it's quite different. The problem is following struct from wireless.h that is used as input/reply of ioctl: struct iw_point { void __user *pointer; /* Pointer to the data (in user space) */ __u16 length; /* number of fields or size in bytes */ __u16 flags; /* Optional params */ }; The pointer part must be a valid address of a memory area, followed by

code for print from i-pad and which all print does it support [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-07 13:30:56
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I have two questions in my mind: Is there any tutorial or demo code available to print via a printer on wireless network, from iPad?

How does iwlist() command scans the wireless networks?

不打扰是莪最后的温柔 提交于 2019-12-07 02:17:14
问题 I want to know how iwlist command scans the wireless networks available, in linux. I read its source code and there was an ioctl call using SIOCSIWSCAN to trigger the scan and SIOCGIWSCAN to get the scan results. But how the beacon frames are captured and analyzed by these system calls? 回答1: iwlist(8) and the other wireless tools provide a common front end to different wireless device drivers that support Linux Wireless Extensions (WEXT). Each driver will register handlers with WEXT that

Hexagonal grid representing a cellular network as used in mobile communication systems

大兔子大兔子 提交于 2019-12-06 11:12:19
I am relatively new to Matlab and I want to generate a hexagonal grid that represents a cellular network where each hexagon has a specific behaviour. My question is how does one go from a square grid to hex grid (transfer matrix)?. This is what I have so far. [X,Y] = meshgrid(0:60); figure(1), plot(X,Y,'b') hold on, plot(Y,X,'b') axis square A few years ago I wrote some code to do just that: %// Define input data: close all clear all M_max = 14; %// number of cells in vertical direction N_max = 10; %// number of cells in horizontal direction trans = 1; %// hexagon orientation (0 or 1) %// Do

Processing incorrect mac addresses from 802.11 frames with pcap

ⅰ亾dé卋堺 提交于 2019-12-06 10:17:04
I'm working throurgh a project with pcap and wireless. Following an example posted in response to oe of my earlier questions I am trying to extract the mac addresses from wireless frames. I have created structures for the radiotap header and a basic management frame. For some reason when it comes to trying to output the mac addresses I am printing out the wrong data. When I compare to wireshark I don't see why the radio tap data is printing out correctly but the mac addresses are not. I don't see any additional padding in the hex dump that wireshark displays when i look at the packets and