Receiving broadcast in Windows 10 phone - windows

I've got a Windows 10 based Mobile phone and want to receive a broadcast UDP packages send by a esp8266 breadboard. My mobile phone and esp8266 board are not connected to any wifi network or router so both have a fixed IP-addresses which can be completely different like: Mobile Phone => 10.0.0.1, esp8266 board => 192.168.1.1. The both have to communicate directly without a wifi-router.
Does somebody made this work or can tell me how get this working.
Regards, Wamor

You could set the esp8266 up as an AP (access point). This allows you to connect to the esp8266 from your phone like you would to a wifi router.
Check out https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/example-sketch-ap-web-server for a tutorial on how to do this.
Another useful link to a project that is similar to yours:
https://www.hackster.io/rayburne/esp8266-access-point-using-arduino-ide-19f632

Related

Read/Send sms from wifi modem in c#

I have modem which is work on browser as wifi and when i connect to pc it becomes virtual router having ip address and DHCP settings. Now i want to use this wifi dongle as like long code or sms gateway.Also this modem is working on browser so it dont have port for communication to pc. How i can do this i.e. take sms which is stored in device local memory not on cloud and send it to clients. I cant use AT commands for read/write sms coz AT commodes only work when we have port number...pls suggest if any idea...is it possible?? I want implement this feature asp.net MVC5
Thanks in advance

P2P network on windows phone 7.1

I am trying to connect two windows phone emulators without router to form p2p network, is there any solution to connect them with access point without router and internet. and can be a possibility of using IP address of emulator.
answer plz
To the best of my knowledge no it is not possible in Mango - but is in WP8. You could however use a wireless network to perform create a UDP multicast socket and and then "connect" to one another that way.
Have a look at http://blogs.msdn.com/b/davrous/archive/2010/03/29/windows-phone-7-platformer-starter-kit-for-xna-studio-4-0.aspx it's got some pretty good pointers.

How to montor WP7 HTTP traffic when connected via USB cable

Im using Fiddler2 to monitor HTTP traffic from a Windows Phone 7 app, by proxying the phone's wifi connection to the PC running Fiddler2. Works like a charm. However, this only works when the phone is not connected via the USB cable. Obviously this is not acceptable as you can't debug the phone app this way.
How do you achieve the same with the phone connected via the USB cable?
Thanks.
The Windows Phone team decided to host their debug bridge on port 8888, stealing all traffic that was intended to be sent to Fiddler.
You can fix this in Fiddler by clicking Tools > Fiddler Options > Connections to move Fiddler to a different port (e.g. 8887).
See also https://groups.google.com/forum/#!topic/httpfiddler/-Ja4L_tezOc

How to ping in Windows Phone?

I have a project based on windows Phone 7.5, which contains a module to ping remote devices (in the same subnet or internet). I tried to perform an echo request and reply on port 7. but reply does not comes back, rather, an NullReferenceException occurs when I try to access SocketAsyncEventArgs.Buffer. I also tried creating ICMP type packets in app, but no luck.
As far as my understanding goes, icmp packets are not allowed to perform ping. however, from desktop, the phone can be pinged if ip address of phone is known.
I have checked many applications on marketplace (like Console WP7 Lite, TestMyNet), those can perform ping by sending icmp packets and can also access Round trip time of ping operation.
I am wondering how those applications can ping to remote (accessible) devices, when windows phone sockets does not allow icmp packets.
Can anyone help me.
Thanx for help in advance
Are you sure these apps can ping local network? For example can they ping WP Wifi interface's gateway or the WP Wifi interface itself? Or can the only ping hosts on Internet? I tried both apps mentioned by you, and even more and they ping everything except local network. That is why i was convincend that they use external server to perform pings and roound-trip is only calculated or estimated somehow.
Piotr Wojtowicz

UDPAnySourceMulticastClient works only in Wi-fi?

I am developing an application in which device discovery in a network is required. I am using UDPAnySourceMulticastClient in windows phone 7 for discovering desktop clients. Whenever I connect desktop to a D-link or wi-fi connector, I am able to discover desktop in my wp7.
But my problem arises when I connect desktop through ethernet to some network and connect wp7 to the same network that desktop is using I am not able to discover desktops(Even though I am sending message to the group). Is it UDPAnySourceMulticastClient works only if both are connected through wi-fi network?
Thanks in advance
UDP multicast is dependent upon the hardware used to make the network (routers, etc.) to rebroadcast the message to all other clients. While more complex scenarios are possible, it's unusual for multicast to be enabled for anything other than communications connected to the same wireless hub.

Resources