ktanders1 / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Will not send over cell network #256

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Turn off wifi
2.select to send over cellular network
3.Press send test message

What is the expected output? What do you see instead?
Expect to see test message, nothing happend

Please paste the application's log here (it should now be on your
clipboard):

D/RemoteNotifier( 5565): Sending notification: 
v2/22a0000024561681/4856ee1af5e6e/PING//Test notification
D/RemoteNotifier( 5565): Enabling wifi and delaying notification
D/WifiService( 2229): acquireWifiLockLocked: 
WifiLock{org.damazio.notifier.WifiEnable type=1 
binder=android.os.BinderProxy@47c4e430}
I/WifiService( 2229): handleMessage: MESSAGE_DISABLE_WIFI
E/WifiService( 2229): setWifiEnabled: enable - true
I/WifiService( 2229): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiHW  ( 2229): [WIFI] Load Driver
I/WifiHW  ( 2229): [WiFi.c] insmod() Start!! 
I/WifiHW  ( 2229): [WiFi.c] start init_module() Start!! 
I/WifiHW  ( 2229): [WIFI] DRIVER OK
I/WifiHW  ( 2229): wifi_start_supplicant: Enter
D/WifiHW  ( 2229): /data/wifi/bcm_supp.conf exits
E/WifiHW  ( 2229): wifi_start_supplicant: pi->serial=117440534, serial=0
I/WifiHW  ( 2229): wifi_start_supplicant: Exit. supp_status=running
D/WifiService( 2229): ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiHW  ( 2229): wifi_connect_to_supplicant: enter
I/WifiHW  ( 2229): wifi_connect_to_supplicant: supp_conn_status(transit)
E/WifiHW  ( 2229): wifi_connect_to_supplicant:IFACE_DIR(/data/misc/wifi), 
iface(eth0), ifname(/data/misc/wifi/eth0)
E/WifiHW  ( 2229): wifi_connect_to_supplicant: ifname(/data/misc/wifi/eth0)
E/WifiHW  ( 2229): wifi_connect_to_supplicant:ctrl_conn is NULL!! 
D/WifiService( 2229): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47b62b48}
I/WifiService( 2229): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2229): handleMessage: MESSAGE_START_WIFI
E/WifiHW  ( 2229): wifi_connect_to_supplicant: ctrl_conn(0x7fe650)
I/WifiHW  ( 2229): wifi_connect_to_supplicant: Exit(supplicant is connected!)
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
V/WifiStateTracker( 2229): Connection to supplicant established, state=SCANNING
I/WifiMonitor( 2229): Event [ SCAN-RESULTS ]
I/WifiMonitor( 2229): Event [Trying to associate with 00:1e:c2:f5:ba:d5 
(SSID='Niko's Network' freq=2412 MHz)]
I/WifiMonitor( 2229): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2229): Changing supplicant state: SCANNING ==> ASSOCIATING
I/WifiMonitor( 2229): Event [CTRL-EVENT-STATE-CHANGE id=0 state=4]
V/WifiStateTracker( 2229): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
I/WifiMonitor( 2229): Event [Associated with 00:1e:c2:f5:ba:d5]
I/WifiMonitor( 2229): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5]
V/WifiStateTracker( 2229): Changing supplicant state: ASSOCIATED ==> 
FOUR_WAY_HANDSHAKE
I/WifiMonitor( 2229): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5]
V/WifiStateTracker( 2229): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> 
FOUR_WAY_HANDSHAKE
I/WifiMonitor( 2229): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6]
V/WifiStateTracker( 2229): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> 
GROUP_HANDSHAKE
I/WifiMonitor( 2229): Event [WPA: Key negotiation completed with 
00:1e:c2:f5:ba:d5 [PTK=CCMP GTK=TKIP]]
I/WifiMonitor( 2229): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7]
V/WifiStateTracker( 2229): Changing supplicant state: GROUP_HANDSHAKE ==> 
COMPLETED
I/WifiMonitor( 2229): Event [CTRL-EVENT-CONNECTED - Connection to 
00:1e:c2:f5:ba:d5 completed (auth) [id=0 id_str=]]
V/WifiStateTracker( 2229): New network state is CONNECTED
V/WifiStateTracker( 2229): mWakeLock.acquired
D/WifiStateTracker( 2229): DhcpHandler: DHCP request started
V/WifiStateTracker( 2229): DhcpHandler: DHCP request succeeded
V/WifiStateTracker( 2229): mWakeLock.released
V/WifiStateTracker( 2229): IP configuration: ipaddr 10.0.1.24 gateway 10.0.1.1 
netmask 255.255.255.0 dns1 10.0.1.1 dns2 0.0.0.0 DHCP server 10.0.1.1 lease 
86400 seconds
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
D/WifiWatchdogService( 2229): (android.server.ServerThread) Niko's Network 
(00:1e:c2:f5:ba:d5) does not require the watchdog
D/RemoteNotifier( 5565): Method wifi connected, sending delayed notification 
after 3505ms
D/RemoteNotifier( 5565): Sending wifi notification to IP 255.255.255.255
I/RemoteNotifier( 5565): Sent notification over WiFi.
D/WifiService( 2229): releaseWifiLockLocked: 
WifiLock{org.damazio.notifier.WifiEnable type=1 
binder=android.os.BinderProxy@47c4e430}
E/WifiService( 2229): setWifiEnabled: enable - false
I/WifiService( 2229): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2229): handleMessage: MESSAGE_START_WIFI
I/WifiService( 2229): handleMessage: MESSAGE_DISABLE_WIFI
I/WifiHW  ( 2229): wifi_stop_supplicant: Enter
I/WifiHW  ( 2229): wifi_stop_supplicant: connecting supplicant is done
I/WifiHW  ( 2229): wifi_stop_supplicant: status of  supplicant(connected), 
count(49) 
I/WifiMonitor( 2229): Event [CTRL-EVENT-TERMINATING - signal 15 received]
V/WifiStateTracker( 2229): Connection to supplicant lost
I/WifiHW  ( 2229): wifi_close_supplicant_connection: enter
I/WifiHW  ( 2229): wifi_close_supplicant_connection: exit
I/PhoneStateReceiver( 2663): Intent { act=android.net.conn.CONNECTIVITY_CHANGE 
cmp=com.loadedbanana.android.youmail/.receiver.PhoneStateReceiver (has extras) }
I/PhoneStateReceiver( 2663): Extra 'networkInfo' = NetworkInfo: type: WIFI[], 
state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), 
roaming: false, failover: false, isAvailable: false
I/PhoneStateReceiver( 2663): Extra 'noConnectivity' = false
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
I/PhoneStateReceiver( 2663): Intent { act=android.net.conn.CONNECTIVITY_CHANGE 
cmp=com.loadedbanana.android.youmail/.receiver.PhoneStateReceiver (has extras) }
I/PhoneStateReceiver( 2663): Extra 'networkInfo' = NetworkInfo: type: WIFI[], 
state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), 
roaming: false, failover: false, isAvailable: false
I/PhoneStateReceiver( 2663): Extra 'otherNetwork' = NetworkInfo: type: 
MOBILE[CDMA - EvDo rev. A], state: CONNECTED/CONNECTED, reason: dataEnabled, 
extra: Verizon, roaming: false, failover: false, isAvailable: true
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
I/PhoneStateReceiver( 2663): Intent { act=android.net.conn.CONNECTIVITY_CHANGE 
cmp=com.loadedbanana.android.youmail/.receiver.PhoneStateReceiver (has extras) }
I/PhoneStateReceiver( 2663): Extra 'isFailover' = true
I/PhoneStateReceiver( 2663): Extra 'extraInfo' = Verizon
I/PhoneStateReceiver( 2663): Extra 'networkInfo' = NetworkInfo: type: 
MOBILE[CDMA - EvDo rev. A], state: CONNECTED/CONNECTED, reason: dataEnabled, 
extra: Verizon, roaming: false, failover: false, isAvailable: true
I/PhoneStateReceiver( 2663): Extra 'reason' = dataEnabled
I/PhoneStateReceiver( 2663): Extra 'noConnectivity' = false
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
I/WifiHW  ( 2229): wifi_stop_supplicant: exit normally
D/PhoneApp( 2280): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
D/PhoneApp( 2280): - state: DISCONNECTED
D/PhoneApp( 2280): - reason: dataDisabled
D/PhoneApp( 2280): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
D/PhoneApp( 2280): - state: CONNECTING
D/PhoneApp( 2280): - reason: dataDisabled
I/PhoneStateReceiver( 2663): Intent { act=android.net.conn.CONNECTIVITY_CHANGE 
cmp=com.loadedbanana.android.youmail/.receiver.PhoneStateReceiver (has extras) }
I/PhoneStateReceiver( 2663): Extra 'networkInfo' = NetworkInfo: type: 
MOBILE[CDMA - EvDo rev. A], state: DISCONNECTED/DISCONNECTED, reason: 
dataDisabled, extra: Verizon, roaming: false, failover: false, isAvailable: 
false
I/PhoneStateReceiver( 2663): Extra 'reason' = dataDisabled
I/PhoneStateReceiver( 2663): Extra 'extraInfo' = Verizon
I/PhoneStateReceiver( 2663): Extra 'otherNetwork' = NetworkInfo: type: WIFI[], 
state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), 
roaming: false, failover: false, isAvailable: false
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
E/WifiStateTracker( 2229): dhcp.eth0.ipaddress:10.0.1.24
I/WifiHW  ( 2229): wifi_unload_driver: enter
E/WifiHW  ( 2229): [WIFI] Unload Driver
I/WifiHW  ( 2229): wifi_unload_driver: exit
D/WifiService( 2229): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47b62b48}
I/WifiService( 2229): handleMessage: MESSAGE_DISABLE_WIFI
D/PhoneApp( 2280): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
D/PhoneApp( 2280): - state: DISCONNECTED
D/PhoneApp( 2280): - reason: dataDisabled
D/PhoneApp( 2280): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
D/PhoneApp( 2280): - state: CONNECTING
D/PhoneApp( 2280): - reason: dataDisabled
I/PhoneStateReceiver( 2663): Intent { act=android.net.conn.CONNEC
What version of Android are you using?

Original issue reported on code.google.com by mail4vau...@gmail.com on 23 Oct 2010 at 6:07

GoogleCodeExporter commented 9 years ago
What is the target IP address to which you're trying to send? 'cause it appears 
to be the global broadcast, which wouldn't work (and in fact you shouldn't even 
be able to set it).

Original comment by rdamazio@gmail.com on 26 Oct 2010 at 4:29