Hi Pintu,

On 8.06.2017 17:54, PINTU KUMAR wrote:
Dear Dev list,

Now we could able to make both BT and Wi-Fi server working on Raspberry Pi 2
(with Tizen 3.0 common profile).
Now we could able to communicate with Tizen mobile app client using both BT &
Wi-Fi.
For BT we have used HC 05 module on raspberry pi.
Now our robot could able to respond to our commands (from Tizen mobile) and take
some action.

The server code is written using normal C & Linux which can work on any Linux
based system.
We think that this code can be helpful for others who wants to experiment and
derive more use cases.
These code can be used as a base code and for reference.
The server code is build using the GBS package and it can generate rpm which can
be installed on raspberry pi.

Please let us know how to contribute this base code to Tizen open source repo,
under review.tizen.org.

Please have a look at the documentation and follow the steps as described here:
https://source.tizen.org/documentation/developer-guide/getting-started-guide/contributing-code-tizen

A couple of years Phil Coval did a talk at Tizen Developer Conference and a webinar to show the development process and the upstream contributions work flow:
https://developer.tizen.org/development/articles/contributing-tizen-community

Last but not least, if you want to contribute to "Tizen on Yocto" read the article in Tizen wiki:
https://wiki.tizen.org/wiki/How_to_contribute_to_Tizen_on_Yocto_Project

Best regards,
Leon



Thanks,
Pintu


-----Original Message-----
From: PINTU KUMAR [mailto:pint...@samsung.com]
Sent: Tuesday, June 06, 2017 8:47 PM
To: 'Carsten Haitzler (The Rasterman)'
Cc: 'dev@lists.tizen.org'; 'akshit...@partner.samsung.com';
'vivek....@partner.samsung.com'; 'pravi...@samsung.com';
himansh...@samsung.com
Subject: RE: [Dev] FW: Tizen 3.0 common wifi socket client-server
communication
Hi,

the wifi api's would only be for configuring the wifi
device/setup/connection
details.
you still would use regular sockets anyway to send/receive data.
Thanks all. Yes we could able to communicate, send/receive data between Tizen
mobile app 2.4 and Raspberry pi 2 (with tizen 3.0 common profile).
On Tizen mobile side - we used Tizen wifi API for connection, and regular
Linux
socket send/receive API.
On Raspberry pi: we only used regular Linux socket APIs We could able to
create
many use cases using this communication, with some external hardware
connections.

After we complete and verify all our use cases, we will be contributing the
Tizen App
on Tizen store.
However, we also want to contribute the server part under Tizen 3.0 common
profile (or other repo).
Please let us know how to contribute our code to: review.tizen.org I already
have
access to view these repo, but not sure where to put it.
Please let me know how to upload.

Thanks,
Pintu

-----Original Message-----
From: Carsten Haitzler (The Rasterman) [mailto:ti...@rasterman.com]
Sent: Friday, May 26, 2017 7:29 AM
To: PINTU KUMAR
Cc: dev@lists.tizen.org; akshit...@partner.samsung.com;
vivek....@partner.samsung.com; pravi...@samsung.com
Subject: Re: [Dev] FW: Tizen 3.0 common wifi socket client-server
communication

On Thu, 25 May 2017 14:47:02 +0530 "PINTU KUMAR" <pint...@samsung.com>
said:

** On behalf of Akshit & Vivek **



Hello Tizen Dev team,

I have 2 college interns in my team. They are trying to build wifi
client/server based socket communication using Tizen API, to
communication between 2 devices.

One device contains Tizen 3.0 common (headless).

Another device is Z2 with Tizen 2.4

They were able to achieve this using normal TCP Linux socket APIs.

But, they want to develop a Tizen App (using Tizen studio) on Z2,
using the Tizen wifi Native APIs.

We could not the proper Wi-Fi API for send/receive data between 2 devices.

If there is any reference or sample source code please let us know.
the wifi api's would only be for configuring the wifi
device/setup/connection
details.
you still would use regular sockets anyway to send/receive data.

you can use ecore_con or ecore_ipc (a layer on top of ecore_con that
ensures full ipc message packet delivery for you).

https://developer.tizen.org/development/api-references/native-
application?redirect=https://developer.tizen.org/dev-
guide/3.0.0/org.tizen.native.mobile.apireference/group__Ecore__Con__Gr
oup.html

https://developer.tizen.org/development/api-references/native-
application?redirect=https://developer.tizen.org/dev-
guide/3.0.0/org.tizen.native.mobile.apireference/group__Ecore__IPC__Gr
oup.html

this will integrate into the mainloop and make communications async.
it also will handle optional ssl transport encryption for you (so you
don't have to do that by hand with regular unix/bsd sockets). it'll
also handle async dns lookups for you. they both allow you to set up
servers and clients 9connect to a server). but these are just like
your sockets code - they dont determine the connection mechanism (wifi,
3g/gsm/lte, bt net, usbnet, ethernet etc.).



Thanks



From: Akshit Gandhi [mailto:akshit...@partner.samsung.com]
Sent: Thursday, May 25, 2017 12:22 PM
To: PINTU AGARWAL
Subject: [Dev] Tizen 3.0 common wifi socket client-server
communication



Hello Everyone,

Can anyone give me some guide/reference for making a tizen app
(client
+server) using WiFi sockets as a communication method. I have done
+it using
Linux API's but now I want to do it with Tizen Native API's.
















--
Carsten Haitzler (The Rasterman) <ti...@rasterman.com>

_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

--
Leon Anavi
Software Engineer
konsulko.com

_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to