Languages

Menu
Sites
Language
Gear S2 does not receive Push Message - when Bluetooth connected with Phone

Hello! I am developing Tizen app for Gear S2.

 

1. My app have to receive Push message from Tizen Push server. (Not GCM)
This app can not receive Push Message, When Gear S2 is Bluetooth connected with Phone .
When Bluetooth off and Wifi on, my app receive Push message from Tizen Push server.

 

Gear S2's firmware is last version.
I initialized it in setup.(Full Initialize)
And also Gear Manager in Phone is last version.

 

How can I solve this problum? 

 

2. This is information of Gear Manager, Gear S2, Phone.
 - Gear manager Version : 
   = Samsung Gear : 2.2.16051141
   = Gear Plugin : 2.2.03.16033141

 

 - Phone Information
  = Model Number : SM-N910s (Galaxy Note4)
  = Android Version : 6.0.1
 

 - Gear S2 Information
  = SM-R720 (Gear S2)
  = Firmware Vertion : R720XXU2CPC5

 

 - Samsung PUSH Servie App : 
  = Version : 1.6.00
  = Date : 2016. 04. 07.

 

3. When Bluetooth Off, Wifi On state.
 - Eclipse Log > Tag > PUSHD result is below.

06-13 09:51:11.524 : ERROR / PUSHD ( 940 : 940 ) : spp.c: _receiving_from_app_cb(1951) > async connection callback ch 0x43f19170: HUP
06-13 09:51:45.459 : ERROR / PUSHD ( 940 : 940 ) : db.c: _db_qp_info_get_with_query(1149) > sqlite3_step error
06-13 09:51:45.479 : ERROR / PUSHD ( 940 : 940 ) : db.c: _db_notification_get_with_query(760) > sqlite3_step error

 

4. When Bluetooth On state.
 - Eclipse Log > Tag > PUSHD result is below.
 
06-13 10:02:21.030 : ERROR / PUSHD ( 940 : 940 ) : util.c: spp_strdup(106) > invalid parameter, Null pointer.
06-13 10:02:21.285 : ERROR / PUSHD ( 940 : 940 ) : polling.c: _vconf_spp_timestamp_cb(647) > epoch[1465779741]
06-13 10:02:21.285 : WARN / PUSHD ( 940 : 940 ) : polling.c: _vconf_spp_timestamp_cb(655) > Trigger polling
06-13 10:02:21.285 : WARN / PUSHD ( 940 : 940 ) : spp.c: _transit_state(2981) > 
06-13 10:02:21.285 : WARN / PUSHD ( 940 : 940 ) : State transition: [NETWORK_OPEN]-> [NETWORK_OPEN]
06-13 10:02:21.310 : ERROR / PUSHD ( 940 : 940 ) : spp.c: _when_st_nopen_begins(2554) > No need to polling
06-13 10:02:21.310 : WARN / PUSHD ( 940 : 940 ) : spp.c: _transit_state(2989) > State [NETWORK_OPEN] : waiting...

 

Edited by: Dong-Geun Jung on 15 Jun, 2016

Responses

3 Replies
Mehedi Alamgir

Hi

To connect to the Tizen push server and receive notifications from it, the target device or emulator must be able to contact an IP address. 

Now I suggest you to check  the following issues-
1.    Firstly Check if your Phone set is properly connected with Wi-Fi or NOT .
2.    Then Turn your  Bluetooth ON and  Check whether Internet connection is OK or NOT. If possible from another network based sample app.
3.    If  your Wi-Fi  connection is not ok, Now try to use internet from other source (Mobile Operator ).
4.    If your Internet connection is OK, then Make sure you added  all necessary privileges in your  application’s tizen-manifest.xml file.

Dong-Geun Jung

Thank for your kind answer.

1.    Firstly Check if your Phone set is properly connected with Wi-Fi or NOT .
 => Phone is connected with mobile network, Wifi is not connected.


2.    Then Turn your  Bluetooth ON and  Check whether Internet connection is OK or NOT. If possible from another network based sample app.
 => When Bluetooth is connected, Gear S2 can use internet. I tested by made sample app using Http connection.


3.    If  your Wi-Fi  connection is not ok, Now try to use internet from other source (Mobile Operator ).
 => Gear S2 can use internet.


4.    If your Internet connection is OK, then Make sure you added  all necessary privileges in your  application’s tizen-manifest.xml file.
 => I added all privileges in my app's tizen-manifest.xml file. But the result was same. I think the reason is not in App.

 

 

Joohwan Kim

It seems that Gear Manager fails to register with GCM. Can you capture a log on both Gear and Gear Manager when 

doing the following steps?

 

1) Connect Gear to the phose through BT

2) Make another app that has the push privlege but have a different pkg ID

3) Install that app to Gear

4) Run that app on Gear (App should request push registration)

 

when you capture the log, please use Tizen SDK for gear log and use Android logcat for Gear Manager.

Sincerely,