Particle.io flasher not seeing Electron in DFU mode - particle.io

This is probably a USB drivers problem:
Particle.io Electron board is in DFU mode (shows blinking yellow LED)
USB connection to Win7
particle tool does not see Electron, even after unplugging and re-plugging in the device's USB cable. Reports the following:
$ particle update
!!! I was unable to detect any devices in DFU mode...
Your device will blink yellow when in DFU mode.
If your device is not blinking yellow, please:
1) Press and hold both the RESET/RST and MODE/SETUP buttons simultaneously.
2) Release only the RESET/RST button while continuing to hold the MODE/SETUP but
ton.
3) Release the MODE/SETUP button once the device begins to blink yellow.

solution: need to point Windows at the correct USB driver
https://community.particle.io/t/tutorial-installing-dfu-driver-on-windows-24-feb-2015/3518

Basically the particle Electron 2G should be free from any network restrictions. If it doesn't work in safe mode then completely reset the device --> put the device in safe mode -->then back to DFU mode by installing the driver and continue your work. Use particle workbench for feasibility and a better understanding of device connectivity.

Related

ipad does not properly recognize mirroring to mac

I want to share a note in Notability app on my ipad as a white board for an online Zoom lesson.
For that I connect my ipad to my mac through cable, and mirror my ipad screen to my mac using the Zoom application's option of share of ipad via cable.
The ipad's screen is mirrored, namely, appears on my mac (usually, sometimes it doesn't and I have know idea why). However, the ipad's Screen Mirroring window (accessed via the ipad's control center) is stuck in a weird intermediate state: it keeps thinking and does not show any devices, but does show a Stop Mirroring button. In addition, Notability app in the ipad does not recognize the mirroring and does not enable the new presentation mode (but rather keeps showing the Send-to button instead of the display-mode button). For some reason, the mirroring occasionally does work fine, but usually it doesn't, and I cannot replicate what causes it to work.
How can this be fixed?
(My mac, ipad and notability are all updated: versions 10.15.4, 13.4, 9.3.1 respectively.)

I want to my computer to be perceived by the iphone as an external keyboard

I want to my computer to be perceived by the iphone as an external keyboard. For example, I connect an iphone to a computer via a lightning cable and run the Pages on the Iphone and my computer starts sending text via the lightning cable and this text is displayed in the pages. The question. What can I read about it?
Already answered here.
What you are looking for is to use your Mac/PC keyboard for inputing text in your iOS devices, which is pretty reasonable since iPhone’s relative small screen doesn’t make for a great keyboard.
This can be done and there are quite a few apps to achieve what you want. You download the app in your PC/MAC and they all work by presenting the hardware keyboard as Bluetooth keyboards, then the iOS device seamlessly connects to it. For example http://www.acrosscenter.com/ or https://www.houdah.com/type2Phone/.

in software level , Is there any way to touch screen iOS device without xCode-instruments or jail-breaking?

I am using x-Code instruments command-line tool for automated-testing iPhone4 or etc..
But instruments is allowed to used only debugging specified App.
and VNC requires jail-breaking
Is there any way to touch screen ( in software level ) iOS without xCode-instruments or jail-breaking?
No. Even with a jailbreak, sending touches to an iOS device remotely is hard.

iOS simulator showing black on 3/4 of screen

I tried several apps running in fresh install (yosemite) of Xcode 6.3 simulator but all of them displays only on first 1/4 of simulator screen.
I changed scaling - did not help.
All devices have this problem.
On another mac the apps are displaying in simulator correctly.
Here the screenshot from simulator:
I frequently have this issue with a VMWare OSX development machine I'm using to develop iOS native apps. From what I've seen it is related to the Window > Scale menu option being set to something different than 100% from a previous launch that messes around all the subsequent initialization phases.
To get rid of it, try doing this:
Exit from VMWare full-screen mode, switching to windowed mode instead.
launch iOS Simulator using its stand-alone shortcut (not from XCode) and wait until it finishes loading/booting the default device.
go to Window > Scale and set it to 100%.
go to iOS Simulator > Reset contents and settings... and click OK.
close and reopen the iOS Simulator using its stand-alone app (not from XCode).
As soon as you see it loading without the glitch, you can switch back to VMWare full-screen mode and also use the Window > Scale as you like.

Bluetooth icon stays white?

I am working on an iOS app which uses Core Bluetooth. When the app gets SIGKILL-ed, the Bluetooth icon on one device stays white, even though it isn't connected to anything. When I next run the app, that device has problems connecting to the other device.
How do I "refresh" the connections? Or is there a way to cancel connections before the SIGKILL?
(The devices have to stay connected even when the app is in the background)
As an experiment you can try to retrieve the connected devices with the retrieveConnectedPeripherals method. If the device you are trying to connect is in the connected list, then it may be possible to start using it again.
Also, try to forcefully disconnect the other device by removing the battery or turning it off. If the connection stays there, then this is definitely a bug.
This is most probably an iOS bug or some optimization that is implemented only for handling connections between i* devices. I don't know of others having this issue, neither did I stumbled upon it but in these cases it is best to report it to Apple at the same time with as much info as you can provide (https://bugreport.apple.com/) You should try with newer iOS versions as well to see if it still exists.

Resources