How do I refresh the list of adapters in C#?
Say the following happens:
List device and I see the device.
I unplug and replug in WITHOUT starting the software.
the device changes from: \\.\airpcap00 AirPcap USB wireless capture adapter nr. 00 to
\\.\airpcap01 AirPcap USB wireless capture adapter nr. 01
but the list of devices still seems to show: \\.\airpcap00 AirPcap USB wireless capture adapter nr. 00
How do I refresh the device to show the correct list?
Use WinPcapDeviceList.Instance.Refresh() or AirPcapDeviceList or LibPcapDeviceList to refresh the list.
Related
I was wondering if anyone knew of a way to add an iOS device and enable the 'Connect via network' option for an that device in Xcode without first connecting the device to the computer with a lightning cable.
My situation is that both of my USB ports are broken so I can't connect any device to my computer via a lightning cable.
By the way, wifi syncing is already enabled on my computer for one of my iOS devices, the one I'd also like to use for wireless debugging on Xcode. I don't know if that helps at all..
Unfortunately not, see the picture it must be found first in devices:
What type of computer is it? Potentially if you have a thunderbolt port, you could buy or even borrow a thunderbolt to USB adapter. I have one such for an iMac 2011 to convert thunderbolt 2 to usb 3. Any Mac from mid 2011 onwards including MacBook Air, pro or iMac should have it. I know it might sound expensive, but these days the adapters can be had cheaper.
Here is a link to the one I have on Apple Store and can confirm it works, and it might be useful anyway.
Kanex Thunderbolt to eSATA + USB 3.0 Adapter
And if after using it, you don't like it, Apple usually have a 14 day return policy.
I am working on bluetooth connectivity As I have to connect one hardware device (Like OBDii) but I don't know, how it is possible.
Hardware device(Which is attached to the vehicle) will send ATCommand and we need to have interpreted that command and device will display the full report to user related to that vehicle.
I quite aware that it is possible using android device but not sure about iphone. How it works and which framework will use for the same?
What specification/profile is required for that bluetooth hardware device ?
is that possible to communication with that ELD hardware device ?
First of all you need to connect your Device via Bluetooth to the OBD.
Apple Developer Bluetooth
When you have created the connection with another device (like obd) you can send and receive message (like Android i think).
The AT commands are for talk with the ELM327 and configure it:
AT SP 0 //Set protocol to AUTO
AT Z //Reset ELM and show version
etc etc
But for talk to the car you must use PIDs that are different to AT commands:
01 0C //Speed or rpm don't remember
01 0D //Speed or rpm
01 51 //Type of fuel
03 00 //show trouble code
Where 01 is Mode 1 (show real time data) and 03 is mode 3 (show
pending trouble code)
Pids and mode
On iOS, you will have to use a Bluetooth 4.0 compliant OBD2 adapter, as iOS does not support the serial Bluetooth 3 profile. The proper framework to use is CoreBluetooth, which is a pretty straightforward implementation of the Bluetooth 4.0 spec.
I'm using beaglebone black (Debian OS, MySQL are installed).
After unplugging supply power and not using 24 hours.
I can't start my beaglebone.
It's only birght LED D4 and power LED.
How can i start my OS?
I just try to use usb cable and access to beaglebone at 192.168.7.2. but request time out.
The most likely issue is that the operating system has become corrupted by the unexpected shutdown. The same thing can happen with a regular computer and has happened with my own beaglebone black when I pulled the power plug while testing some circuits. I would suggest trying to boot off of an SD card. If you have anything on there you want to save, you can use the live SD card OS to retrieve the data from the embedded flash. If the SD card also doesnt boot, then you may have a hardware issue and a serial to USB cable plugged into the debug header would probably be needed to try and get more information as to why it is not booting.
In order for adb to recognize my device LG G4 I needed to select USB tethering. With this setting on, I am unable to maintain a wifi connection. I am trying to do some testing with wifi and want to have access to the log.
I thought maybe I could use adb over wifi but I want to see logs for connecting and disconnecting to wifi, do once I disconnect from wifi I loose my log.
I have a Symbol PPT8800 that will not connect to Windows Mobile Device Center. It was working, I took it off the cradle, did a hard reset, and now it's not connecting. Is there a setting on the HH itself that is preventing the connection?
I have other Symbol PPT8800's that will connect in the same cradle without an issue.
There are a lot of possible sources for connection problems between a windows mobile handheld device and a PC running WMDC (ActiveSync).
use a known good USB cable
connect USB cable directly into PC and avoid USB hub
verify WMDC connects with another windows mobile device
disconnect handheld and reboot you PC and wait until PC is booted
before trying to connect
"Allow USB connections" has been deselected in WMDC Connection
Settings
sometimes the device setting "Enable advanced network functionality"
in Start/Settings/Connections/"USB to PC" has to be unchecked (or
checked).
the device has a corrupted registry and does not start the connect
(repllog.exe) or does not authenticate correctly. Do a clean boot or
wipe of the device to get the device back to factory defaults
I am sorry, but there are many possible issues that can cause a WMDC connection to fail. Recently I had the prob that after sleep/resume of my PC the USB hubs were in power save mode and I was unable to get device to connect to WMDC.
Does your PC do some 'boing' sound when you attach the USB cable to the device?
What does Hardware Device Manager show? Any exclamation marks?
EDIT: How to wipe a device?
You need to write either a small .net or c++ app using DMProcessConfigXML and the following wap provisioning xml:
<wap-provisioningdoc>
<characteristic type="RemoteWipe">
<parm name="doWipe" value="1"/>
</characteristic>
</wap-provisioningdoc>
[see also http://peterfoot.net/UsingRemoteWipe.aspx]
or use RapiConfig tool from Mobile SDK.
If both are not useable for you (is that running Windows Mobile or Windows CE?) or just restore factory default or reflash the device. If it is a device with Windows Mobile before version 5, you can just do a cold boot but delete any persistent folder first (ie Flash File Store or ???).
Factory restore of PT 8800:
hold white RESET button + POWER + FUNC