wifi

从「林」开始: imx51-linux-rt3070ap-dhcpd

自古美人都是妖i 提交于 2020-03-02 17:02:47
/////////////// 从「林」开始: imx51-linux-rt3070ap-dhcpd///////////// ///////////////////////////////////////////////////////////////// // environment: // compile system:Ubantu 10.04 // target system: imx51 // resource: RT3070_SoftAP_v2.4.0.rar ltib --- L2.6.35_10.11.01_ER_source.tar.gz // cross compile: arm-none-linux-gnueabi- // ps : My English is the primary level(most of YouDao) -- Welcome Guidance // reference: http://blog.csdn.net/king_sundi/article/details/6158475 http://blog.csdn.net/linfeng999/article/details/6410224 ////////////////////////////////////////////////////////////////// ///////

ADB通过WIFI连接Android设备

戏子无情 提交于 2020-02-29 15:28:03
ADB通过WIFI连接Android设备 有些设备不支持WiFi调试,关闭了,那是没有办法的,我手上的几个手机都可以,但是同事的华为的手机就....... 通常情况下,我们都通过USB线连接Android设备,以此达到调试的目的,但是我相信你一定遇到过下面的问题。 USB线比较松的时候,ADB经常断开。 USB线容易绊脚,这个时候要么人摔倒,要么手机碎屏。 如果你的开发环境时Windows系统,当连接USB线的时候,QQ,360等程序会自动连接ADB,它们也会导致ADB断开。 那么有什么办法可以解决上面的问题呢?答案是肯定的,ADB支持USB连接模式和TCPIP链接模式。我们可以用TCPIP模式通过WIFI无线连接ADB。设置非常简单。 第一步 确保电脑和Android设备连接在同一个WIFI网络环境。 第二部 用USB线连接Android设备。连接上之后你的电脑就会检查到设备并且ADB将会以USB模式启动。可以通过adb devices命令检查连接上的设备,用adb usb命令确认adb是运行在usb模式下面。 1 2 3 4 5 $ adb devices List of devices attached 04bdc4c9252391b9 device $ adb usb restarting in USB mode 第三部 用adb tcpip模式重启adb 1 2 $

Android: Ask user to either enable wifi or quit app

試著忘記壹切 提交于 2020-02-22 07:43:50
问题 I'm developing a simple app that requires network connectivity to function. When the app starts, and if there is no wi-fi connection, I want to display a modal dialog to the user with two options: 1) Enable wifi or 2) Quit the application. The problem is that I can't find an android method that can be called to close the application if the 'close app' button is clicked. Is there such a method that I haven't found yet? Or is there some better way to handle this entire use case? 回答1: To check

Android: Ask user to either enable wifi or quit app

为君一笑 提交于 2020-02-22 07:42:46
问题 I'm developing a simple app that requires network connectivity to function. When the app starts, and if there is no wi-fi connection, I want to display a modal dialog to the user with two options: 1) Enable wifi or 2) Quit the application. The problem is that I can't find an android method that can be called to close the application if the 'close app' button is clicked. Is there such a method that I haven't found yet? Or is there some better way to handle this entire use case? 回答1: To check

Android: Ask user to either enable wifi or quit app

北战南征 提交于 2020-02-22 07:42:45
问题 I'm developing a simple app that requires network connectivity to function. When the app starts, and if there is no wi-fi connection, I want to display a modal dialog to the user with two options: 1) Enable wifi or 2) Quit the application. The problem is that I can't find an android method that can be called to close the application if the 'close app' button is clicked. Is there such a method that I haven't found yet? Or is there some better way to handle this entire use case? 回答1: To check

Android: Ask user to either enable wifi or quit app

心已入冬 提交于 2020-02-22 07:42:30
问题 I'm developing a simple app that requires network connectivity to function. When the app starts, and if there is no wi-fi connection, I want to display a modal dialog to the user with two options: 1) Enable wifi or 2) Quit the application. The problem is that I can't find an android method that can be called to close the application if the 'close app' button is clicked. Is there such a method that I haven't found yet? Or is there some better way to handle this entire use case? 回答1: To check

Arduino program running out of resources

我怕爱的太早我们不能终老 提交于 2020-02-06 11:28:29
问题 I reset the wifi shields firmware, following this tutorial. Could that cause any errors later, if not done correct? Edit2 I have still no idea where the problem could be. So i put my .ino file here. (it's compiled: 25.052 Bytes) I would be very pleased if someone could check if it's running on another environment, and report about it. I replaced the sensor by fake values, so you don't need to add any hardware. Just need to add your router ssid and the password on top of the sketch. If you

Arduino program running out of resources

旧城冷巷雨未停 提交于 2020-02-06 11:27:07
问题 I reset the wifi shields firmware, following this tutorial. Could that cause any errors later, if not done correct? Edit2 I have still no idea where the problem could be. So i put my .ino file here. (it's compiled: 25.052 Bytes) I would be very pleased if someone could check if it's running on another environment, and report about it. I replaced the sensor by fake values, so you don't need to add any hardware. Just need to add your router ssid and the password on top of the sketch. If you

Is there any way to access OS X wi-fi data using Python? (Signal strength, for example)

烈酒焚心 提交于 2020-02-01 21:46:12
问题 I am just curious whether it would be possible to use any Python tools to poll wi-fi signal strength in OS X. Most of my searches are just yielding Python tools for Linux, but none for OS X. If not, are there any other ways to get such data programmatically? 回答1: The answer to this question describes how to load the CoreWLAN framework. Once you've done that, you can use the CWInterface class to find the RSSI, amongst other stats: import objc objc.loadBundle('CoreWLAN', bundle_path='/System

How to make connection over WiFi when working with Gamekit?

江枫思渺然 提交于 2020-02-01 04:26:19
问题 I want to make connection between two devices over WiFi using GameKit. Apple's documentation says If an Internet connection is chosen, your application must dismiss the peer picker dialog and present its own user interface to complete the connection. This is what i do - (void)peerPickerController:(GKPeerPickerController *)picker didSelectConnectionType:(GKPeerPickerConnectionType)type { if (type == GKPeerPickerConnectionTypeOnline) { picker.delegate = nil; [picker dismiss]; [picker