2017년 10월 21일 토요일

Android WIFI Debuging

Today we talk about Android WIFI debugging.
iOS has recently provided WIFI debugging, but Android has been around for a while now.
For debugging, the development PC and smartphone must be in the same network.
How to set it is as follows.
Navigate to the folder where adb is installed and open the Window Command window in that location.
adb -d tcpip 9999.
Then the following message appears.
restarting in TCP mode port: 9999
Next, obtain the local IP of the smartphone to be debugged.(You can easily get information by installing a tool to get WIFI information from Google Play.)
Once you have obtained the IP, type Command as shown below.
After typing adb connect XXX.XXX.XXX.XXX:9999, the following message is displayed and the connection is successful.
connect to XXX.XXX.XXX.XXX:9999
How to verify your connection
If you type adb devices, you can check the list.
List of devices attachedXXX.XXX.XXX.XXX:9999 device
Finally, the way to turn debugging connected with WIFI back to USB is as follows.
adb -s XXX.XXX.XXX.XXX:9999 usb
Feel free to develop and develop wireless ^^

2017년 10월 19일 목요일

BDRouter.Window.Client (Software Packet Router)

Good morning.I am developing a packet router tool.The name is called "BDRouter".The purpose is to route packets to and from the client / server socket programmingWe are writing to facilitate development.(As a client developer, I started to write and write to be in a bad position on the server.)It is not a tool to make a manual, but a simple usage method.







When the program is installed and running, the above screen appears.
"New Session": Create a new router session.
"Recently used Session": The newly created router session is managed as a list in the combo.
"Open Session": Opens a router session that was created and used.
"Change Session": Modify information about the created router session.The most important thing is how to create a router session.





When you press "New Session", the above screen appears.
Route Name: Specifies the name for the route session.In the combo, you can name the items managed by the list.(For example, MobileServer01: 14000)
Host Name: Enter the IP address. (Currently only IP4 addressing scheme and domain address are supported.)
Target Port: Enter the port number of the real server.
Route Port: Enter the port number to open on your
PC.Packet Size: Specify the size of the packet to be routed. (If you specify 0, there is no restriction.)Log File: Saves the hexadecimal log file continuously.
Target To Rotate Delay Time: Delays the packet coming from the server by a specified time delay.
Route To Target Delay Time: Delays the outgoing packet by the specified time.Is not it difficult? ^^After entering the basic information and creating a router session, the following individual session window will be created.



The above screen is a screen when a client is connected to a server and a basic packet is exchanged.There are four major screen configurations.

Packet List Window: Lists the packets sent and received.
Connected Clients Window: This is a list of currently connected client information.
Packet Data Window: Displays basic information and packet details (hexa).The packet list window provides the right pop-up menu as shown below.

"Copy Packet To ClipBoard" Copies the packet of the item to the clipboard.

"Show Packet in MiniView" Displays the packet of the item in mini view.
"Save Packet in Text File" Saves the packet of the item as a text file.
"Save Packet in Dat File (Binary)" Saves the packet of the corresponding item as a binary file.The Packet Data window provides the following popups on the right.



Copy all data to the clipboard in the

"Full Copy ClipBoard" window.
"Block Copy ClipBoard" Copies only the selected data to the clipboard.Finally, the status bar in the packet data window shows the total amount of packetsDisplays the number of connected clients.
The "Flow" button is used to continuously flow or stop the data window.(Auto scroll continuous / stop)
"Full Log" shows all data including the hex data, or only the listToggle button.You can get the installation file from below.
 Ver 1.0.0.1.
  1.0.0.1 Changes
   - WebPage Link Error Fix
   - Install Change License English

  1.0.0.2 Changes
   - Packet List ClipBoard Copy Bug Fix

  1.0.0.3 Changes.
   - After installing 64bit OS or above, there is an error related to DEP (Data Execution Prevention)
Changed the installation location from ProgramFiles to User Directory.

  1.0.0.4 Changes.
   - web domain Connect Support
   - IPV6 Network Connect Support

  1.0.0.5 Changes.
   - Fixed the problem that connection is not disconnected when session window is closed.
   - Bug fix when session window is closed and regenerated

  1.0.0.7 Changes
   - Fixed a bug that dropped packets immediately after connecting.
   - Fixed UI bug when session is on / off
  1.0.0.8 Changes
   - Correct abnormal termination upon reconnection after client session termination.
  1.0.1.0 Changes
   - Abnormal termination correction at the end of the connected client session.
  1.0.1.1 Changes
   - Add donation button.
  1.1.0.3 Changes.
   - Add App Auto Update (Check App Last Version)
   - Improved left list view performance.
   - Changed save session list combo size.
  1.1.0.4 Changes.
   - Added system log activity check.
   - Internal logic improvements.

BDRouterSetup.exe