Data count in COM-port - Windows Mobile Development and Hacking General

Can someone help me with the following:
I need to know if there is any API which I can use to get the number of bytes inside COMM port without reading.
The COMM is cellular modem created with TAPI, and I have the port handler.

Related

Help on TAPI...

Hi,
I'm trying (i'm a newbie :roll: ) to develop a simple program in c++ to display the signal strength in numbers, but I have some difficulties with the TAPI:
1)I initialize successfully the line with lineinitialize
2) I open the line successfully with lineopen
How do I understand if the device (they are 8, with 6 of them the TAPI can be initialized and the line opened) is the cell phone?
Thanks!
why not just use RIL or some AT commands ?

which com port can communicate with internal gsm modem?

someone can tell me which com port can communicate with internal gsm modem? I want to access the gsm modem through sending "AT COMMAND",In my XDAIIi I can,but x7500.why?
thanks in advance!
Depends on which you set up in GPS settings!
The standard setting is com5
thanks! but I'm not to access GPS. I want to access gsm modem by sending "AT COMMAND". In my XdaIIi, it's com2. in dopod 838,it's com9. but in Athena, I can't find the com port number. Someone can tell me why?

Promiscuous sniffing with Handy Sniffer on VOX

I have downloaded Handy Sniffer 1.6 Demo version to my HTC Vox/S710.
The WiFi hardware is: TNETW1251.
The handysniffer website quotes: Promiscuous mode for some TNETW1251 WiFi adapters.
So when i select extended mode it gives me the anomalies error, which seems to mean that the unofficial promiscuous mode is not supported.
When i enable the official promiscuous mode, it only sniffs local packets, not from other pc's. Why is that?
Hi Rubberducky,
I am developer of HS.
// Handy Sniffer
>> So when i select extended mode it gives me the anomalies error,
>> which seems to mean that the unofficial promiscuous mode is not supported
Is not YET supported,
Send your "Windows\tnetw1251.dll" file to me.
Maybe we will have a luck.
// ARP Spoof
Try to send "arp-req.bin"/"arp-reply.bin" (possibly edit some fields) example packets from "Handy Sniffer\raw" folder. Some built-in WiFi adapters permit sending of packets with foreign source MAC address (-> you can configure valid arp packet). On target host run e.g. WireShark sniffer or see current ARP table...
The file tnetw1251.dll doesn't exist in \Windows on my HTC Vox\s710.
It is possible driver has name "tnetwln.dll" but it is a system file (hidden) and I think it has ROM attribute. If you can extract it I'll ready to analyse it...
I would gladly try to extract it, only i have no idea how i would go about doing this...
Try the program from GreateVK:
http://forum.xda-developers.com/showthread.php?p=1571715
If you have success send me file to "[email protected]".
I'm having problems extracting the file. Rom Extractor seems to be developed for Pocket PC, i have a Smartphone.
But i'll keep trying.
If the extended mode would work in my VOX, would that mean that i can intercept all the packets on the network (Like ARP spoofing), or only packets that are sent to my device?
You can capture ALL USER packets an Access Point (re)transmits in network: broadcast, multicast, directed and with foreign DestMacAddr.
I sent you the file, and i'll also attach it here. Maybe other people need it too.
Here is the file
So? Is that all?

AT+ Commands with Serial Port, Help Please!

Hello all,
I am trying to write and application that opens a connection to the serial port, GPRS modem, and sends AT commands and receives any response.
I have a few questions;
1- I can open connection to 2 ports, named COM1 (or COM2 depending on the device) and COM9 (or COM3 depending on device). How can I be sure the device I am connected to is the GPRS modem?
2- When I try to write data, I have 2 results - first, device freezes without any response, and second, I get an IOException error.
Can anyone help me please?
I am using C# and Visual Basic .NET
Thanks,

Registered Virtual COM ports

Hi,
I am trying to create a virtual COM port using RegisterDevice(), to use the BT serial service on a WM device having MS stack (using btd.dll). I am able to successfully create a virtual COM port and write to it.
My question is this: Is there a way to find out if a particular virtual COM port (COMx) has already been registered using the RegisterDevice() call? I could not find it in the registry. The reason I want to know is that, I don't want to create a new virtual COM port, if one already exists.
Any help is appreciated.
Thanks.

Categories

Resources