unable to connect smartphone and PCAN wireless gateway

CAN to WLAN Gateways in a plastic housing with a flange
Post Reply
flavien
Posts: 1
Joined: Fri 2. Oct 2020, 10:02

unable to connect smartphone and PCAN wireless gateway

Post by flavien » Fri 2. Oct 2020, 10:27

Hello,

I have a PCAN-wireless Gateway, when i send CAN Frame between the Virtual PCAN-Gateway (on windows 10 PC) and the PCAN wireless Gateway, all work as expected.

But my needed is to send CAN Frame from a smartphone (android device) by WIFI.
When I try this, no Frame is transmit by the PCAN-wireless Gateway and the status of route indicates " Warning! the route is active but not connected with the remote site."
How can I solved this issue ?

Thank you in advance for your help.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: unable to connect smartphone and PCAN wireless gateway

Post by M.Heidemann » Fri 2. Oct 2020, 10:41

Hello,

We do not offer any out-of-the-box android solution to do this.

Which application do you try to use on your android device?

In this case you would need to develop your own android application, which
communicates with the PCAN-Wireless Gateway using sockets.

This is also described in the PCAN-Gateway Developer documentation chapter 1.3 "Communication between Gateway and PC via Sockets":

https://www.peak-system.com/produktcd/P ... on_eng.pdf

Furthermore you have to do some configuration to your PCAN-Wireless Gateway, such as deactivating the handshake and create the appropiate routes.

The application also needs to adhere to our IP-frame structure described in chapter 1.3.2 "Structure of the Transmitted CAN Data in the IP Frame" in order for the communication to work.

We do offer application examples in C and C# which demonstrate how such an application can be implemented (You contact us via email - support[at]peak-system.com)

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply