PeerFinder.Start() - c#

I'm investigating how the PeerFinder.Start() works on WP8 when I try to connect to an app-to-app scenario via Bluetooth. Anyone knows any method I record and decode this Bluetooth traffic emitted by my devices?

There's no built-in way to record Bluetooth traffic on a WP8 device. I'm aware that's an option on Android, but it's not supported on WP8. I don't see why you'd need to do bluetooth profiling for phone-to-phone communication. If you're trying to do phone-to-device communication you'll need to the communication protocol spec of the packets expected by the device.

Related

Bluetooth Call Receive with 32feet.net and c#

I need to perform two task in c#
1) with USB cable
2) with Bluetooth
i want to dial and receive calls from smart android mobile. Mobile can be connected with USB cable or Bluetooth. I can dial and receive calls using USB cable by AT commands. Android mobile is connected as USB GSM Modem (Virtual com port). AT+CLIP=1 give a number information along with RING when someone is calling. So i can attend call by viewing a specific number. This part is working Well.
The second part is same thing with Bluetooth. I used 32feet.net for dialing a call. I am able to make a call after going through these forums links
Bluetooth dial with 32feet.net and c#
Bluetooth communication from PC to mobile phone, use laptop speaker and mic during voice call
Get Data from Bluetooth device in C#
now i am not able to get any information when anyone is calling on Bluetooth
i am using hand free profile as using serial port i get an error may be my mobile not support Bluetooth virtual com port.
can anyone point out me how i can get information that which one is calling or invoke some function when anyone call. I need to get a number which one is calling that help me in decision to accepting or rejecting a call.
Bluetooth: use HandsFree Profile. It runs RFCOMM control channel that allows your application to place a call, handle incomming calls, 3-way calling and other things using AT commands (HFP is well documented so you can find all the commands in its specification). However Windows standard Bluetooth driver from Microsoft does not support connection to HFP Audio Fateway. You can do it with BlueSoleil only.
USB: There is no USB HFP profile. Android supports only DUN through USB so it can act as USB GSM Modem only and supports only modem commands. No voice and no other commands.

iOS Simulate GPS

I would like to use C# to broadcast position data over bluetooth to an iPad to simulate an external bluetooth receiver. I am assuming it will be sent as NMEA data however I cannot find a specification for iOS that provides for how to send position data to be considered as an external GPS (Example: BadElf etc).
Thanks!
The BadElf products are MFi certified - this means that they include an Apple identity chip that allows them to work with the External Connectivity framework and legacy Bluetooth (probably Serial Port Protocol). You can't emulate this hardware.

Mobile remote program

I'm writing a mobile remote program that the mobile's touch screen will be the remoted computer mouse. I'm using android for mobile and C# for server side programming.
Question:
How can I establish a data connection between a mobile phone and
computer that passes mouse position continuously without stopping?
I found 32feet.net that is free class library about Bluetooth but I couldn't solve my problem.
Thank you in advance.
You have to establish a client server connection and send information through a bluetooth socket.
Therefor you need a C# Bluetooth API or if it doesnt exist you write your own with sockets.
What would make your life easier i think is to use Java instead of C# for the server side as android uses Java, thats my opinion.
But i suggest you read more about how the Bluetooth protocol works with android and C#
Here are 2 links that will probably help you get started.
C# and Bluetooth Programming
http://developer.android.com/guide/topics/connectivity/bluetooth.html
I hope that helps you.

API to connect Symbian OS device

I need to connect the Symbian OS device and communicate with files. Is there any api or dll to connect device to do this? I need to back the contacts,photos and other possible files.
Connect how? Packet data, USB, Bluetooth? With Bluetooth there's the OBEX API - it can be used via USB as well, but there are probably more quirks with getting it to work.
If you are using Qt, you can do this with QBlueToothTransferManager.

C# - SIP Control

Ok, I have a VOIP Phone. I know the IP address and the port of the phone and have full access to the phone, which I am using to make SIP calls via a SIP trunk.
I basically want to see what is going on on the phone at any given time and I don't know where to start.
If I started, initially, using Wireshark what type of network traffic would I need to look for?
Could I use Putty and view activity on the phone that way?
What part of the .Net framework would provide functionality for interfacing with a VOIP phone?
Thanks
(Most) VOIP phones uses UDP communication, so you would use the UDP functionality in .NET. This can be raw sockets or the UdpClient class, which is a nice starting point.
You can look in Wireshark for UDP communication that has the phone IP as endpoint. You should try to get the network protocol documentation for your specific protocol/phone, or it is likely to take you a very long time to deduce the messages you need to send.
Wireshark has a built-in SIP processor
According to http://www.splicecom.com/document-area/doc_download/272-maximiser-protocol-a-port-information-for-ip-networks they have several protocols providing different information which you can access to achieve what you describe.
Another option is to use the the TAPI provider they offer to access the information you want.
Some starting points for TAPI via .NET:
http://www.codeproject.com/KB/IP/devangpro.aspx
http://www.codeproject.com/KB/dotnet/CShart_TAPI_3x.aspx
http://www.codeproject.com/KB/IP/Video_Voice_Conferencing.aspx
http://msdn.microsoft.com/en-us/library/ms734214.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms734257%28v=vs.85%29.aspx
Another option is to build a SIP proxy which allows you to do all sorts of things including the things you described:
http://www.codeproject.com/KB/cs/SIP_stack_with_SIP_proxy.aspx
http://sipsorcery.codeplex.com/
http://www.independentsoft.de/sip/index.html
http://www.konnetic.com/products/products_sip_sdk_std.aspx
http://www.voiceelements.com/Products/VEToolkit.aspx

Categories