Get the phone number SIM Imel with C#? - c#-2.0

I suppose have got wavecome M1206B modem device connected to the computer is complete, if get the phone number SIM Imel successfully returned number SIM Imel, Status and the error Flag ?

Related

Offline Message

I have been thinking about this for a while. We know some games can be played through hotspots. While playing the games we can even send message. An example is the Doodle army mini militia. I was thinking of building an app where only my friends can send messages at a short distance if they are connected to the hotspot.
I did an experiment today. I set up a hotspot. I connected two phones to the same hotspot with the internet. (three phones. one phone only to open the hotspot. The other two just to connect to the hotspot) So, now I tried to send a message to the other phone through what's app. I sent the message through the second phone to the third phone. The message was successfully sent to the third phone. We knew this would work. It is a very simple process. Now my question is below.
When I disconnected the data connection on the first phone. Remember the hotspot is still on. The only thing is that there is no internet. Now I sent a message again from the second phone to the third phone. This time the message did not go through. I knew the message would not go through. The question is why does there have to be a proper data connection with the internet for the message to go through? Well, there is already a connection where phones have the path to send the message. We also know some games can send messages while connected to hotspots without the internet.
No, your assumption regarding sending of messages through Whatsapp is completely wrong.
When you send a message from one device to another device, the message is first send to Whatsapp Databases. It will be stored there unless the device which you've sent to has got an internet connection (There's a limit for the storage on database, like 1 year or something.)
The thing is that Whatsapp is not connecting devices directly, they are being connected together under Whatsapp , Whatsapp is the Intermediate in the Process of messaging.

Unable to join Wifi for the first time using NEHotSpotConfiguration

My iOS app needs to connect to an IOT device Wi-Fi, which does not have internet access.
iOS app already knows the ssid password of the iOT device Wi-Fi.
So I tried connecting to IOT device Wi-Fi using [NEHotspotConfigurationManager applyConfiguration] API.
The issue is that my app fails to join IOT device Wi-Fi in the first attempt. It connects on second attempt.
I have verified that IOT wifi was enabled and availble in Wi-Fi list in Settings > Wi-Fi
In code, error in applyConfiguration callback is nil, indicating success, so I check for connected Wi-FI SSID using CNCopyCurrentNetworkInfo
As SSID is different (other network) from my IOT device Wi-Fi SSID, it implies that iPhone is still connected to previosly connected Wi-Fi.
At around the same point, iOS shows the system dialog "Unable to connect to Wifi".
I checked for error in system logs while attempting connection, and found that the "wifid" process logs
"__WiFiDeviceManagerForcedAssociationCallback: failed to association error 2" for com.apple.SystemConfiguration subsystem
I tried this couple of times, and got this error in console logs everytime connection attempt failed.
App is able to connect on subsequent attempts.
I m doing this, too.
It seems like certificate problem.
Check this.
The [NEHotspotConfigurationManager applyConfiguration] API does not give a callback but the error. You might try to ping the server repeatedly for a certain timeout. Only if the ping is successful, is the wifi connected. Do you know the ip address of the IOT device?

Retrieve previously connected device from another phone - BLE swift

I need functionality like user is pairing to an device. And he/she should be able to retrieve that device from any iOS mobile device. i.e., without connecting.
So I have saved the id which is getting at the time of connection success and saves the same in server.
But when user is trying to login from another device, the retrievePeripherals is returning null array. Because the id was device specific.
Edit
As Paulw said in comments its great to make connection in background. So is there any way to know any details about my previously connected BLE device from this saved identifier.
Like
During first connection :
phone uuid + device characteristics = identifier // + refers to some internal operations done by OS
So in reverse can I do
identifier - phone uuid = device characteristics

Bluetooth identifier on iOS

See the image above. I am pairing my iOS app from iphone1 to a single Bluetooth device, say BT1, which is further inter-connected with other similar bluetooth devices via Bluetooth Mesh. As soon as I connect with BT1, I get a uuid1 for the connection.
Now, I need to uniquely identify the paired device uuid. This is essential as I would like to transfer my phone app settings to another iPhone, say iPhone2, via cloud, so that any phone can connect to the original paired BT device. But when I try to pair iPhone2 to Device1, I get a different uuid2 for Device1, because of which, I cannot match it with the uuid1. So if uuid1 = uuid2, then the cloud will send me the original settings.
Question -
1. is it technically possible to ensure that a bluetooth device shares the same uuid to all its client?
2. If #1 is no, is there an alternative?
Thanks in adv.

Peer to peer message relay using Multipeer Connectivity

I am creating an application that uses the Multipeer Connectivity framework provided by iOS 7.
I was able to successfully transmit messages from devices connected over only bluetooth in a network with messages but what I need to do is to relay a message over .
Say for example Device A,Device B and Device C are connected with each other over Bluetooth while Device A moves away to a distance where it can only see Device B in range but not Device C and wants to send a message over?
I have written the code for message relay which successfully sends message from Device A to Device C via device B but right now it is only happening when all 3 devices are connected in the network,when device A moves away it completely loses B and C from range. I am unable to create a network where A is connected to B while B is connected to C and A and B are not connected. So Unable to test the code properly.Any inputs would be appreciated.

Resources